Add hardware tunables (gamma, color, vibration strength).

Change-Id: I44e3e4e6cb444498a7c56048618cd92a0e2b8e59

Conflicts:

	AndroidManifest.xml
	res/values/mahdi_arrays.xml
	res/values/mahdi_strings.xml
	res/xml/settings_headers.xml
Remove 'More device settings' menu

* Cleanup display settings ghetto:
   - Move Brightness to the top
   - Create display category
   - Create advanced category

Change-Id: I86cd84f6f6c408b26c04d92529e9a031c4fed1f7

Conflicts:

	res/xml/display_settings.xml
	res/xml/settings_headers.xml
	res/xml/sound_settings.xml
	src/com/android/settings/mahdi/service/BootReceiver.java
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>

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/DisplaySettings.java
	src/com/android/settings/cyanogenmod/BootReceiver.java
DisplaySettings: Add hardware-framework support for tap-to-wake

Since we have tap-to-sleep globally, might as well support the
wake gesture as a standalone thing through the HAF. Place it in
"Display".

Change-Id: I6facc2334ff9e80077581c54c428476594e91528
Allow setting button and keyboard backlight brightness and button timeout.

Change-Id: I925fd9d9c02b86d8e93c8b9e25870433f7c20bde

Conflicts:

	res/values/mahdi_strings.xml
Revert "Settings: add Advanced menu for device-specific settings app"

This reverts commit bdc0024a6c49fa4ca46b6bfd02fc7f11e184ece5.

Conflicts:
	res/values/mahdi_strings.xml
	src/com/android/settings/Settings.java

Conflicts:

	res/xml/settings_headers.xml
DisplaySettings: Add hardware-framework support for color enhancement

Change-Id: I9fa4e7409266ce9e658c93ae32940050cfe437d2

Conflicts:

	res/values/mahdi_strings.xml
	src/com/android/settings/DisplaySettings.java
Revert "Settings: apple can do...we can do as well"

This reverts commit f5cddfb745f595f1f7bc823886e4d624e9449818.
Revert "Settings: add development animation transition mode 0.75 and 0.25"

This reverts commit d03ce207e6a5f1eb6c4e8651c6c0f272ef71e643.
Settings: Use a seekbar preference to allow setting arbitrary animation scale values
Settings: Replace the single-option menu with a switch in cast screen
Add preferences for high touch sensitivity

Change-Id: I07d7f316d6d6e2679dbb12224ebfe0f3ac815150

Conflicts:
	src/com/android/settings/DisplaySettings.java
Launch SuperSU from Settings

If SuperSU is installed, show an entry in Settings below
"Developer options", which launches SuperSU when tapped.
At boot time SuperSU will detect if com.android.settings
contains the resources from this patch, and if so it
will hide itself from the launcher. This was implemented
in v1.85, so we only show the entry if the installed
SuperSU version is at least that.

Change-Id: I1796d92458587b9e961d5d8e6d58099e8367834d

Conflicts:

	res/drawable-hdpi/ic_settings_supersu.png
	res/drawable-mdpi/ic_settings_supersu.png
	res/drawable-xhdpi/ic_settings_supersu.png
Hide SuperUser if SupenSU is installed

Change-Id: I9765d7b1e3a877651e70a9a32f002a288d79c1ce
Settings : Use split action bar when entering profiles externally

Change-Id: I2a93ea98d73d76cdc277cdf4f3a15bb5c4c4d9f4
Animation scale: fix slider preference min/max
Fix: MDPI image for SuperSU

Signed-off-by: Chintan Shah <cgintan1998@gmail.com>
Settings: added summary for increasing ringtone pref

Show enabled/disabled

Change-Id: Ia5803c03c8f7fdbcd450900861b95597b8b05f64
DisplaySettings: fix removing High Touch Sensitivity on devices that don't support it
Settings: Forward port Performance settings

Change-Id: Ib510b35fc2763c6942737afa33873aa5d349a173

Performance settings: remove dithering setting

This setting has no effect in CM10.2, as SurfaceFlinger has now been
taught to automatically Do The Right Thing [tm] with regards to deciding
when to enable surface dithering.

Change-Id: I67fba732440507c1209f2793d826badd4b4d34d5

This commit also includes:

Performance profiles
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/9ddc513445e73a446d27ade6522aa5f7b334c4d6

Settings: QS performance profiles tile
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/eb2f17f9d87108476c88174a11fcd3a66a3a4227

Brings performance settings up-to-date with cm-10.2
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/78c05083ba8b386d7d86e4ee708f41a07a43dc1c

Settings: Apply Processor settings to all cpus
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/8e38552bd6d597034d5238c8fd4a989b09b11838

settings: performance: Update get current values in Processor view
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/00978161d983dc8b627e0c825ea3eede704f83f4

settings: Cleanup and add auto power profiles option
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/8ad7910b3e519bbef44d2a873056c05b4509427c

Conflicts:

	AndroidManifest.xml
	res/values/mahdi_config.xml
	res/values/mahdi_strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/Settings.java
	src/com/android/settings/mahdi/quicksettings/QuickSettingsUtil.java