Merge "core: config: Update the description of the autoBrightnessLevels array." into jb-mr1-dev

This commit is contained in:
JP Abgrall
2012-09-11 13:58:07 -07:00
committed by Android (Google) Code Review

View File

@@ -537,17 +537,18 @@
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. <!-- 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: The N entries of this array define N + 1 control points as follows:
(1-based arrays)
Point 1: LUX <= 0 (implicit) Point 1: (0, value[1]): lux <= 0
Point 2: 0 < level[1] == LUX < level[2] 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], value[N+1]): level[N] < lux
Point N + 1: level[N] <= LUX < infinity
The control points must be strictly increasing. Each control point The control points must be strictly increasing. Each control point
corresponds to an entry in the brightness backlight values arrays. corresponds to an entry in the brightness backlight values arrays.
For example, if LUX == level[1] (first element of the levels array) 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). of the brightness values array).
Spline interpolation is used to determine the auto-brightness Spline interpolation is used to determine the auto-brightness