Use a common base class for HW tuning sliders.

Change-Id: I61b458ffb08eb765f8a720657056243f56e76f17
Settings: PT-BR update translations

Change-Id: Ib5b4c92bef8a52a3f2e23b387a7854a80000b3d3
Settings: AdaptiveBacklight support

Add support for adaptive backlight technologies like NVIDIA SmartDimmer, QCOM CABL or Samsung CABC.

Patchset 2: Use internal shared prefs to store the smardimmer setting
Patchset 3: Rename to AdaptiveBacklight
Patchset 4: Reorganize settings and strings to follow design guidelines
Patchset 5: CleanUp
Patchset 6: Added suggestions
Patchset 7: Sync default value. CleanUp.

Depends	on http://review.cyanogenmod.org/#/c/48465/

Change-Id: Ib0e05770bf90b664a00e65f46d32cc9a07be1377
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Add basic-level gamma calibration to hardware tunables

Change-Id: I3223cb111889be71175dee67723ae44cba051e23
Settings: Update Japanese translation

Add missing entries.

Change-Id: I9d34884960c006069c757902c5c5ee74506ffc71
Merge "Add basic-level gamma calibration to hardware tunables" into cm-10.2
Merge "Settings: AdaptiveBacklight support" into cm-10.2
Cleanup: Use a helper class for system setting binary toggles.

Change-Id: Iad7f8a6bf85b23223e1def18e8c9eaa0f8dd253c
Cleanup: Don't use getApplicationContext() where not needed.

Change-Id: Ie2232857cf88c98c9f2b76996a500e3d3696e6e2
Cleanup: remove useless checks.

Change-Id: I73c5c432cb384cbc28d584d751d6e9955a3eda05
Fix NPE.

Backtrace looks like this:
E/AndroidRuntime(7061): java.lang.NullPointerException
E/AndroidRuntime(7061): 	at com.android.internal.util.cm.LockscreenTargetUtils.getDrawableFromResources(LockscreenTargetUtils.java:178)
E/AndroidRuntime(7061): 	at com.android.settings.cyanogenmod.LockscreenTargets.setTarget(LockscreenTargets.java:348)
E/AndroidRuntime(7061): 	at com.android.settings.cyanogenmod.LockscreenTargets.access$500(LockscreenTargets.java:55)
E/AndroidRuntime(7061): 	at com.android.settings.cyanogenmod.LockscreenTargets$2.onClick(LockscreenTargets.java:437)
E/AndroidRuntime(7061): 	at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
E/AndroidRuntime(7061): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(7061): 	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(7061): 	at android.app.ActivityThread.main(ActivityThread.java:5289)
E/AndroidRuntime(7061): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(7061): 	at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime(7061): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
E/AndroidRuntime(7061): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
E/AndroidRuntime(7061): 	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(635):   Force finishing activity com.android.settings/.SubSettings

Change-Id: I72a5c7ff498ba0066f224a44985fadc64af4511c
Merge "Use a common base class for HW tuning sliders." into cm-10.2
Settings: RU translation

Change-Id: I7a07698426478d1991866d8a9e17cbc3fce6f45a

Patch set 2: Update translation

Change-Id: I5e06da86e787a3ccd115b03e41eb88398765a687

Patch set 3: Update translation

Change-Id: Iba6740f49cd0f323c226302a2bdb2b50e5a7c073

Patch set 5: Update translation

Change-Id: Ifba800737cec8263b61acf7b0a808cd91e7d11b9
Merge "Fix NPE." into cm-10.2
Settings: ES translations

- Deleted accent in 'solo'
- Double tap
- Adaptive Backlight
- Key backlight
- Gamma adjusts

Change-Id: I7eaf7a240bca23f73c7642884bd6cdd35e219e6b
Settings: HU translation

PS2: Correcting

Change-Id: I6ed95823e135b381d8a38c5ca2dec089a33601e2
Merge "Settings: Update Japanese translation" into cm-10.2
Settings: Fix text box margin to proper gap

Fixes a long time layout glitch

Change-Id: Iba9ed2f996a3fd3222fa2a1ea0da86d6a775fd1a
Merge "Settings: PT-BR update translations" into cm-10.2
Merge "Settings: HU translation" into cm-10.2