Revert "Status bar bg color picker."

This reverts commit 3018f89f5d4460f1607482c79e6a78d68fe00e31.

Conflicts:
	src/com/aokp/romcontrol/fragments/StatusBarClock.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Revert "Nav bar color"

This reverts commit fa57bcc2e26c3802e55ebdefaea0c81dfbfa0794.

Conflicts:
	res/values/arrays.xml
	res/xml/prefs_navbar.xml

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Fix after reverts

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Add statusbar and navigation bar opacity slider

  Patch Set 3: Rebase before merge

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

Conflicts:
	src/com/aokp/romcontrol/fragments/Navbar.java
	src/com/aokp/romcontrol/fragments/UserInterface.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
RomControl: NavBarColor (2/2)

Change-Id: I246a75bd2aadc17f18180d8ad31ab1a8eaa1b119

Conflicts:
	res/values/strings.xml

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Transparency control overhaul

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

Conflicts:
	AndroidManifest.xml
	res/values/strings.xml
	src/com/aokp/romcontrol/fragments/UserInterface.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
RC: Hiding NavBar

PS1: Adjustable Height and Timeout
PS2: Use navbar height for the hidden window navbar.
PS3: Add enable option
PS4: gotta restart systemui to make sure if this is disabled
     the tiny window is not left up
PS5: rebase
PS6: add controls for invisible and width
ps7: add navbarhide quick tile to arrays
ps8: set defautl slidder width to 5
PS9: Set Dependencies on Prefs.
ps10: Provide Opacity control for DragHandle
ps 11: Remove Dependency on Seekbars - they don't play well

Change-Id: I8e9c2c4e142f13965e3754caf53ae1d4040af4c7

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml

Signed-off-by: iceandfire <arhamjamal@gmail.com>
RC: Toggle rewrite (2/2)

PS2: Rebase

Change-Id: Idb9c658ae8a9682812c60f94088e5209bb120d61

Conflicts:
	res/values/strings.xml
	src/com/aokp/romcontrol/fragments/StatusBarToggles.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Vibrations: add more stock custom vibrations.

  Adds the morse code for vibrations for
    -AOKP (I use it for teammates)
    -CQD (a distress signal)
    -NOM (see comment)

PS2: Allow DB upgrade

Change-Id: I6be49759c00fa2cd54a9753621b08193d2bcf130
Navbar and navring: remove screenshot option

Removed from awesome action.
rebase

Change-Id: I820e0fa85467668dd3ce6ef0bd507538acacf54c
RC: point toggles preference to correct string

Change-Id: I003659eb92ed8d760a4fb7b89bceaa168ce8189a
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
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/drawable-xhdpi/ic_navbar_killtask.png
	res/xml/prefs_navring.xml

Signed-off-by: iceandfire <arhamjamal@gmail.com>
refactor the options shown for tablets and phablets

added isPhablet and hasPhoneAbility to remove certain
preferences

PS2: added config bools for charging led and led brightness
PS3: remove FastToggle for Phablets

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

Conflicts:
	src/com/aokp/romcontrol/fragments/StatusBarToggles.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
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>
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/xml/preference_headers.xml

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Change toggles summary and icon

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Settings: Colorpicker margaritov overwork and fixes which were urgent needed

More or less over a year a lot roms are using margaritov's and nillson's colorpicker
Due to the progress of roms this colorpicker needed a lot overwork now. Some fixes, some
improvements etc. etc. Should now be bugfree + additions we added and add now

Before I do a bigger list screenshot here....should explain all:

https://dl.dropbox.com/u/106208842/Screenshot_2013-02-26-02-39-02.png
https://dl.dropbox.com/u/106208842/Screenshot_2013-02-26-02-39-11.png

Important hints for kangers. Due that aosp depreciated hex color values on this stage
I decided to remove also in colorpicker this support in general to be aosp consistent.
This means that for defaultValues only int colors are accepted. Two ways to do this.

1. Set defaultValue in xml code. Like android:defaultValue="0xff33be5e" or link it there
   to a integer color resource (before there was only the possibility to set eg "#33be5e" which
   is depreciated from aosp)

2. Do it with the new integrated method I did about 2 month ago. setNewPreviewColor(int color)
   Of course at this point you can do to get hex resources like it was before, eg
   setNewPreviewColor(getResources().getColor(com.android.internal.R.color.holo_blue_dark)

3. or do both :p

cheers

Change-Id: I822eac92198f7cb3b2c394d8c419d12aa95ce313

Conflicts:
	res/layout/dialog_color_picker.xml
	src/net/margaritov/preference/colorpicker/ColorPickerPanelView.java
	src/net/margaritov/preference/colorpicker/ColorPickerView.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Rewrite PIE

-Give pie its own category
-Add options for last app toggle etc
-Improve colouring
-Etc

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Advanced low battery indicator options (2/2)
Based on a idea I saw on RootBox and from CR3C0 (thanks guys) which we
modified to an extended version

This commit introduces following new modes to indicate low battery

     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Notification behaviour is the same as Pop-up. User can dismiss it manually
or it is dismissed automatically if charger is connected. Also you user get a
status bar ticker message about the notification and notification is always
on first place of list. And last if vibration is enabled
notification vibrates.

cheers

Credits: kufikugel
Signed-off-by: iceandfire <arhamjamal@gmail.com>
Fix lockscreen settings fcing due to color picker enhancement

Signed-off-by: iceandfire <arhamjamal@gmail.com>