[2/2] Frameworks: HALO Forward port from jb.

Change-Id: Id1d6baa2ab95ecf405c02c5d82732d1f545fc10a
PS1: Initial port Fix conficts with notification LED Fix derp Major derp HALO Mods Rebase Fix blackist, code clean and added some TODOs
PS2: Fix build
PS3: Fix bubble sometimes doesn't respond on new notification
PS4: Align halo icon
PS5: Keep floating app in recents and disable transparent layer temporarily (NOT INCLUDED)
PS6: Fix conflict after recent merges
PS7: Cosmetic fixes: Fix buttons layout in status bar. Status bar button holders show halo + qs switch on notification and qs edit mode + notification switch on qs. Update new margins size. (PARTIALY INCLUDED)
PS8: Rebase Clean white spaces Toggle on/off from notification shade icon (remove red X) Standardize behavior (remove option to reverse tap/double tap)
PS9: Remove references to LayerActivity
PS14: Rebase
PS15: update halo strings to prevent conflict with latest changes
PS16: Wrap all things! Modify halo behavior
PS17: Get the correct activity stack: this makes all windows in the same stack to get the floating mode
PS18: Stop pop-out on rotation
      Catch "silent" notifications
PS19: Rebase
PS20: Rebase, fix conflicts with recent merges
PS21: Fix missing commit messages from previous undefined patchset (19) and other conflicts
Change-Id: I257b7109cc1efd146a1e7096143f45c4f9dc8f98

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
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
[1/2]Add Master Switch for HALO

Change-Id: I9629ad9ad18211399a206edd5c984474d76a8a30
Base: Allow hiding notification icons

When long pressing a notification, add another menu
item which allows the user to hide the notification icon
(but keep the actual notification in the dropdown).

This is meant for applications which have services running
in the statusbar which the user is aware of, so right now
we hide the icon by the package.

Change-Id: I60c8705e1fd02d7b26dbe90fe39a3b40febdbfcc

Conflicts:
	packages/SystemUI/res/values/n5x_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
[1/2] Framework: Wakelock Blocker

Change-Id: Ie271a8842d6c6b032e9e033f5b4ce071932f437e
Fix Low battery pop-up warning

Change-Id: I734081dc75be605aafc94eb0ba633a87edc9431e
Framework: Lockscreen Notifications

Change-Id: I7e70d32082d014685517e693126e1e9331698a0f

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	services/java/com/android/server/NotificationManagerService.java
Fix in Lockscreen notifications quiet hours

Change-Id: I247454ee51d865b9709b36a56497ef0c28fcda13
Base: Volume Steps [1/2]

Change-Id: Ib966aa52cc9023e7879af940e6bd9837561a3700
Notifications Reminders

Change-Id: I270a2905d2188bdda8a7a768226131311624c68e

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix derps in Notification Reminders

Change-Id: I3327ef76482fc091ce9004aa2a9b2f02bca740e5
Navigation Bar: Toggle last app on recents button long press

Change-Id: If3675d4a41b62b4195f87cfd8a0dac3bc3370544
Always show translucent decor on Recent apps

Change-Id: I833f8fda105525ac2e3053a72369f6a477bfce3a
Update icons, add Setting to tap-to-wake and make pocket mode of LockscreenNotifications disabled by default

Change-Id: I32350fac535a99bd7bc1f2415b47bf84c566ea14
Remove tap-to-wake setting

Change-Id: Id7556caa7eff420f9142140e62fcf81476897a86
Base: Navigation Bar height

Change-Id: I7526f7c2654672a85c890652ad9eac9dfdbe4c0c

Conflicts:
	core/java/android/provider/Settings.java
Framework: Welcome back ActiveDisplay

Change-Id: Iae85a7c4b71f08f773e19f7dcc61c1d1d81fe787

Conflicts:
	core/res/res/values/n5x_symbols.xml
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/styles.xml
Enable OTG Support

Change-Id: I3fc935fee9da3a9ca1c34a9e6f113b385ef8247f
Update drawable of Profile

Change-Id: I1653a1c22cd8f5e826a90a8ccee2276f3c168029
Improve scrolling cache

Change-Id: Ib21b70461ba135ecf33f588e22413f29cad22afc