framework/base: Add EdgeGesture service.

Based on code of PieService.

Change-Id: I053737e36340a5ec6814b21eb87575f9689c7e88
PhoneWindowManager: add ability to use EdgeGestureService for system gestures.

Change-Id: Id4e2c0d82f771cd1c20e9196fb6db347494cca69
Settings: Add CM PlatLogo & CMCaseView (1/2)

* Based on Danesh M commit from 10.1
* Always use "K" letter for android version easter egg since
  some devices override BUILD_ID and the letter "J" appears instead of "K"
* Add some padding (left & right) to the PlatLogo if the width of the
  PlatLogo is bigger tham the actual device width
* Added CM mascot drawables

ToDo:
* Make DessertCaseDreamSettings work

Screenshot:
http://goo.gl/Q9q0kR

Change-Id: I04f7728248854623b364cf54d2e48f461e84b3de
Forward port Status Bar interface (1/2)

Signal / Clock / Notification Count
Change-Id: Iecd4bb06b95b14888916331f5d36327f3206aeef

Port "Fix display of mobile status bar icon when using airplane mode"
Change-Id: Icb5b33008f97eaefd67bb4e5acd1e38bcf2dcb70

Forward port from cm-10.2, adjusted for 4.4

Change-Id: Iecd4bb06b95b14888916331f5d36327f3206aeef
Keyguard: smooth background change.

Change-Id: Ia0e4d0000db72b5cdb6fede03791805e34fa311d
Show panels on lockscreen in expanded desktop mode.

Change-Id: Iaa2d712130707169c7a08156f8ea5afc247fc4cf
Allow disabling the privacy guard notification

Change-Id: I060139f75edb63572f9c3922e56ee871e765c02a
p2p: Display P2P peer MAC address if device name is empty.

Display MAC address of a P2P peer in an invitation prompt
message on receiving invitation request from the P2P peer
with empty device name.

Change-Id: Icabeb91d666437746eb5a733ec582849eb7295a5
CRs-Fixed: 506109
Fix multi-user issues.

Change-Id: I44d190f60e87326ab3282c898d94ecc88778f2ab
frameworks/base: Day and week on data usage (1/2)

Adds the ability to set day and week on when the data usage
graph resets, instead of just month.

Change-Id: I61b0aa3bdea015793928e4af2b8d8a79147a123e
Fix charging indication.

This commit fixes a number of issues in the new battery drawing code:
- Use the BatteryTracker instances consistently
- Don't indicate charging (by displaying the bolt or the circle
  animation) if the device is connected to a charger, but not actually
  charging, e.g. because of the charger not providing a sufficient
  amount of current.
- Fix some style issues (variable naming)

Change-Id: I957c8c525310170a3d4480047fbf6e92533c0296
frameworks/base: remove some duplicate ringtones/notification sounds

PS2: Start mk file cleanup
PS3: Remove empty mk files
PS4: Remove more dupes and unused audio

Change-Id: I7a091218e41b3cf7eea9738d9ea569d9cb3ee91d
BluetoothManagerService: fix enabling/disabling BT from Quictsettings under second user,

Change-Id: I8173559b2c734968ef4a8d86fddaa3a73d5c2b1e
[WIP] LockScreen: allow long-press actions from hardware keys (1/2)

Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10
Change-Id: Iff32736d00ca5d4122f64a6a861bbb0a1de9cca9

Fix home/menu unlock with long press hardware key
- Forward port of commit 2a572ee
Change-Id: Ic2eb85542f8052fe1662244fe5e72ba12a98608b

Keyguard: Fix for home wake/unlock
sometimes device is waking and unlocking during the same keypress.
Change-Id: I72ea7611d39aac0cd03dfd5aa7036aeef7600140

Use sticky broadcast to convey torch state (1/2).
It doesn't really make sense to store the (non-persistent) state of the
torch in a (persistent) setting. As the torch is sending a broadcast
anyway, make that broadcast sticky and use it to convey the state.

Also unify the torch constants (actions, extras, activity names) at a
common place.
Change-Id: If845bef27cc79990794aa748dce18cfea3bac1f5

Fix Home/Menu/Back keys' unlock
Change-Id: Ibd3842b6ad8e037a2a9f8eb581e7c55900017b0f

LockScreen: allow hardware key longpress to put device to sleep
Change-Id: I54260e21c462bcabd9b6383e22f44d644630b4d3