Custom NavRing and LaunchHelper

Forward port navring and launch helper

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/LockScreen.java
Longpress navring disable fix

Derp... with this if the long press is off the behavoir is like stock.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Port Forward: NavBar Customization

Custom NavBar targets
--Zaphod-Beeblebrox

Fix Navbar for tablets & other non xhdpi devices
--Zaphod-Beeblebrox

Fix improper resizing of navbar icons in landscape
--kwes1020

navbar alpha settings ported from ics
--akellar

SystemUI: fix navbar alpha
--syaoran12

Make navbar background themeable for theme chooser apks
--NMILTNER

Bring back navbar color, glow color, glow dur from ICS
--me..

navbar: ability to open/close notification shade
--jonathongrigg

SystemUI: fixed glow color to look stock
--syaoran12

Bring back down arrow (when IME is showing)
--me..

fix IME down arrow for custom navbar
--Zaphod-Beeblebrox

Navbar: Allow for up to seven navbar buttons
--Stevespear426

IME Toggler as NavBar target
--BMc08GT

adjust navbar logic
--romanbb

Change-Id: I857bfd554d9f057b4c2e29f802635f752ca98576

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Clock click actions

Options for single, long and double click

if double click never set or set to nothing there is no delay on single click

default action if never set is clock options just like stock.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Quick Settings: Make Wifi and Bluetooth Turn on and off

short press turns on and off
long press goes to settings.service

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Quick Settings: Don't collapse after change state.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Quick Toogles: GPS, Clock, IME

Make these on by default for now enable/disable and movable tiles coming soon.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
add missing xhdpi turn wifi off image
QuickSettings: allow custom ordering and what toggles are visible/hidden

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
derp
SystemUI: open settings panel if there are no notifications

If there are no notifications that belong to the current user, then automatically open the quick settings menu (like the two-finger open). It only ignores the ADB icon for now (which is pretty useless) but could be extended to ignore the usb mounting one or maybe another?

TODO: add Settings.System toggle to disable the option

Signed-off-by: Roman Birg <romanbirg@gmail.com>
QuickSettings: Fix for NPE on reboot when some toggles are disabled.  The Model was trying to refresh views that were not inflated
Quicksettings add all the things

moar tiles, tethers, torch, silent, vibrate, fcharge, sync, and nfc

fuck cm and the police.... jk my brothers a cop just cm..

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Even Moar tiles.....

this should be all the ones we had on 4.1

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/res/values/strings.xml
Fix: QuickSettings: Alarm intent was pointing to obsolete package

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Fix: QuickSettings: SysUI was FCing if no user tile has been added

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Fix: QuickSettings: change deprecated NfcAdapter method to the new one (caused FC on init)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Fix: QuickSettings: One more NFC related NPE (FC)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Fix: QuickSettings: One more NFC related NPE (FC)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
QuickSettings: Allow customization of Tiles per Row (1/2)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/styles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java