[1/2] base: enable advanced reboot by default only if developer options are enabled

Change-Id: I707ba8b8366ec70cd920247d2ec8c52d6fc61431
Merge "[1/2] base: enable advanced reboot by default only if developer options are enabled" into android-4.4
[2/2] Framework/base: Configure headset hook

Whether or not to allo headset hook to launch voice commands

Useful with headset control programs

PS3: Dont use getIntForUser directly. It breaks
PS5: Whitespce
PS6: Rebase

Change-Id: Ifc24407b87a469a4baadad098895564f7f9aecb8
Base: Listanimation views and interpolator (1/2)

thanks team ThinkingBridge for it. Difference to original implementation

- code cleanup
- some smaller code fixes
- remove of rotation animation due it is to laggy
- multiuser support

Change-Id: I255b60dd963c616fb5c0aa583c23d52a7a5108f8

Conflicts:

	core/java/android/provider/Settings.java
Port "Option to control cursor in text fields using volume keys (1/2)"

Change-Id: Ib8ab93eb635af8c87df15d72c46312ce7f95546c
[1/2] base: Power Menu: Add Screen record Option

Adding Screen Record menu entry and Functionality to Power Menu

Change-Id: I715cd91f2db7688ed2ebea18d219090aab4aebcd
Note: Screenrecord is broken on exynos based devices. Trying to record screen will result in device freeze

PS1: Adding Drawable resources for displaying in power menu. Courtesy: ChameleonOS
Change-Id: Ia34f68827576c5bc982f0377929376fa0d9b404d
[1/2] base: Quick Settings Custom Actions

To Display Quick Settings either by right pull down or expanded view.
Expanded View will Open Quick Settings panel if there are no active notifications

Right Pulldown Author: rmcc
Right Pulldown Ref Commit: https://github.com/temasek/android_frameworks_base/commit/a928acc30ecba3613aadc1478ef49878a73b6742

Expanded View Author : Roman Birg <romanbirg@gmail.com> AOKP
Expanded View Ref Commit: https://github.com/temasek/android_frameworks_base/commit/2eb664a4bc5f93b705eeeaa0847331343bb017cd

Change-Id: Ibbb8213096ff0092bf9b57404888315e1bb8963e
Revert "Handle backup transport registration dynamically"

this patch breaks completly the binding to the in gapps
included backup services. Need to be revesited on a later point
why this happens.

This reverts commit c46c4a6765196bcabf3ea89771a1f9067b22baad.

Change-Id: I3fc4856fbbc05656dc5fdf6db30e3bc1bb4f7412
[WIP] Multi-window

This is a big work in progress, which currently has some bugs,
but begins to look okay.

You can already multitask a little bit, by using the
app switcher and long-pressing an icon, then select "Add to
Split View".
Last window touched gets the key focus.

Code is very ugly, I know. Don't merge it, don't use it
for now. Unless you want to make your code ugly.

Enjoy :)

Change-Id: I4a03a84539fd3ac1273f0d3503fe8fafcd16be26
Display options: allow configuration of wake on plug behavior (2/2)

Change-Id: I20322860fd494cb1dce31385f9fc23ea446ac2e1
Add a circlular memory indicator to the recent panel view (1/2)

Picked from Chameleon OS
http://goo.gl/vgL71x

It allows to be toggled on/off as well as setting a custom location

Colors are not solid, they have an alpha channel to provide
transparency, this way it doesnt interfer much with the recents
panel view.

Screenshot:
http://goo.gl/Th7g0j

OmniGears Part:
https://gerrit.omnirom.org/#/c/3057/

Change-Id: I07999d476a16d24ddf9c6de441ae646887da8074
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
Revert "[1/2] Base: Pimp up ActiveDisplay"

This reverts commit e92daed8955d7e16c3fabfe6f2a79b67d5196701.
Revert "Active display: Ability to turn off the screen, when a not clearable notification is present"

This reverts commit ba167a68386aa58686199b7a53702c232131a498.
Revert "[1/3] Base: Squashed commits for 4.4 active display"

This reverts commit b7b15557fb4a4ef944701169c0f306148fd13390.

Conflicts:

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

Change-Id: Ic0cc1db73af0e8bd13e9dabadfc564edef0e4e67
[1/2] Frameworks: Optional statusbar battery icons

    * Circle battery and circle battery percent (from CM <Sven Dawitz>)
    * Battery bar percent from Google
    * Quicksetting battery tile reflects status icon (from SlimROM <kufikugel>)

Part 2: packages_apps_Settings

Patch set 2: clean white spaces
Patch set 3: fix conflicts
Patch set 4: rebased

Signed-off-by: Anu6is <curtis.mayers@gmail.com>

Change-Id: Ic4056d08874672263444152813a4a8e805a4abf3

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/res/values/custom_styles.xml
	packages/SystemUI/res/values/styles.xml