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/tablet/NotificationPanel.java
FW: Status Bar Hide toggle (1/3)

Adds new statusbar toggle into power menu navbar control.
Tested on maguro.

Patch-set 4: Reverted selected button logic
Patch-set 5: Reverted of reverted :)
Patch-set 6: Added czech translation and RC part
Patch-set 7: Added quicksettings tile and shortcut intent
Patch-set 8: Fixed build errors
Patch-set 10: Some czech translations
Patch-set 11: New icons, changed variable names, fixed show logic
Patch-set 12: Rebase
Patch-set 13: Removed previusly added czech translation of other words
Patch-set 14: Resolved conflicts
Patch-set 15: Finaly reversed active icon in power menu. Move some code due to conflicts
Patch-set 16: Rest of new icons
Patch-set 17: Fixed conflicts
Patch-set 18: Completly rewrite of toggle
Patch-set 19: Reversed toggle active state
Patch-Set 20: Re-do NavBar Toggle in Power Dialog to match
              existing StatusBar Toggle
Patch-Set 21:  Derp - forgot to add drawables
Patch-Set 23: Removed navbar text size dependance

Change-Id: Iafdbac9fb5830762c12ac0d9a6569723f39a64de
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values-cs/strings.xml
	core/res/res/values/symbols.xml
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/drawable-hdpi/ic_qs_statusbar_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_statusbar_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_statusbar_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_statusbar_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_statusbar_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_statusbar_on.png
	packages/SystemUI/res/values-cs/strings.xml
	packages/SystemUI/res/values-cs/strings_toggles.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/res/values/strings_toggles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/StatusbarToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Lots of fixes.

Change-Id: Ia1fc8a6d4bc725d85070b299469dd877eff3b7c2

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/key/ExtensibleKeyButtonView.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/CarbonToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/CustomToggle.java
API updates from CM.

Change-Id: Ib027e7a9048aebfa07a2037aeda7c4caa5ef695f
SystemUI: don't add tint to app icons or custom images

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/NavigationBarView.java
SystemUI: tint alternate icons (small menu, alt back, arrow keys)

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/NavigationBarView.java
One more api update

Change-Id: Ib01bf10c8f1ee8a69847a6f37d19dac9b05e84bd
FW: Navring Rework.

PS2: Moves drawables and static strings to Frameworks, Removes
     some redundant code from RC.

PS3: Needs awesome action update for now if we dont add it ill
     rebase.

PS4: Rebase and clean up, plus I added the option to turn "off" the
      navring by setting all targets to null or none.

PS5: added logic for custom icons

PS6: forgot to add Icons to the settings observer
     adjust some long press logic

PS7: Comment message clean up

PS8: Rebase of the new awesome action

PS9: cleanup

PS10: Rebase

Change-Id: Iff157e4e49407f46284f52697befe6cc3d5a42d7

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
Navring: fix NPE if app uninstalled and in Navring

remove generic exception not needed.

Change-Id: Iec7f79f9d7c236d2afe3788dc35f890b2e3c4f84

Conflicts:
	core/java/com/android/internal/util/aokp/NavRingHelpers.java
Navring: Fix landscape for phones and 4+ targets

Change-Id: Id8004342007d298f1cb1815ab073ea6129782ad4
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
FW : Rework NavBar UI in ROMControl.

This turned out to be a little more in depth than I planned.
Decided to do some integration with AwesomeAction while
overhauling the UI.  This required adding some methods to
AwesomeConstants so that we can get the list of actions and
their 'ProperNames'  from a single object.

ToDo:  Do a similar move of objects/names for the icons.
   This will allow a single copy of each icon rather than
two like now.

Themers and Translaters are gonna be pissed when this is done.

PS2:  Created a method to return the Drawable/Icon associated
with a given action.  I've imported the XHDPI icons only at this
time (so non-xhdpi test builds will not work!)
Also, some of our 'actions' didn't have associated icons so I
copied a few from other areas.  They will need to be looked at
for 'appropriateness'.

ps3:  Moved NavBarHelpers into frameworks.  Copied over the rest
of the DPI icons (Resized quite a few too) - the images still need
review/updating to be more holified, but they will work as is.
Todo: started a way to subract subsets of Actions for the appropriate
function (ie, NavBar might not need access to *all* Actions.  I didn't
implement yet as I need a clever/clean way to subtract Array sets.

ps4:  Had to remove a few references to moved icons in SystemUI

ps5: Moved Icons back to SystemUI made a SystemUIResource getter method.
     Made navring use navbar icons.

ps6: update a few icons - thanks to Nitroz

Change-Id: Ia58f25f600fb92b70a4658e16a512e9a9ea8430f

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/aokp/AwesomeConstants.java
	core/java/com/android/internal/util/aokp/NavRingHelpers.java
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
	packages/SystemUI/src/com/android/systemui/statusbar/NavigationBarView.java
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
policy: add missing spacer view

Statusbar and toggle views were squished together,
looks like this got left out.

Change-Id: I0a580662fa75d3b430536b6820df9d040eb51384
Signed-off-by: Roman Birg <romanbirg@gmail.com>
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