diff options
| author | Danny Baumann <dannybaumann@web.de> | 2013-10-07 10:21:11 +0200 |
|---|---|---|
| committer | Danny Baumann <dannybaumann@web.de> | 2013-10-07 16:37:28 +0200 |
| commit | 975b55a87470fb94164e2a324f4e16dab4db04d0 (patch) | |
| tree | af836578078d94e2b7bac85dca540bcea8852679 /src | |
| parent | e8af307a2abacea07bfd1034b5acf8b50bc49fa4 (diff) | |
| download | android_frameworks_opt_hardware-975b55a87470fb94164e2a324f4e16dab4db04d0.tar.gz android_frameworks_opt_hardware-975b55a87470fb94164e2a324f4e16dab4db04d0.tar.bz2 android_frameworks_opt_hardware-975b55a87470fb94164e2a324f4e16dab4db04d0.zip | |
Allow different maximum vales for each gamma control.
Change-Id: I263976d442c2754d46bfad76a795dba3152d820e
Diffstat (limited to 'src')
| -rw-r--r-- | src/org/cyanogenmod/hardware/DisplayGammaCalibration.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/org/cyanogenmod/hardware/DisplayGammaCalibration.java b/src/org/cyanogenmod/hardware/DisplayGammaCalibration.java index bf5c0bb..5ac3bdb 100644 --- a/src/org/cyanogenmod/hardware/DisplayGammaCalibration.java +++ b/src/org/cyanogenmod/hardware/DisplayGammaCalibration.java @@ -64,18 +64,20 @@ public class DisplayGammaCalibration { } /* - * What's the maximum integer value we take for a color + * What's the control specific maximum integer value + * we take for a color */ - public static int getMaxValue() { + public static int getMaxValue(int controlIdx) { return -1; } /* - * What's the minimum integer value we take for a color + * What's the control specific minimum integer value + * we take for a color */ - public static int getMinValue() { + public static int getMinValue(int controlIdx) { return -1; } |
