[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

Change-Id: I3e79945433d61da090ca263f4e2989be9987f11d
[1/2] LED: Battery Light

==Requires==
in device tree's overlay/frameworks/base/core/res/res/values/config.xml:

    <!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
    <bool name="config_intrusiveBatteryLed">true</bool>

    <!-- Does the battery LED support multiple colors? Used to decide if the user can change the colors -->
    <bool name="config_multiColorBatteryLed">true</bool>

PS6: enable by default
PS7: rmv public.xml additions
PS8: incompatible types getInteger to getBoolean
PS9: Works

Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
Change-Id: Iadaba42c1752e31cc77804e5b0d01788724c35c8
[2/3] Frameworks: Increasing Ringtone

      Option to set the incoming call ringtone volume to increase
      in pre-defined (user selected) increments.

Linked commits:
      Settings   - https://gerrit.paranoidandroid.co/#/c/447/
      Telephony  - https://gerrit.paranoidandroid.co/#/c/451/

Change-Id: I6314108033089c68c3bd6f716508f40fe863f630
[2/2] Framework/base: Lockscreen maximized widgets

      Enable lockscreen widgets to be expanded by default.

      PA modifications to commit:
          Allow for long press unlock.
          Enable checkbox only if "Enable Widgets" is selected
          Remove preference is device is a tablet (already expanded)

Change-Id: I6a354d218fa5cc4603b92ba479d6aeba7f8f9c60
Quicksettings: Sleep tile.

* Click goes to sleep.
* Long click opens display settings.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Conflicts:
	packages/SystemUI/res/values/pa_strings.xml

Change-Id: I564f596a2e70984de5e0cb3acecb25ce7a5a3846
[WIP][1/2] NavigationBar Customization [DO NOT PICK]

- Allows user to customize navigation bar.
  Features :
   * Choose from 1-6 # of buttons
   * Re-arrange / assign buttons

- Navbar : Rework logic for determining orientation

PS2: Add DeviceUtils helper class from slimroms

Change-Id: Ifea7efdfe1374e71e617a113624c265938a524aa

Conflicts:
	packages/SystemUI/res/values/pa_strings.xml
Framework: Forward port Long press back to kill app

Change-Id: I51aa5735ab7196ccdc18c3da3b6f6b5710c34224
Base: [1/2] Customizable lockscreen & navring targets

This is a squashed commit, ported from CM:

Add GlowPadView extensions needed for lockscreen targets and nav ring
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: I4f82fd3fe04ac16c6737d38b2473f2a533c5d326

Framework : Lockscreen - Customizable shortcuts
Author: Danesh M <daneshm90@gmail.com>
Change-Id: Ic3b935df5c0da35f31373d96943e442dc39cf11b

Add back navigation ring customization
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: Iebe4ec7c2519b85cfd5189d060444764a50f3cf6

Change-Id: I405110dd47b15acaa308d5c0e7a3749a00d685cf
Quicksettings: Power menu tile

Change-Id: I8ac70617cb75a45a76fb9272d62b74db70cd632e
Quicksettings: Volume tile

Change-Id: I11245c84865484aa8d21ca82e479638680ee92fd