summaryrefslogtreecommitdiffstats
path: root/CrespoParts
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2012-01-20 23:13:15 +0300
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-01-20 23:13:15 +0300
commitef2d5601a3df18f3b08151fc25f102c207cfdb53 (patch)
treed591fb5417dc42b2e84baff0b6ad5f3cc536a7c4 /CrespoParts
parent356245d6c58f7030278d5537a8256a8de8f62153 (diff)
parent4ed86b1ff8611a5c1dac02ca3fbeb37c46c139a2 (diff)
downloaddevice_samsung_crespo-ef2d5601a3df18f3b08151fc25f102c207cfdb53.zip
device_samsung_crespo-ef2d5601a3df18f3b08151fc25f102c207cfdb53.tar.gz
device_samsung_crespo-ef2d5601a3df18f3b08151fc25f102c207cfdb53.tar.bz2
Merge "Update color sysfs naming" into ics
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