summaryrefslogtreecommitdiffstats
path: root/overlay/frameworks/base
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-18 15:32:35 +0200
committercodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-18 16:22:20 +0200
commit214d425e549db847279f55ea547aafde24b6f566 (patch)
tree56f1d6a3ba009076070c9055cab98b9e62f84ea1 /overlay/frameworks/base
parent4fc16fce78b29efc1394afd6f6ad0d184cc7c63d (diff)
downloaddevice_samsung_i9300-214d425e549db847279f55ea547aafde24b6f566.zip
device_samsung_i9300-214d425e549db847279f55ea547aafde24b6f566.tar.gz
device_samsung_i9300-214d425e549db847279f55ea547aafde24b6f566.tar.bz2
i9300: correct autobrightness values
Change-Id: Ibb3be96e9728cd12d9dcd2298b98540c516943e6
Diffstat (limited to 'overlay/frameworks/base')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml103
1 files changed, 83 insertions, 20 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 3e8b64a..b17102f 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -54,37 +54,70 @@
<bool name="config_showNavigationBar">false</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 -->
+ Must be overridden in platform specific overlays
+ -->
<integer-array name="config_autoBrightnessLevels">
- <item>12</item>
- <item>102</item>
- <item>1002</item>
- <item>10002</item>
+ <item>6</item>
+ <item>10</item>
+ <item>15</item>
+ <item>20</item>
+ <item>40</item>
+ <item>60</item>
+ <item>80</item>
+ <item>100</item>
+ <item>120</item>
+ <item>240</item>
+ <item>480</item>
+ <item>960</item>
+ <item>1920</item>
+ <item>2880</item>
+ <item>3840</item>
+ <item>7680</item>
+ <item>15360</item>
+ <item>30720</item>
+ <item>61440</item>
+ <item>121200</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.
+ 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>16</item>
+ <item>20</item>
+ <item>25</item>
+ <item>30</item>
+ <item>35</item>
<item>40</item>
+ <item>45</item>
+ <item>50</item>
+ <item>55</item>
<item>60</item>
<item>70</item>
- <item>250</item>
+ <item>80</item>
+ <item>90</item>
+ <item>100</item>
+ <item>120</item>
+ <item>140</item>
+ <item>160</item>
+ <item>180</item>
+ <item>200</item>
+ <item>220</item>
+ <item>230</item>
+ <item>255</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.
+ 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>
@@ -93,12 +126,27 @@
<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>
<!-- 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.
- Crespo has no keyboard so all values are zero.
+ 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>
@@ -107,6 +155,21 @@
<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. -->