File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
overlay/frameworks/base/core/res/res/values Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 22
22
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
23
23
<bool name =" config_automatic_brightness_available" >true</bool >
24
24
25
+ <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
26
+ The N entries of this array define N 1 zones as follows:
27
+ Zone 0: 0 <= LUX < array[0]
28
+ Zone 1: array[0] <= LUX < array[1]
29
+ ...
30
+ Zone N: array[N - 1] <= LUX < array[N]
31
+ Zone N + 1 array[N] <= LUX < infinity
32
+ Must be overridden in platform specific overlays -->
33
+ <integer-array name =" config_autoBrightnessLevels" >
34
+ <item >1</item >
35
+ <item >2</item >
36
+ <item >3</item >
37
+ <item >4</item >
38
+ <item >8</item >
39
+ <item >12</item >
40
+ <item >20</item >
41
+ <item >33</item >
42
+ <item >55</item >
43
+ <item >90</item >
44
+ <item >148</item >
45
+ <item >245</item >
46
+ <item >403</item >
47
+ <item >665</item >
48
+ <item >1097</item >
49
+ <item >1808</item >
50
+ <item >2981</item >
51
+ <item >5000</item >
52
+ <item >10000</item >
53
+ </integer-array >
54
+
25
55
<!-- Array of desired screen brightness in nits corresponding to the lux values
26
56
in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
27
57
config_screenBrightnessMaximumNits, the display brightness is defined as the measured
You can’t perform that action at this time.
0 commit comments