Frameworks: Advanced low battery indicator options (1/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version

This commit introduces following new SlimBean modes to indicate low battery

     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Patchsets:
 - codestyle corrections

Patchst
 - add PowerUsageSummary intent

cheers

Change-Id: I2097afad8a090d2557a1e545cf978c87ca77d6c1
Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()

This fixes a bug where a View with filterTouchesWhenObscured will have
all touches filtered when in magnification accessibility mode. This is
due to magnification being a separate Window over top of the running
Activity. The method onFilterTouchEventForSecurity in View will then
always return false when filterTouchesWhenObscured is enabled on the
View. By adding the magnification Window to the list of Trusted Overlays
we can ensure that touches will work properly with this property enabled.

Change-Id: I07706588a625682d05da5cb19f401139eb08a54c
Signed-off-by: houst0nn <houstonn@gmail.com>
Fix for launch app in floating mode from recents

Change-Id: I216b02a60cd46b7fef49e04fe090169c4703bcb6
Align text labels in all un-align tiles

Change-Id: I1c7830978f1eb3fb1cb6520d42b2beca846024ac
Merge "Frameworks: Advanced low battery indicator options (1/2)" into kitkat
Merge "Fix for launch app in floating mode from recents" into kitkat
SystemUI: Update circle battery UI to be in line with CM

Paranoid Android circle battery icon was too thin and had the wrong shade of white. 

Fixes: AOSPA-179, community request 

Fixed color to match other battery icons

PS2: Fixed spacing

Change-Id: I084bbacefb37fdf64368f80baa95d79e2bd8e2bc
Merge "SystemUI: Update circle battery UI to be in line with CM" into kitkat
Merge "Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()" into kitkat
Merge "Align text labels in all un-align tiles" into kitkat
fix search textfield

Change-Id: I1255434e1e42973afd8d9907459dcd8795e96c4b
Base: implement separate drawables/selector for Holo Light Seekbars

This commit allows the framework to use separate drawables & xml selectors for seekbars on Holo & Holo.Light themes.
This is needed because the white drawables introduced in 5fdc52b are perfect on the dark theme, but almost invisible on the light one.
The darker holo light seekbars drawables for all resolutions are included in this commit.

Change-Id: I77e81ff624a0eaab5f91ec1f745f55d9d5dc9e4a
Revert "Align text labels in all un-align tiles"

This reverts commit 947b80fac2b89dff32566035ce2a3781d56d54a9.

As for what stated here https://gerrit.paranoidandroid.co/#/c/4032/

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat
Merge branch 'kitkat' of github.com:AOSPA-legacy/android_frameworks_base into ui

Conflicts:
	services/input/InputWindow.h

Change-Id: Ib093368e15a1bd3cfd27c8d40ca9e2fc85d6966f
Slimrecent: Fix for launch app in floating mode

Change-Id: I7687f21474d2b95e7fd2a9bb9d1c7590c55a488a