settings: volume rocker controll (wake up and volume) thanks to

CM and omni for the proxy sensor idea

Change-Id: I3dbb8c276fb7c73c8e3ced1624a1ff8e03d9f4ca
Settings: safe headset volume option (2 of 2)

difference to CM and our old implementation added a warning
dialog. A bit extended due that we will have in future other
warning dialogs in soundsettings as well

Change-Id: I6546403484fd773abd9560a8405d75bb682f8b62
Settings: Slims ElectronBeam get some love (2/2)

Features:
- You can select different crt off animation modes if device overlay does not disable it at all
- disabled
- always horizontal (stock behaviour)
- always vertical (screen collapse from left and right to the middle)
- orientation dependent (means portrait = horizontal animation, landscape = vertical animation)
- some minor fixes/code style improvements to 4.3 implementation

Change-Id: I35fb277b8da823d50cc4db1eec32ea597fe973f2
settings: use centralized strings

strings like default, enabled, disabled are common
and often used. Use always the same string due that
it is easier to maintain especially for our translators

statusbar settings shows now enabled/disabled for clock
options

Change-Id: I56399948cc09c0ddd922b884573ed36375772147
[2/2] settings: volume tweaks

Setting to disable volume adjust sounds (VOLUME_ADJUST_SOUNDS_ENABLED)
This is so annoying :)

Enhanced dialog to add checkbox for unlinking ringer and
notification volume (VOLUME_LINK_NOTIFICATION)

some minor code style issues fixed + always use onchange listener
onclick is depreciated even if google still uses it....but
we can go with actual API

Change-Id: Ia30bbb1c2f44d0c21cd08748bd552685810f960f
settings: add back all keyboard IME features back (2/2)

this commit adds:

- ime switcher notification - thanks cm
- slims fullscreen disable on landscape
- slims force autorotation on IME
- volume button control for navigate in the message - thanks cm
- slims force to show always enter key

some fixes to the 4.2/4.3 implementations + added full multiuser
support for all this features

cheers

Change-Id: I58596f11ee09c6db77119f3e3044e1ec2dd30c0a
Status bar brightness control

+ added some fixes to original implementation (thanks mostly cm for that)
+ add multiuser support

Change-Id: I108086b07dea9cc6d59bfbdd9652b3aa33dcfe74
fix logical error on showing note dialog

Change-Id: I9f45348a87a9e753626276a8df4b5d5c60b29a0b
use better dialog handling on IME settings

sorry did not saw that crap from 4.3 implementation. use a better
dialog handling as well prepare it for future other dialogs
we may need here

Change-Id: Ibdbceaa9041f3f9d2d6ee55fe75556c398120bf8
Settings: add development animation transition mode 0.75 and 0.25

Change-Id: Iaaeb3757ef9b3b97d66d929629e9035ab511f72a
Implementation of Koush superuser (2/3)

Change-Id: Id048b9d0f5479bd6d5c583dfb6ee2ea7050e1b1e
Settings: Fix aapt locale set caused by SuperUser

This allow to display Settings in other language other than default
for whatever reason SuperUser breaks this on AOSP working behaviour
including this flag.

Whatever this does not break anything and will fix our issue till it is
inverstigated why the SuperUser overlay breakes the locale set.

Change-Id: Ie0d94a85b6b3f26cad853298b911c7fece0a1247
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
settings: add scale down crt animation - thanks a ton to xploidwild

really nice idea...fits perfectly into our animation options
for CRT

reword the different modes

Change-Id: I07a32b4cbfe956010507f5c8eddc92c2df395815
Re-add auto brightness configuration UI (2/2).

Change-Id: I6c56a48fa2145c58a5f203ed56051451ef3f977d
Add back blacklist settings.

Change-Id: Iae35717acfa9af4da75c07d24352acf981d19fc7
Add back increasing ring settings.

Change-Id: If33afa88adde6ae6fa23f0e3be779b1b7531e3a3
Settings: Advanced low battery indicator options (1/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version
This commit introduces following new SlimBean 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

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you 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.

Change-Id: I372c566a2d84b04856d0be518a894c3699d00f8a
settings: add back notification shortcuts + slim classes we need

this will add back slims notification shorcuts feature as well
we add common slim classes we use for navbar navring pie etc
see fb commit for more details

Change-Id: I798d6597a8894fa47718fa6310b7965239130a3a
settings: add Battery Styles the new way 2/2

google draws now the battery icon which fits perfectly into our
concept. Beside that the batteryview is as well used on QS.
So we readd our battery icons (icon, percentage, icon with percentage
circle, circle perc, dot circle, dot circle perc) back and all are
drawn. As well the icon does not only change on statusbar as well
on QS it is reflected.
As usual color options are present for the User to style the icon

Change-Id: Iaedede55e14d99f79e560e74188692c894f2d961
[2/2] Power connect/disconnect notification support

Change-Id: If2103d5cf2a58d5dda7e83853ef681872795c710