[2/2] Frameworks: HALO

Forward port from jb.
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
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.
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

AICP:
- Modified for AICP/AOKP source

Change-Id: I3e79945433d61da090ca263f4e2989be9987f11d

Conflicts:

	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
[1/2] base: Add support for ADB over network

Originally from CM.
This patch actually consists of three parts. SlimKat has already patched the ADB service in vendor/slim: init.local.rc

PS2: Put CM in commit message, reorder import and fixed space indent.

Change-Id: I2983caddbe6079305a8d8caab32f6538a51d7db9
Option to enable Notification Light when screen is on [1/2]

Change-Id: I58be9646cdc84d4765342a5ab45b4641c3d5daba
[2/2] Framework: instant led test

Adds support a new notification extra boolean
EXTRA_FORCE_SHOW_LIGHTS.  Used by settings
notification light picker to force lights on
when the screen is on.

Change-Id: If0a42d32b28fe8c02ef5f7dd148db7eb478fac17
Flip to mute - Slim's implementation

Change-Id: Ifdea31930f43dffaff7d25db09d0e711d8a224ee
lights: Add music light support (2/2)

Change-Id: I734e0d09bf9b01c149d456035eaa8ea5db009dad
[1/2] base: volume panel styles and tweaks
From CM - Support different styles of the volume dialog
allows expanding the dialog to show all adjustable volumes

New setting MODE_VOLUME_OVERLAY defines the style
0 = unchanged - single slider
1 = expandable - button beside to slider to expand - this is the default
2 = expanded - open already expanded

This also adds using setting VOLUME_LINK_NOTIFICATION
to allow adjusting the separation of notification and ringer volumes
default=1

This also already adds the new setting
VOLUME_ADJUST_SOUNDS_ENABLED default=1
to allow disabling the volume adjust sound

fixed some minor code style issues

- add all values multi user configurable

Change-Id: If1ee4b62d7b148813e526dce46b598729eb344e2
fb: add Battery Styles the new way 1/2

As usual color options are present for the User to style the icon

Change-Id: I904452aaa84116295590a076ef9e9865c5aeeaae

Conflicts:

	packages/SystemUI/res/values/strings_custom.xml
frameworks: Custom Carrier Label [1/2]

Change-Id: I5cc66312e0d74723ce44128a7d0d1d18762cd6d1
CM Circle battery tweaks:

Set red color to start on 15%
Make the battery thinner

Change-Id: Ibe39b19a7747692b7e34d444ad7592821c29ce1a
fb: fix rounding issues and take density into account

we are a multiDpi rom...and on 4.2 and 4.3 already the text
in the circle battery icon was on lower dpi a small bit up. The original
author compensated this with just a +1 to the Y value. Thats not the right
way...calculate the current dpi into the offset and all is well.

We want a perfect 4.4...so this nitpicks even if we are talking about
0.5dp maybe should be fixed

Change-Id: I835aa20b82aea980eb79a4772adccf30b2d6f79f
FWB: Fix Hide Battery icon from RC

PS3: Hide Circle icon also
PS4: Make the code nicer

Change-Id: I8b5e096d9e92355a5ad063b4b9ed85e835fac546
UsbDebuggingManager: Fix multiple NPEs toggling USB debugging

Change-Id: I7ac039fe51a32d35ef00eaa71accb85cd57d4d8a
Signed-off-by: atl4ntis <atl4ntis@gmail.com>
Hide the notification tray carrier label during and not after flip animation

It's possible for the user to have enough quick settings tiles to cover
the carrier label during the flip animation. This looks a bit strange,
so hide the carrier label during a flip.

Change-Id: I6dd38d5642a1d49c079ecdc4a7e904be6c26454c
Fwb: Gesture Lockscreen [1/2]

PS5: strings_cusotom

Change-Id: I8aee9998bb87a1bba3ed114ae95dd87b37159f92
Lockscreen Notifications: make dynamic width a device overlay setting

dynamic width is disabled by default, to enable it for a specific device, add
<bool name="config_lnDynamicWidth">true</bool>
to yourdevicetree/overlay/frameworks/base/packages/Keyguard/res/values/config.xml

Change-Id: I210b747838b70fb64e6f0835b1cb42b31c9a199d
fix search textfield

Change-Id: I1255434e1e42973afd8d9907459dcd8795e96c4b
fix number picker blue line and highlight

Change-Id: I473c855a0e2cd068e62cd2ec4b807c04215b1c81
SystemUI: Fix missing top task in recent panel.

If preloadRecentTasksList was not called or was called too
late and RecentsActivty already started and last top activity has
excludeFromRecents flag setted it might be missing
from recent application list.

Change-Id: Idf7153824805ceea9fcaf04ac645b73a5e93a4d9
Add option to disable CRT off completely (1/2)

Change-Id: I2bb77de9f7a1b11937d7cd16e3a1eb8131dbaef6