summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author JP Abgrall <jpa@google.com> 2012-09-11 13:58:07 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-09-11 13:58:40 -0700
commitd428e95eb5bb0fe9ee4984c89c28bea3aff1b259 (patch)
tree989e16b38684c993c4232224b6001ce302853352
parent752ef4e0f86fa1412488b6c03ff4ae8a22f0e307 (diff)
parent81985bcbe62971d835067cbca0ac1cb361dd5ff4 (diff)
Merge "core: config: Update the description of the autoBrightnessLevels array." into jb-mr1-dev
-rwxr-xr-xcore/res/res/values/config.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index f0e55102a0be..789548925779 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -537,17 +537,18 @@
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 control points as follows:
+ (1-based arrays)
- Point 1: LUX <= 0 (implicit)
- Point 2: 0 < level[1] == LUX < level[2]
+ Point 1: (0, value[1]): lux <= 0
+ Point 2: (level[1], value[2]): 0 < lux <= level[1]
+ Point 3: (level[2], value[3]): level[2] < lux <= level[3]
...
- Point N: level[N - 1] == LUX < level[N]
- Point N + 1: level[N] <= LUX < infinity
+ Point N+1: (level[N], value[N+1]): level[N] < lux
The control points must be strictly increasing. Each control point
corresponds to an entry in the brightness backlight values arrays.
For example, if LUX == level[1] (first element of the levels array)
- then the brightness will be determined by value[1] (first element
+ then the brightness will be determined by value[2] (second element
of the brightness values array).
Spline interpolation is used to determine the auto-brightness