1
<?xml version="1.0" encoding="utf-8"?>
4
** Copyright 2013, The Android Open Source Project
6
** Licensed under the Apache License, Version 2.0 (the "License");
7
** you may not use this file except in compliance with the License.
8
** You may obtain a copy of the License at
10
** http://www.apache.org/licenses/LICENSE-2.0
12
** Unless required by applicable law or agreed to in writing, software
13
** distributed under the License is distributed on an "AS IS" BASIS,
14
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
** See the License for the specific language governing permissions and
16
** limitations under the License.
20
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
22
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
23
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
24
<bool name="config_automatic_brightness_available">true</bool>
26
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
27
The N entries of this array define N 1 zones as follows:
29
Zone 0: 0 <= LUX < array[0]
30
Zone 1: array[0] <= LUX < array[1]
32
Zone N: array[N - 1] <= LUX < array[N]
33
Zone N + 1 array[N] <= LUX < infinity
35
Must be overridden in platform specific overlays -->
36
<integer-array name="config_autoBrightnessLevels">
48
<!-- Array of output values for LCD backlight corresponding to the LUX values
49
in the config_autoBrightnessLevels array. This array should have size one greater
50
than the size of the config_autoBrightnessLevels array.
51
This must be overridden in platform specific overlays -->
52
<integer-array name="config_autoBrightnessLcdBacklightValues">
53
<item>13</item> <!-- 0-1 -->
54
<item>26</item> <!-- 1-4 -->
55
<item>73</item> <!-- 4-40 -->
56
<item>88</item> <!-- 40-350 -->
57
<item>130</item> <!-- 350-600 -->
58
<item>167</item> <!-- 600-1000 -->
59
<item>204</item> <!-- 1000-1600 -->
60
<item>240</item> <!-- 1600-3000 -->
61
<item>254</item> <!-- 3000-10000 -->
62
<item>255</item> <!-- 10000+ -->
65
<!-- Minimum screen brightness allowed by the power manager. -->
66
<integer name="config_screenBrightnessDim">1</integer>
68
<!-- Default screen brightness setting.
69
Must be in the range specified by minimum and maximum. -->
70
<integer name="config_screenBrightnessSettingDefault">82</integer>
72
<!-- Minimum screen brightness setting allowed by the power manager.
73
The user is forbidden from setting the brightness below this level. -->
74
<integer name="config_screenBrightnessSettingMinimum">1</integer>
76
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
77
<integer name="config_shutdownBatteryTemperature">600</integer>