diff options
author | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-06-20 17:54:24 +0200 |
---|---|---|
committer | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-06-20 17:54:24 +0200 |
commit | 17a4b1599873cdfb348608137a99fcafad4ea5eb (patch) | |
tree | f3edfa6c1c9baddabed0df9df4c4075b01a8ed40 /overlay | |
parent | e2c3a20a3c7e355c9127b64457b8d19243c260f1 (diff) | |
download | device_samsung_p5100-17a4b1599873cdfb348608137a99fcafad4ea5eb.zip device_samsung_p5100-17a4b1599873cdfb348608137a99fcafad4ea5eb.tar.gz device_samsung_p5100-17a4b1599873cdfb348608137a99fcafad4ea5eb.tar.bz2 |
autobrightness values
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 126 |
1 files changed, 97 insertions, 29 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index efb5b85..3b6853e 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -32,45 +32,71 @@ <bool name="config_automatic_brightness_available">true</bool> <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. - The N entries of this array define N 1 zones as follows: + The N entries of this array define N + 1 zones as follows: - Zone 0: 0 <= LUX < array[0] - Zone 1: array[0] <= LUX < array[1] - ... - Zone N: array[N - 1] <= LUX < array[N] - Zone N + 1 array[N] <= LUX < infinity + Zone 0: 0 <= LUX < array[0] + Zone 1: array[0] <= LUX < array[1] + ... + Zone N: array[N - 1] <= LUX < array[N] + Zone N + 1: array[N] <= LUX < infinity - Must be overridden in platform specific overlays --> - <!-- The p51xx light sensors reports 20,200,1000,2000,8000,20000,40000,70000 --> + Must be overridden in platform specific overlays + --> <integer-array name="config_autoBrightnessLevels"> - <item>200</item> - <item>1000</item> - <item>2000</item> - <item>8000</item> - <item>20000</item> - <item>40000</item> - <item>70000</item> + <item>6</item> + <item>12</item> + <item>18</item> + <item>28</item> + <item>40</item> + <item>65</item> + <item>100</item> + <item>150</item> + <item>250</item> + <item>350</item> + <item>500</item> + <item>800</item> + <item>1200</item> + <item>1800</item> + <item>3000</item> + <item>6000</item> + <item>12000</item> + <item>24000</item> + <item>36000</item> + <item>42700</item> </integer-array> <!-- Array of output values for LCD backlight corresponding to the LUX values - in the config_autoBrightnessLevels array. This array should have size one greater - than the size of the config_autoBrightnessLevels array. - This must be overridden in platform specific overlays --> + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + --> <integer-array name="config_autoBrightnessLcdBacklightValues"> - <item>35</item> - <item>80</item> - <item>150</item> - <item>162</item> - <item>175</item> - <item>198</item> - <item>226</item> - <item>255</item> + <item>20</item> + <item>23</item> + <item>26</item> + <item>29</item> + <item>35</item> + <item>40</item> + <item>45</item> + <item>50</item> + <item>55</item> + <item>60</item> + <item>80</item> + <item>100</item> + <item>120</item> + <item>150</item> + <item>180</item> + <item>200</item> + <item>210</item> + <item>220</item> + <item>230</item> + <item>240</item> + <item>250</item> </integer-array> <!-- Array of output values for button backlight corresponding to the LUX values - in the config_autoBrightnessLevels array. This array should have size one greater - than the size of the config_autoBrightnessLevels array. - This must be overridden in platform specific overlays --> + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + --> <integer-array name="config_autoBrightnessButtonBacklightValues"> <item>0</item> <item>0</item> @@ -80,6 +106,48 @@ <item>0</item> <item>0</item> <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + </integer-array> + + <!-- Array of output values for keyboard backlight corresponding to the LUX values + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + i9300 has no keyboard so all values are zero. + --> + <integer-array name="config_autoBrightnessKeyboardBacklightValues"> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> </integer-array> <!-- Minimum screen brightness allowed by the power manager. --> |