Transparent icons (ParanoidAndroid/john's)

Change-Id: I03b6148c9335a329cbbae83ae834a0f376012b24

Conflicts:

	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_0.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_15.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_28.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_43.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_57.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_71.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_85.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim0.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim15.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim28.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim43.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim57.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim71.png

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Quicksettings: add favorite contact tile (2/2)

PS2+3: fix NPE
PS4: add observer to update contact on change

Change-Id: I08b8859fbef4f1ee71b3f6fb259afec3a3829199
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
SystemUI: fix inconsistent recents button behavior

Change-Id: I6065ae7ba9abb680a3abd64d77bce5292a17853e
Signed-off-by: Roman Birg <romanbirg@gmail.com>
gps: Add support for Qualcomm GPS hardware

 * This ABI is changed, but we aren't using the new features in MR1.
 * Add a little translation for the changed fields and methods.

Change-Id: Ieecc2235b42f64fc69d4651855f4e9edfe7d738d
Fix space/tab confusion.

Change-Id: Ib90fcc6573fefc178592d8bb16377c18501498b5
SystemUI: fix long pressing notifications

Stops the intent from firing off when long pressing
for the menu.

Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: fix quick toggles layout in landscape mode

Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: fix pulldown header for themes

Change-Id: I3607a146a2f44dc26c1d972708779c841ef7d8ae
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Themability of battery text type

This allows to themers to change color of text style of battery.

  Patch Set 2: Fix whitespace and pre-existing formatting issues.

Change-Id: Ib9a96672467d45c3723c5b1fa032aca8ebe9a08c
Signed-off-by: kecinzer <kecinzer@gmail.com>
SystemUI: nav bar menu keys as left and right dpad arrows

ps3: null check
ps4/5: more consistent implementation
	now properly hides on lockscreen if keyboard is
	still up. the arrow keys should also work with any
	navigation bar configuration that we support right
	now

Change-Id: Iba75e8f1b19f299a1b7ff607c33679d9788cd925
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
fix license header

Change-Id: I287ae3d20551ff47fc5be5f721af63913423b30d
Signed-off-by: Roman Birg <romanbirg@gmail.com>
QuickSettings: add holo dark/light theme chooser (1/2) - WIP

This will add the possibility to choose wether the tiles will
be shown in Holo dark or Holo light theme

It is the work of RoLa which I am finishing for him

Change-Id: I8b2c8a9fef021e802ff038837621eb67cd53881a
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Patchset Update - QuickSettings: add holo dark/light theme chooser (1/2) - WIP

This will add the possibility to choose wether the tiles will
be shown in Holo dark or Holo light theme
It is the work of RoLa which I am finishing for him
Change-Id: I8b2c8a9fef021e802ff038837621eb67cd53881a
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Smooth Spinners: Makes the loading "spinner" animation smoother in non-holo apps

The loading "spinner" animation is quite jerky by default when the progress xml's from
drawable are called in applications that don't use the holo progress animation. The holo
"spinner" animation is already smooth by default. This makes every other "spinner"
animation smooth.

We've been changing this value in all ROM's we release, both AOSP and CM based ones
as well as stock ROM's, since it gives a more polished look to the entire system. In the past
3 years we've been using this small tweak we have not noticed anything that would
adversely affect battery life or system operations as a whole.

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Framework: Screen Off Tile

Ain't nobody has time for Swagger. Sorry, adam. :P

Change-Id: I86af10f1145f77b0daf8657ca7a4d20873d9cadd

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Fix size of screen off tile.

Change-Id: Ide404c0773dc8f5b0cc4b803ed65eef17a178945
Signed-off-by: iceandfire <arhamjamal@gmail.com>
Camera : Powerkey shutter (1/2)

Allows user to take use power key to take pictures/videos

Change-Id: I85a1e1761199f4604672be42a3a5005227f5451a
SystemUI: refactor fast charge toggle

Device trees need to set a path to enable the toggle.
It will not show otherwise.

Moved all file operations off the main thread and use a
preference to save the last state so it persists.

	<!-- empty string to disable, or like: /sys/kernel/fast_charge/force_fast_charge
         it is disabled by default so devices need to add an overlay to enable-->
    <string name="config_fastChargePath" translatable="false"></string>

PS8: Lower delay to 250

Change-Id: Ib1465a98893ec8e7854c8b80f8352016ff6248ad
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:

	core/res/res/values/config.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Memory leak due to bad destroy sequence

During the destroy sequence, it happens that the mWebViewClassic was
set to null in the transferMessages function and consequently, the
call to WebCoreThreadWatchdog.unregisterWebView(mWebViewClassic) is
not really removing the view from the watchdog's list; creating a
memory leak.

picked from master branch https://android-review.googlesource.com/#/c/48087/

Change-Id: I2bae7c8d7c473e2af25e62a485699f88269d6658
Author: Jean-Christophe PINCE <jean-christophe.pince@intel.com>
Signed-off-by: Jean-Christophe PINCE <jean-christophe.pince@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 57869
SystemUI: don't add tint to app icons or custom images

Change-Id: Ie5a4e308f10d2045f33b1621eac7870712e5d11f
Signed-off-by: Roman Birg <romanbirg@gmail.com>