Use a common base class for HW tuning sliders.

Change-Id: I61b458ffb08eb765f8a720657056243f56e76f17
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>
Settings: Update Japanese translation

Add missing entries.

Change-Id: I9d34884960c006069c757902c5c5ee74506ffc71
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
Merge pull request #7 from torrented/cm-10.2

Merge Request #1
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
Merge pull request #11 from CyanogenMod/cm-10.2

Cm 10.2
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
Merge pull request #12 from CyanogenMod/cm-10.2

Cm 10.2
Fix RAM bar color for first type
RAM bar cleanup
Merge "Settings: Update Japanese translation" into cm-10.2
Redone Interface UI
Update Japanese translation
Japanese trans.