summaryrefslogtreecommitdiffstats
path: root/CrespoParts
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2012-01-17 17:59:55 +0100
committerKalimochoAz <calimochoazucarado@gmail.com>2012-01-17 17:59:55 +0100
commit4ed86b1ff8611a5c1dac02ca3fbeb37c46c139a2 (patch)
treee9a1110101289b5693adb61551d88c010e458262 /CrespoParts
parentd384536d76e4ec8c1a478f8b1106a5ba2344a673 (diff)
downloaddevice_samsung_crespo-4ed86b1ff8611a5c1dac02ca3fbeb37c46c139a2.tar.gz
device_samsung_crespo-4ed86b1ff8611a5c1dac02ca3fbeb37c46c139a2.tar.bz2
device_samsung_crespo-4ed86b1ff8611a5c1dac02ca3fbeb37c46c139a2.zip
Update color sysfs naming
Change-Id: I7d0fbc651cb791b3060a123033adc9d31f6d3755
Diffstat (limited to 'CrespoParts')
-rw-r--r--CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java6
-rw-r--r--CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java8
2 files changed, 7 insertions, 7 deletions
diff --git a/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java b/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
index 4c9cd41..6db5bb0 100644
--- a/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
+++ b/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
@@ -47,9 +47,9 @@ public class ColorTuningPreference extends DialogPreference {
};
private static final String[] FILE_PATH = new String[] {
- "/sys/class/misc/tl2796_color/red_multiplier",
- "/sys/class/misc/tl2796_color/green_multiplier",
- "/sys/class/misc/tl2796_color/blue_multiplier"
+ "/sys/class/misc/samoled_color/red_multiplier",
+ "/sys/class/misc/samoled_color/green_multiplier",
+ "/sys/class/misc/samoled_color/blue_multiplier"
};
private ColorSeekBar mSeekBars[] = new ColorSeekBar[3];
diff --git a/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java b/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java
index 12fb781..bfbc62e 100644
--- a/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java
+++ b/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java
@@ -47,16 +47,16 @@ public class GammaTuningPreference extends DialogPreference {
};
private static final String[] FILE_PATH = new String[] {
- "/sys/class/misc/tl2796_color/red_v1_offset",
- "/sys/class/misc/tl2796_color/green_v1_offset",
- "/sys/class/misc/tl2796_color/blue_v1_offset"
+ "/sys/class/misc/samoled_color/red_v1_offset",
+ "/sys/class/misc/samoled_color/green_v1_offset",
+ "/sys/class/misc/samoled_color/blue_v1_offset"
};
private GammaSeekBar mSeekBars[] = new GammaSeekBar[3];
private static final int MAX_VALUE = 80;
- private static final int OFFSET_VALUE = 60;
+ private static final int OFFSET_VALUE = 0;
// Track instances to know when to restore original color
// (when the orientation changes, a new dialog is created before the old one