Keyguard: Use translucent UI

Change-Id: I31a48ec17b2a39e431bf9d8f1ce8f9c731fb2f2d
QuickSettings: Invert long click and click actions

Change-Id: I49acc7d3c473debd33b2491f4dde15d185f59c52

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
QS: Add loading when toggling state, and longpress brightness

Change-Id: Ifa133e15259b45da4c625ce47b3f12209bcd1b94

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
QS: Add flippable tiles

This commit adds support for tiles that can be flipped to reveal
more information, as well as a two flippable tiles:
 - A Wi-Fi back tile displaying the current IP address in case
   you're connected to a Wi-Fi network. Tapping the back of the
   tile opens the tethering settings, if supported.
 - A Bluetooth back tile displaying the number of paired devices,
   and tapping it toggles discoverability.

This commit also moves the loading spinner to the BasicTile, as
it is only supported in basic_tile layout.

Change-Id: Ic08b08a97c3dd999b1915c7bb108c850a2cbcd9b

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsBasicTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
Navigation Bar: Toggle last app on recents button long press

Change-Id: I1e6d6255494991b440f3cf5854a7edad7fee2c1b

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Merge "Keyguard: Use translucent UI" into android-4.4

Change-Id: I5f579111312cba7db18304103a2bda934b5e04af
Settings: add HEADSET_CONNECT_PLAYER key

Change-Id: I1250d44fdde7f6d508ac6e49c4c6bb85c9f66233
Settings: Add Blacklist storage

Change-Id: I963d8322bc5af3313cf960a0343163382f8d125b
fixed typo in RIL_UNSOL_CDMA_PRL_CHANGED constant.

Change-Id: I91f965793ba578f3becae4dd38680db363b92cca
base: QCOM's revenge

Based on Based on CAF kk_2.7_rb1.9

Change-Id: I3af645c662d2093ceb7df160484d2f0de9a33146
Merge changes I91f96579,I963d8322 into android-4.4

* changes:
  fixed typo in RIL_UNSOL_CDMA_PRL_CHANGED constant.
  Settings: Add Blacklist storage
Add support for Samsung extended AGPS

The AGPS implementation in the GPS chipset used in some Samsung devices
(i9100, i9300) can make use of the Psc field. Adapt the relevant
functions hiding the changes incompatible with other devices under the
AGPS_USE_PSC #define.

Credit to Qaweck from xda-developers forum for finding the meaning
of the field.

Change-Id: Ie4691c79ca379a1f5c0a87500c1b06b56ae7ac0d
[1/2] base: volume panel styles and tweaks

From CM - Support different styles of the volume dialog
allows expanding the dialog to show all adjustable volumes

New setting MODE_VOLUME_OVERLAY defines the style
0 = unchanged - single slider
1 = expandable - button beside to slider to expand - this is the default
2 = expanded - open already expanded

This also adds using setting VOLUME_LINK_NOTIFICATION
to allow adjusting the separation of notification and ringer volumes
default=1

This also already adds the new setting
VOLUME_ADJUST_SOUNDS_ENABLED default=1
to allow disabling the volume adjust sound

PS2:
the usual whitespace cleanup :)

PS3:
change commit message

PS4:
added missing change for VOLUME_LINK_NOTIFICATION in AudioService

PS5:
nitpicks are good :)

Conflicts:
	core/java/android/provider/Settings.java
	media/java/android/media/AudioService.java

Change-Id: I94e0f944f76ee9751663de8ac40d99a342884259
Merge "[1/2] base: volume panel styles and tweaks" into android-4.4
base: Add a key combo to start/stop video recording

Press volume up and power to start recording a video of your screen.
Press this key combo again to stop it.

Change-Id: Id0b13ba1092a1d6e0bf7bff5f14d89764cdf370c
[2/2] Add support for custom LED colors notification

Originally from dvtonder (CyanogenMod)

Conflicts:
	core/res/res/values/custom_arrays.xml
	core/res/res/values/symbols.xml
	services/java/com/android/server/BatteryService.java

Change-Id: Iab519a757220c444f166b8a05246c7ca71b897d8
[1/4] framework: custom brightness support

    Adds separate handling of button brightness for devices
    that supports it. Enabled with config_button_brightness_support
    else the behaviour will be the same as before

    Also if enabled but no custom values are set will fallback
    to the previous behaviour

    This also needs support of setting button brightness separately
    in liblights code of the device.

    Options:
    -brightness spline for buttons in automatic mode
    -custom brightness value for buttons in manual mode
    -options to competely disable buttons in both modes
    -option to always fallback to same value as screen brightness

    This also brings in:
    -support for custom responsivness value for automatic mode
    -custom twilight support enablement

Change-Id: I79cc8cf3a9b488b857929f327cb67a770ec81916
[1/2] base: add CPU info overlay

this shows
CPU temp (if available)
for every core governor + online + freq

PS3:
increased font size

PS4:
whitespace cleanup

PS5:
more of that :(

Change-Id: I8e2fd81edd8499eea2b1a6de8c042938387b33ef
Merge "base: Add a key combo to start/stop video recording" into android-4.4
Merge changes I79cc8cf3,Iab519a75 into android-4.4

* changes:
  [1/4] framework: custom brightness support
  [2/2] Add support for custom LED colors notification