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
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 remote-tracking branch 'PA/kitkat' into legacy-staging

Conflicts:
	packages/SystemUI/src/com/android/systemui/power/PowerUI.java