RC: Toggle rewrite (2/2)

PS2: Rebase

Change-Id: Idb9c658ae8a9682812c60f94088e5209bb120d61

Conflicts:
	res/values/arrays.xml
	res/values/dimens.xml
	res/values/strings.xml
	src/com/android/settings/carbon/QuickSettings.java
Remove CM Power Widget.
support Koush's Superuser

declare the permission android.permission.ACCESS_SUPERUSER

Change-Id: I8c3d2b6a8b6208378aff454a7a0e8b32a55efe8e

Conflicts:
	AndroidManifest.xml
RC: Add a little clarity to new toggle implementation

Change-Id: Id21c15cddb1c7de6b375c5f93ddb8bf412622d3a
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Navbar and navring: remove screenshot option

Removed from awesome action.
rebase

Change-Id: I820e0fa85467668dd3ce6ef0bd507538acacf54c
RC: Navring rework.

PS1: Better interface for users.
     Get drawables from FW.

PS2: Added logic for tabletui and layouts (may need tweaking)

PS3: Cleaned up strings
     Added long and short discriptions to the pop up dialogs
     Since long press action have no icon I made a friend uri toast
     message to let user know a long press action was set.

PS4: simpify the dialogs a bit. still need to fix custom icons...

PS5: Fixed custom Icons did more dialog work.
     only 2 things left. tabletui/landscape layouts need tweaking
     need to move target selection and enable longpress inside the new
     ui. Getting close this is pretty functional.

PS6: Adjusted custom icons size.
     Moved Enable long press and amount inside the ui
     moved Navigation ring to its own header in main activity

PS7: Cleanup a bit.
     fixed crashing on changing target values
     Now using a spinner and switch for target number and longpress

pic https://dl.dropbox.com/u/31932935/Screenshot_2013-02-23-21-59-23.png

PS8: Comment clean up.

PS9: use one content resolver instead of like 12....
     Switched to enum and switch case for dialog functions

PS10; rebase off new awesome action. clean up things Jon pointed out
      added icons from Nitroz

ps11: get rid of one last hardcoded string

ps12: Rebase

Layouts:
- Phones: use portrait in any mode to configure. It is that simple:
the ring just cannot fit in landscape because the drag handler
is always in the middle of the glowpad and if we want one that fits,
that would be just too small.
- Tablets: tablet/phablet looks ok, phone mode is weird.
I bet nobody uses that anyways.

That's all I could do, tested on mako and grouper.

Change-Id: I33342f5e8bd3b88a56fb3cbbac2390a4cef1269f

Conflicts:
	AndroidManifest.xml
	res/values-sw600dp/dimens.xml
	res/values/dimens.xml
	res/values/strings.xml
	res/xml/navbar_settings.xml
	res/xml/preference_headers.xml
	res/xml/prefs_navring.xml
	src/com/android/settings/carbon/NavRingTargets.java
	src/com/android/settings/carbon/Navbar.java
RC: Fix toggle setup dialog width & move toggle option up in RC

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

Conflicts:
	res/layout/fragment_configure_toggles.xml
	res/xml/preference_headers.xml
Add check for sw600DP screens

This is used to show options based on screen size.

Change-Id: If99180517cb9e4a4729af11f57b7d4049c3cb10f
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	src/com/android/settings/SettingsPreferenceFragment.java
	src/com/aokp/romcontrol/fragments/Lockscreens.java
Switch to open source superuser

Change-Id: I0882b4bb296af041ec5766ff29a605554f13b0a7
Fixes.