Implement new-ER ChaOS sidebar / Add ChaOS labs

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout/app_sidebar.xml
	packages/SystemUI/res/layout/notification_shortcut_item.xml
	packages/SystemUI/res/values/colors.xml
	packages/SystemUI/res/values/custom_dimens.xml
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/AppSidebar.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/ose_styles.xml
	packages/SystemUI/res/values/slim_dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Update Settings.java
Update BaseStatusBar.java
Gesture Anywhere: Add gesture anywhere feature into the ChaOS Lab [1/2]

When enabled a user can activate the gesture anywhere view by touching
the designated trigger area.  If a gesture is recognized as one the user
has created and assigned to an action, that action will be performed.
Since this is part of the system UI and implemented as an overlay, it
will be available and usable system wide, with the exception of the
keyguard for obvious reasons.

Change-Id: Ic47abb7531cecbdd33d344b9a32402f6ffed7163

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/colors_custom.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Gesture Anywhere: Adjust position on orientation change.

Also added hiding home, recent and search from navbar when
showing the GestureAnywhere view.

Change-Id: I1dd13f38af265d6966441f2cd99b78ea9b3d4d90
Gesture anywhere: Collapse if expanded when screen turns off.

Change-Id: I85c749182dab9e478d7337b3556c362eaa7dd74d

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Active display [squashed] (1/2)

Change-Id: I709196b232609a1dab8e9d7fdd0a6a655d487d93

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/ose_styles.xml
	packages/SystemUI/res/values/slim_dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java
FULL ActiveDisplay Fixes/Options by codexc

ActiveDisplay: fix for disappearing notification bar
0c7588324f Browse code
maxwen authored

Active Display: Fix Derp
c6031125d0 Browse code
Der-Schubi authored

Active Display: Sort notifications by newest to oldest …
7674882824 Browse code
0xD34D authored

Active Display: Add some synchronization …
b3b33db6a6 Browse code
0xD34D authored

Omni: [1/2] Base: Fix pimp up ActiveDisplay …
434928a07e Browse code
micku7zu authored

pac : [1/2] Base: Pimp up ActiveDisplay …
b9e91f7a88 Browse code
Der-Schubi authored

Active display: Ability to turn off the screen, when a not clearable …
d047508943 Browse code
Der-Schubi authored

Change-Id: I90d74a9961169251ceac955e78803cdd369a949e
follow to kitkat changes their new fixes for active display

pulled from ChOS credit for 0xD34D

follow kitkat changes and fix ActiveDisplay never disabled after using turn off display option

pulled from omni , credit for Squadzone

using another logic to determine, when need to hide Statusbar and Navigationbar
we dont want systemui visibility reset if lockscreen still enable and ActiveDisplay force to Turn Off

Correct ActiveDisplay visibility when launch Ongoing Notifications

fix Back button navbar cant work on some conditions

since AD detect User Activity, we dont want to override UserActivity inside View, so do only if AD visibilty are Gone

also add patch to keyguard, do not reset if ActiveDisplay visibility Visible
taken from Lockscreen Notification by David L.-W <david.leppla.weber@gmail.com>

Change-Id: Ia4c1aa78e0ab2067cc071036cc8723d9e1ccf893

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Base: Disable proximity sensor when screen goes on in ActiveDisplay/PocketMode.

Active Display (in Pocket Mode) currently only switches off the proximity sensor in some cases.
If the user switches on the screen itself, the sensor is left running. This change
stops the sensor as soon as the screen goes on. Active Display already started the sensor each
time the screen goes off.

PS2: In the mode that turns the screen off again when the device is pocketed,
the sensor stays on until you leave ActiveDisplay.

Change-Id: Id7afcd858f341ad929606d302c5741efa99a7c6f

Conflicts:
	core/res/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Update GlowPadView.java
Update GlowPadView.java
Update ActiveDisplayView.java
Add Fast Charge QS Tile [1/2]

Change-Id: I9e28bb14549c176cacfe2a861b1e5f56cd9e242f

Conflicts:
	core/java/com/android/internal/util/slim/DeviceUtils.java
	core/java/com/android/internal/util/slim/QSConstants.java
	core/res/res/values/config.xml
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
On-The-Go mode [1/2]

On-The-Go turns on the camera of your phone and streams it to an overlay,
which is drawn over everything.
this makes you feel like your display is transparent, as you see the content
behind it.

its really useful when you are using your phone while walking, thats why
we called it "On-The-Go"

allows to change transparency of the overlay via the notification.

have fun!

Change-Id: I3efccb5fac41a946f6cb4992e9181422980ee5e4

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/custom_symbols.xml
	core/res/res/values/ose_strings.xml
	packages/SystemUI/res/values/custom_strings.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
Update GlowPadView.java
Revert "Update GlowPadView.java"

This reverts commit 35c692c13c7fd42ac4d07946ef45385e5eb92096.
Revert "Update ActiveDisplayView.java"

This reverts commit de775917bb6e58f5d12d4fe3efe6bb026b30f42d.
Revert "Update GlowPadView.java"

This reverts commit 993b4edc88e051820e7479c5166ac08c33d3ccd5.
Revert "Update GlowPadView.java"

This reverts commit a111afee2f27fef539da9b9b1c2d602e1d99d51d.