Settings: Add Widgets viewpager for all devices (1/2)

First thanks AOKP for the basic idea and some parts of code.
This commit gives the ability to show up a viewpager with
custom user set widgets. It is bindable to navbar, navring
and to hardwarekeyboards. It works with navbar enabled as
well as with navbar disabled. Like every time we polished it
Slimusual a bit up.

Change to the original widgets viewpager
- bindable also over hardwarebuttons
- shows also up without navbar
- color settings for background and text
- transparency of background (default 25%)
- settings complete overwork
- TRDS compatible
- multiDPpi (thanks mnazim)
- complete overwork of widget height handling
- slimup and a lot improvements and fixes

cheers

Change-Id: I234df849603f87312996db77548031354a977561
Add Lock volume keys in silent mode [2/2]

Prevents silent mode from accidentally being unset by volume keys

Forward ported from GB

PS 2 : Reorder

Change-Id: Ia86d191ac4db1e369fd3f9ac25644eb51feab67e
Settings: We want consistent then we should do it like that

This commit is a first step to be consistent on all places. It sorts
and names all bindings (hardware key, navbar, navring) same to be
consistent.

Next step will be adding features from navbar to navring to hardware
keys and other way round.

Also some string corrections

HINT: Hardware key bindings values will stay for first because
of hard coded values in frameworks_base. For a full wipe release we
can change it then.

cheers

Change-Id: Id7b6e52463d6d9e8cc2d709b0414c37819990e6f
Settigs: Fix navbarheight 0dp

Change-Id: I098488e6a93192d5151a85aa0abddfca482d0d99
Settings: change 241dpi to 245 to fit our

new xhdpi stock dpi

Change-Id: I3ee9de52c14842826c9f34ca1556e10e9d8049d9
Settings: Googles UI guideline says not more then 5

preferences in one category....so I splitted and
added a new Slim category....Adavanced Slim System

so still ASS :D

cheers

Change-Id: I3f62efbf8535396bfa884becc54100caef09bf78
Settings: fix volume button swap for tablets (2/2)

Change-Id: Ic65e87b92d997511ac0a43846e0ee1c70fd1a940
Settings: disable expanded desktop on power menu disable

If expanded desktop is enabled while the option for expanded desktop
setting is disabled, expanded desktop will remain active and the user
will not be able to disable expanded desktop without reenabling the
setting.

Change-Id: Ia91e34e5ce9f8680f64b81e5f79c2df6f0639bb2
Settings: removed navbar visible expanded desktop settings for devices without navbar

On devices without navigation bar, expanded desktop is only useful
for hiding the status bar when the apps don't hide them.
"Status bar visible" setting is a no-op.

Change-Id: I16a31ec6e10c7ed11600e3b1a1d9b631f31af55e
Settings: Reorder custom hardware keys like

they are on most devices pysically present.
(back - home - menu)

cheers

Change-Id: Id81a40ec007765d339d0a9736f8a620f5aa1a4ce
Added vibration adjustments via Performance

Change-Id: Icc8241255efcf2f7099c90e54cc4784dcb329886
Settings: Show alert dialog

so sorry guys....

cheers

Change-Id: I4affee20d6f96417405bb1db7fbb33ed0b865cfd
Cleanup

This sounds better.

Change-Id: Iee242943d57303aa8325c2ff4922bb6ea57e96f1
First version of Settings Russian translation

Added untranslated settings title

Minor final fixes

Final fixes

Lines in arrays.xml translated as well :-[

Translated commits Idf5d135fbf9565b91a4745f3d2747c4100abea1e and I2170ebe67adb54d0f05f0fb8da62f506b0fdc659

Translated commit I305118e0b6ecf778d2950581eb265652ea3675ed

Translated some strings in "About Slim"

Translated commit Id7b6e52463d6d9e8cc2d709b0414c37819990e6f

Translated commits Ia86d191ac4db1e369fd3f9ac25644eb51feab67e and I234df849603f87312996db77548031354a977561

Translated commit I3f62efbf8535396bfa884becc54100caef09bf78

Translated commit Iee242943d57303aa8325c2ff4922bb6ea57e96f1

Change-Id: I301b402c3542d7575e95ccdc134479b2ddbcd416
Translated 'Expanded desktop' tile

Fixed typo with extended reboot choice :-[

Change-Id: I65d09579f0974c3256097c978502edee6b7f4c92
Settings: fix incorrect value in autobrightness adjustment

If the user drag the progress bar below the min value, the incorrect
setting will be saved since seekBar.setProgress code path does not
return to the "getItem(pos).backlight = ..." line.

Change-Id: I4796e22ba9c44315be92de4040f6cd8451bdf153
Add Camera sound toggle [1/3]

Adds a toggle to disable camera sounds.

Credits: AOKP

Change-Id: I96548f15b9f904950f775b4fb3b8b3b573993ece
Merge "Settings: fix incorrect value in autobrightness adjustment" into jb4.2
Merge "Add Camera sound toggle [1/3]" into jb4.2
Settings: make CM's adjust auto brightness configurable (2/2)

added  config_automatic_adjust_brightness_available to
config.xml to give the abillity to turn this feature off.
Reason is that some devices which are using own light sensor
systems (like some sony and htc) cannot be controlled
over that because some sensors are reporting back
wrong values.

Default value: true

but is depending on the config_automatic_brightness_available
value.

cheers

Change-Id: I0655712df25a9291e48c824657503b0cead83609