| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| ** Copyright 2016, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License"); |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| */ |
| --> |
| |
| <!-- These resources are around just to allow their values to be customized |
| for different hardware and product builds. --> |
| <resources> |
| |
| <!-- MMS user agent string --> |
| <string name="config_mms_user_agent" translatable="false">g011a</string> |
| <!-- MMS user agent prolfile url --> |
| <string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G011A.xml</string> |
| |
| <!-- Default screen brightness for VR setting. Default value: 0x58 => 88. --> |
| <integer name="config_screenBrightnessForVrSettingDefault">88</integer> |
| |
| <!-- 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: |
| |
| 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 --> |
| <integer-array name="config_autoBrightnessLevels"> |
| <item>1</item> |
| <item>2</item> |
| <item>3</item> |
| <item>4</item> |
| <item>8</item> |
| <item>12</item> |
| <item>20</item> |
| <item>33</item> |
| <item>55</item> |
| <item>90</item> |
| <item>148</item> |
| <item>245</item> |
| <item>403</item> |
| <item>665</item> |
| <item>1097</item> |
| <item>1808</item> |
| <item>2981</item> |
| <item>5000</item> |
| </integer-array> |
| |
| <!-- Array of desired screen brightness in nits corresponding to the lux values |
| in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and |
| config_screenBrightnessMaximumNits, the display brightness is defined as the measured |
| brightness of an all-white image. |
| |
| If this is defined then: |
| - config_autoBrightnessLcdBacklightValues should not be defined |
| - config_screenBrightnessNits must be defined |
| - config_screenBrightnessBacklight must be defined |
| |
| This array should have size one greater than the size of the config_autoBrightnessLevels |
| array. The brightness values must be non-negative and non-decreasing. This must be |
| overridden in platform specific overlays --> |
| <array name="config_autoBrightnessDisplayValuesNits"> |
| <item>14.22825</item> <!-- 0-1 --> |
| <item>17.92821</item> <!-- 1-2 --> |
| <item>21.0392</item> <!-- 2-3 --> |
| <item>23.454172</item> <!-- 3-4 --> |
| <item>25.448406</item> <!-- 4-8 --> |
| <item>31.200361</item> <!-- 8-12 --> |
| <item>35.231995</item> <!-- 12-20 --> |
| <item>41.076897</item> <!-- 20-33 --> |
| <item>47.72592</item> <!-- 33-55 --> |
| <item>55.562805</item> <!-- 55-90 --> |
| <item>64.97754</item> <!-- 90-148 --> |
| <item>77.0652</item> <!-- 148-245 --> |
| <item>94.4501</item> <!-- 245-403 --> |
| <item>117.607216</item> <!-- 403-665 --> |
| <item>149.78299</item> <!-- 665-1097 --> |
| <item>197.58708</item> <!-- 1097-1808 --> |
| <item>254.74942</item> <!-- 1808-2981 --> |
| <item>320.71716</item> <!-- 2981-5000 --> |
| <item>395.74274</item> <!-- 5000+ --> |
| </array> |
| |
| <!-- An array describing the screen's backlight values corresponding to the brightness |
| values in the config_screenBrightnessNits array. |
| |
| This array should be equal in size to config_screenBrightnessBacklight. --> |
| <integer-array name="config_screenBrightnessBacklight"> |
| <item>0</item> |
| <item>15</item> |
| <item>30</item> |
| <item>45</item> |
| <item>60</item> |
| <item>75</item> |
| <item>90</item> |
| <item>105</item> |
| <item>120</item> |
| <item>135</item> |
| <item>150</item> |
| <item>165</item> |
| <item>180</item> |
| <item>195</item> |
| <item>210</item> |
| <item>225</item> |
| <item>240</item> |
| <item>255</item> |
| </integer-array> |
| |
| <!-- An array of floats describing the screen brightness in nits corresponding to the backlight |
| values in the config_screenBrightnessBacklight array. On OLED displays these values |
| should be measured with an all white image while the display is in the fully on state. |
| Note that this value should *not* reflect the maximum brightness value for any high |
| brightness modes but only the maximum brightness value obtainable in a sustainable manner. |
| |
| This array should be equal in size to config_screenBrightnessBacklight --> |
| <array name="config_screenBrightnessNits"> |
| <item>0</item> |
| <item>26.11</item> |
| <item>50.5</item> |
| <item>74.17</item> |
| <item>96.89</item> |
| <item>118.3</item> |
| <item>139.8</item> |
| <item>162.9</item> |
| <item>189.8</item> |
| <item>217.4</item> |
| <item>240.4</item> |
| <item>265.3</item> |
| <item>288.7</item> |
| <item>316</item> |
| <item>340.8</item> |
| <item>357.9</item> |
| <item>376.2</item> |
| <item>392.9</item> |
| </array> |
| |
| <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. --> |
| <integer name="config_shutdownBatteryTemperature">600</integer> |
| |
| <!-- Minimum screen brightness allowed by the power manager. --> |
| <integer name="config_screenBrightnessDim">6</integer> |
| |
| <!-- Screen brightness when dozing. --> |
| <integer name="config_screenBrightnessDoze">13</integer> |
| |
| <!-- Minimum screen brightness setting allowed by power manager. |
| The user is forbidden from setting the brightness below this level. |
| Equivalent to 1/255. --> |
| <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item> |
| |
| <!-- Maximum screen brightness allowed by the power manager. |
| The user is forbidden from setting the brightness above this level. |
| This value is a fraction between 3.5% and 100%. --> |
| <item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item> |
| |
| <!-- Default screen brightness setting |
| Must be in the range specified by minimum and maximum. |
| Equivalent to 98/255 (default for this device) --> |
| <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.38188976378</item> |
| |
| <!-- Values for USB port setting. in format of bootmode:current function:new function --> |
| <string-array translatable="false" name="config_oemUsbModeOverride"> |
| <item>"usbradio:adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi"</item> |
| <item>"usbradio:mtp,adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi"</item> |
| <item>"usbradio:mtp:diag,serial_cdev,rmnet_gsi:diag,serial_cdev,rmnet_gsi"</item> |
| <item>"usbradio:rndis,adb:rndis,diag,adb:diag,serial_cdev,rmnet_gsi"</item> |
| <item>"usbradio:rndis:rndis,diag:diag,serial_cdev,rmnet_gsi"</item> |
| </string-array> |
| |
| <!-- Vibrator pattern for feedback about a long screen/key press --> |
| <integer-array name="config_longPressVibePattern"> |
| <item>8</item> |
| </integer-array> |
| |
| <!-- Whether the display blanks itself when transitioning from a doze to a non-doze state --> |
| <bool name="config_displayBlanksAfterDoze">true</bool> |
| |
| <!-- Delay that allows some content to arrive at the display before switching |
| from DOZE to ON. --> |
| <integer name="config_wakeUpDelayDoze">50</integer> |
| |
| <!-- If true, the doze component is not started until after the screen has been |
| turned off and the screen off animation has been performed. --> |
| <bool name="config_dozeAfterScreenOff">true</bool> |
| </resources> |