Sleep Toggle

Pressing toggle will turn off screen.

Change-Id: If4052e81bce30b98fb723ed2c6d954598252fea5

Conflicts:
	packages/SystemUI/res/values/strings_toggles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java
FW : Bring Scrollable toggles back

ps 1:  Implements scrolling toggles.
	We might need to play with the spacing/padding
	but it apears to work
ps 2:  Apply some padding/dimens to the scrollable toggles
	bring background for tile into the traditional/
       scrollable toggles as well.

Change-Id: Ie9b9146f1d8d4e902f3f3b5660f511585ea7c895
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java
FW: add spacers to Traditional Toggles.

Scrollable toggles merge also included adding backgrounds to
traditional toggles.  on rows that didn't have 6 Toggles,
those backgrounds would be stretched.  This adds
spacers on the ends of the last row to force the toggles/
backgrounds to keep the proper size/shape.
samples:

http://twitpic.com/cecf8t
http://t.co/32t0A6Qc6T

PS2:  Include background drawables on spacers. Looks a little more
uniform.  Samples:

http://t.co/ryaHhizEgF
http://t.co/fw5QZAsocQ

Change-Id: Id086383ec72e682b8f005e9a17b6ecb6bd0e018b
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
SysUI : Fix opacity of LastApp Icon

Thanks to Nitroz for making alpha corrected versions of the
last app icon.

Change-Id: I2e8a9ae36e32f03aa36d3218c74d76b88123e64e
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
SysUI:  Prevent Kill-Task from killing SystemUI.

If recents screen was active when Kill-Task button pressed, SysUI
was getting killed (causing wallpaper reset).  This
prevents SystemUI from being killed.

Change-Id: I3b669b29e5c244246ac02ad1ce6b4e39f7270aaa
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
SystemUI: Screenshot Toggle

onClick: Screenshot now(collpase status bar)
onLongClick: Starts 'timer' and screenshot after timer expires

PS2: Remove rebootmenu calls from PWM and add 500ms delay to allow statusbar to
         fully collapse

PS3,4: Redependcize commits
PS5: Secure Screenshot
PS6: Resolved conflicts
PS8: Respect RC delay setting & fix drawable padding
PS9: Removed to-do
PS10: collapseStatusBar() for longclick and added toast
PS11: reduce toast length to avoid capturing it. also make it translatable

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I2cebb23e530a92901319b7171c3934125568c3ab

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/res/values/strings_toggles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Framework: CustomToggle [WIP]

Early Early Early stages.
Probably going to need A LOT of help here.

Also, Yes.  You're ALL being kanged <3

So far...SteveSpear426.
More WILL Follow.

PS4: Thanks to SteveSpear for Finding My Derp.
PS6: Fix States && LongClick Logic
PS7: Whoops.  Let's pretend PS6 never happened.
PS8: Added Some Options / Fixed State at Boot (maybe)
PS9: Actually set at boot (per option)
PS10: Option to Change Action Logic
PS11: More Options
PS12: Set On Boot Fix For "Basic" Toggle
PS13: Bothering me.  I'll get digging this weekend...
        Just a quick avoidance of runnable if not
        needed.
PS14: Refactored to follow the new NavBar UI in ROMControl.
PS15: commit message derp.
PS16: Rebase against dependcies
PS17: CustomState presists across death
PS18: Derp
PS19: Spacing errors
PS20: Rebased
PS21: Revise Option Default Per RC Update

Change-Id: I80f157d1a8d68ad0b21028aa7d730025e2ceea04

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/strings_toggles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java
FW: Fix AwesomeAction constants

Fixes 3 'Blank' entries in NavBar/Custom Toggle actions.
This was due to someone (SteveSpear!! :))  Adding actions
to the AwesomeActions variables without putting appropriate
string & drawable returns.

Change-Id: I8d12808337152b6010be6deb9a7d8984e6980a05
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Conflicts:
	core/java/com/android/internal/util/aokp/AwesomeConstants.java
SystemUI: animate transparency changes

Change-Id: I597b245b2d98ae42118efc1ba7ccb837edfdbea9
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BackgroundAlphaColorDrawable.java
FX: NavRing fix longpress derp.

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
Fix Signal toggle layout

Change-Id: I56c298a7e2ce326e8bfacd1aa2702466a2f4cefc
Signed-off-by: sethyx <sethyx@gmail.com>
SystemUI: filter certain toggles

PS2: Also add wifi tether filter based on telephony

Change-Id: I8523ebc78d2d6f0ffdb44ad917cfabd94c9806b6
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java
fix derp
FW: Method for exluding options from navbar.

Change-Id: Icd6d51fe95a2dabd20c7c138d0b31159d4cd78ff
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Add turn off action to WiFi Tether notification

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

Conflicts:
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
SystemUI: WirelessADB Toggle

* Allow, when connected to WiFi, the utilization of the android debug bridge.
* When enabled, the label will show the current WiFi's IP address.

Change-Id: Ib87d4d70106bde14bf927f615edfb62af464be83
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>

Conflicts:
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/res/values/strings_toggles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java