Quick Settings: Swipe to switch

Adds the ability to switch to/from Quick Settings, using a sideways
swipe gesture.

Video demonstration: http://www.youtube.com/watch?v=jZaDVBIFAuA
(Video for the initial Patch Set only)

Patch Set 2: Flip animation follows your finger
Patch Set 3: Fix commit message
Patch Set 4: Fix commit message (again)
Patch Set 5: Pin down the statusbar during swipe
Patch Set 6: Smooth out animation after releasing swipe
Patch Set 7: Swipe in any direction to switch views
Patch Set 8: Ensure the statusbar is properly pinned down
Patch Set 9: Fix logic and event handling issues
Patch Set 10: Refactor for readability
Patch Set 11: Limit swipe detection to the bottom bar

ThiagoVinicius authored 10 months ago
[2/2] Add support for custom LED colors notification

Originally from dvtonder (CyanogenMod)

Change-Id: Iab519a757220c444f166b8a05246c7ca71b897d8
Allow creating custom dialogs in DialogPreference.

This allows creating non-AlertDialogs while still using the click and
state handling of DialogPreference.

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
es/values: add custom xml's
Framework: Forward port Power menu config
By DvTonder

Change-Id: I4836ddf43e82e254aefa3933a1e30fd652f08f90

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java

Change-Id: I6ee1b8786df1969dd8c1dc98ea3587872a01a369

Conflicts:

	core/java/android/provider/Settings.java

Conflicts:

	core/res/res/values/mahdi_strings.xml
	core/res/res/values/mahdi_symbols.xml
Framework: Add Advanced reboot (2 of 2)
By DvTonder

This commit responds to a setting in Development settings for including
options in the power menu for rebooting into recovery or bootloader. It
is defauled to off.

When enabled, the Advanced reboot options will only be available once the
device is unlocked.

Change-Id: I675f31de1f82c344c7923e953fd4a6e26dd036da

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/custom_strings.xml

Conflicts:

	core/res/res/values/mahdi_strings.xml
Framework: Show the Advanced reboot menu only for the primary user

Change-Id: I73f82eade26f268e2b4608fa23cabcf0bb8fc862
Power Menu: Add Screenshot

-fix up some derps from tha last commits
Navigation Bar: Toggle last app on recents button long press

xplodwild authored 2 months ago
"Clear all" button on recent apps

    Ported from ParanoidAndroid by zigackly:
    https://github.com/ParanoidAndroid/android_frameworks_base/commit/f8c44e6ef667a3ebe9b658f148fa78a8d4f9a8dd

    Add button to tablet layout ported from Codename Android by zigackly:
    https://github.com/CNA/android_frameworks_base/commit/8d259fe3588c261baa5a17c361255cf28cc82bfe

    Patch set 2: Make the layout consistent, with the button at the top right.

    Patch set 3: Remove the redundant use of removeTask()

    Patch set 4: Top right layout does not work in tablet mode: make it top left for tablets only.

    Patch set 5: Different implementation (No need to keep track of views) - Danesh M

    Patch set 6: Top left layout no longer works for tablet mode with new implementation.
                 Make it bottom left for tablets only.

Change-Id: Iceb86eef41160f1c17e51463b37fd97e27acfb2e

Conflicts:
	packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Change-Id: I5f3827299866a951e657ce64bea7c5f31c34ef9e

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

Conflicts:

	packages/SystemUI/res/layout/system_bar_recent_panel.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsVerticalScrollView.java
Highlight the clear button in the recents view when clicked

This commit also makes copies of the ic_notify drawables for the recents
panel to avoid any collisions with possible future changes to the
notification bar UI. (The pressed state drawable was already an unused
leftover resource).

Change-Id: Ib0d5982e80771b6639efd25ac792ebfe9f1ca1c5

Conflicts:

	packages/SystemUI/res/layout/system_bar_recent_panel.xml
Recents : Fix clear all layout

Fixes the clear button from getting cut off due to the added
fitsSystemWindows in aosp

Change-Id: Id43a3d0640f66c1d7c587cb272bc3a6ad520628b
Phone//Phablet UIs: Bring back two-line layout for status bar date.

Change-Id: I4bf7ce61b22da89b3b8c1a3f00e077461061f7b9

Conflicts:

	packages/SystemUI/res/layout/status_bar_expanded_header.xml

Conflicts:

	packages/SystemUI/res/values/donottranslate.xml

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java