"Clear all" button on recent apps

Port forward from cm-10.2

Change-Id: I9ebcf22f85957f61caefb14e0efd4cf2978d92cd
Add touch feedback to the clear all recents button

5 minutes of Photoshop™.

Change-Id: Idf8c97cf08a192605208cbee6f2ae41e0798e8d1
SystemUI: unbreak RecentsPanel with translucent decors.

Change-Id: Ibcc4f5fc11109c0f2c149e66b7531e8c9ea79ae1

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Custom clear recents button (1/2)
    - Option to show/hide
    - Option to choose which corner to place (top left, top right, bottom left, bottom right)

Thanks omnirom team
Original commit: https://github.com/omnirom/android_frameworks_base/commit/dc9ddf62c4a0b1710ad3ce4bdf19ce5dcf63094c

Change-Id: I9c15fee94de38cd94a8d685b76a43af58c48bd5e

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

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

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Conflicts:
	core/java/android/provider/Settings.java
Ram bar (1/2)

Change-Id: I19003c1bbcf3226414e9e3168418afc912ae850e

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/cr_strings.xml

Conflicts:
	packages/SystemUI/res/values/liquid_strings.xml

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

Conflicts:
	packages/SystemUI/res/values/liquid_strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Bring back the status bar activity indicators for mobile data and wifi

Google were nice enough to create xxhdpi drawables for us before removing them.

Reverts "Remove signal/wifi activity indicator icon overlays."

This reverts commit fcc901c10bffdfb9c6b31e676dec36b47d949979.

Change-Id: I7aa85f7c8442c45d17e42cac7823dfe93e3f24c1
Avoid layout passes when updating data activity indicators.

ImageView can optimize out layout passes if old and new drawable have
equal sizes. Take advantage of that by displaying a transparent drawable
with the same size as the in/out drawables when there's no activity
instead of clearing out the drawable in that case.

Needs https://gerrit.slimroms.net/3678

Change-Id: Iaaa556ffab3ed4be1da8016ed40d0a9c2efcde01
Started liquifying some icons
more icons liquified
Another minor speed tweak
Long press clear all recents to flush cache

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
[1/2] SystemUI: Network speed indicator

Change-Id: I88e7cdfe20342c695a33383db36bf80bb4ffe009

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/colors.xml

Conflicts:
	packages/SystemUI/res/values/styles.xml

[1/2] SystemUI: Update network traffic indicator

Android measures the amount of data transferred in bytes,
however, by convention, data rates should be measured in bits
per second.

*Convert the change in total data and time to bits and seconds,
and then divide the amount transferred by the number of
seconds that have elapsed.

*Update the labels and have them use the correct SI prefixes.

*Factor out or add @hide to public methods and constructors

*Remove all Runnables and Messages from Handler queue when
disabled

*Minor formatting changes to stay consistent with Android's
code-style guidelines.
https://source.android.com/source/code-style.html

PS2: Set maximum digits to prevent it from filling the statusbar
PS3: Rebase
PS4: Add ability to display either bits or bytes

Change-Id: I9add610a8d14f5a48f2af0a82ced0c186224e282

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

[1/2] Base: Upgrade network traffic meter

*Updated class name to be less ambiguous
*Replaced the multi-check in settings with a proper listview
*Added the ability to view up-stream, down-stream or both
*Added the option to change how often it refreshes
*Added a check before it updates the status bar to prevent it from
refreshing everything needlessly
*Added icons to show data direction
*Remove unused style attributes

Icon artwork is courtesy android design downloads
Some features were inspired by previous work done by 0xD34D

OmniGears: https://gerrit.omnirom.org/#/c/5130/

Change-Id: I9f86292a6adbc5e30967df76fae510be248fc38b

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/colors.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/res/values/liquid_styles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java

Conflicts:
	packages/SystemUI/res/values/dimens.xml

Conflicts:
	packages/SystemUI/res/values/dimens.xml

Conflicts:
	packages/SystemUI/res/values/liquid_dimens.xml

Conflicts:
	packages/SystemUI/res/values/liquid_dimens.xml
Statusbar clock font style (1/2)

PS1: Initial
PS2: Int settings

Change-Id: Iafb811b9f819a100940fdeeaa2c657483c039950

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java

Conflicts:
	core/java/android/provider/Settings.java
Clock Font: Adding more styles

Change-Id: I7ff863fba0c33409f6cad28df5bf3003db2aae0f
Base: fix Clock showing on lockscreen after reboot

how to reproduce

try enable center clock, and then reboot, you will see, clock is showing on lockscreen, and need to lock/unlock to hide again

user will not report this issue until they enabled center clock, and watch device reboot

Change-Id: I1a038bb258ad03bacfa4b528c2acbb030ab8b024

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/ClockCenter.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix status bar clock actions

Change-Id: I0b7bc60aa8c98f9ac12cc433a7525598891d61be
Fix icons overflowing status bar view in center clock and date layout

Based on @maxwen commits
1 - https://github.com/maxwen/frameworks_base/commit/5b4d7714ea5fcc493712b569f456f655bf696076
2 - https://github.com/maxwen/frameworks_base/commit/5b4d7714ea5fcc493712b569f456f655bf696076
3 - https://github.com/maxwen/frameworks_base/commit/b5f7820e50fd03522b5462777779a4520594c796

All credits goes to him.

Change-Id: I23be4b166941159d6b5891442bfcefa3678a0603

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Take date into account to not overflow icons in stock or center clock
- This commit complements this other: https://github.com/cristianomatos/android_frameworks_base/commit/0f1165e0149850107314b9781acf2c2b9994f8e7

Change-Id: I469aedf2abb811edbe180a397480829f33ea3245
Frameworks: status bar notification count (1/2)

credit: burnsra & rmcc (cm)

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	packages/SystemUI/res/values/dimens.xml

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: status bar signal text style (1/2)

Credit: burnsra & rmcc (cm)

Conflicts:
	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/res/values/styles.xml

Conflicts:
	packages/SystemUI/res/values/liquid_styles.xml

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

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

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