blob: 47e653c8cadace24376a2c29d428485efd14d79a [file] [log] [blame]
<?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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
autodetected from the Configuration. -->
<bool name="config_showNavigationBar">true</bool>
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
it causes the device to wake up.
The default is false. -->
<bool name="config_lidControlsSleep">true</bool>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
should be empty. An example would be "softap.*" -->
<string-array translatable="false" name="config_tether_wifi_regexs">
<item>"wlan0"</item>
<item>"softap.*"</item>
</string-array>
<!-- Enable doze mode
ComponentName of a dream to show whenever the system would otherwise have gone to sleep. -->
<string translatable="false" name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
<!-- Type of the ambient tap sensor. Empty if ambient tap is not supported. -->
<string name="config_dozeTapSensorType" translatable="false">com.google.sensor.single_touch</string>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">g020j</string>
<!-- MMS user agent profile url -->
<string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G020J.xml</string>
<!-- 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>
<item>10000</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>10.27811</item> <!-- 0 - 1 -->
<item>25.5265</item> <!-- 1 - 2 -->
<item>32.9902384256</item> <!-- 2 - 3 -->
<item>37.3278742039</item> <!-- 3 - 4 -->
<item>40.2339130994</item> <!-- 4 - 8 -->
<item>47.3775896947</item> <!-- 8 - 12 -->
<item>52.0773980991</item> <!-- 12 - 20 -->
<item>58.9500178659</item> <!-- 20 - 33 -->
<item>67.0727661023</item> <!-- 33 - 55 -->
<item>77.4795277377</item> <!-- 55 - 90 -->
<item>90.1649821044</item> <!-- 90 - 148 -->
<item>106.199488897</item> <!-- 148 - 245 -->
<item>126.920893691</item> <!-- 245 - 403 -->
<item>155.278937975</item> <!-- 403 - 665 -->
<item>192.014446343</item> <!-- 665 - 1097 -->
<item>238.225445161</item> <!-- 1097 - 1808 -->
<item>292.196984602</item> <!-- 1808 - 2981 -->
<item>355.964092728</item> <!-- 2981 - 5000 -->
<item>431.503962344</item> <!-- 5000 - 10000 -->
<item>546.6433233</item> <!-- 10000+ -->
</array>
<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">6</integer>
<!-- Screen brightness when dozing. -->
<integer name="config_screenBrightnessDoze">34</integer>
<!-- Whether the always on display mode is available. -->
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<!-- True if the display hardware only has brightness buckets rather than a full range of
backlight values -->
<bool name="config_displayBrightnessBucketsInDoze">true</bool>
<!-- Default screen brightness setting.
Must be in the range specified by minimum and maximum. -->
<integer name="config_screenBrightnessSettingDefault">98</integer>
<!-- Default screen brightness for VR setting. Target default value: 0x0BB for EVT1.1. -->
<!-- 8 bit brightness level of 6 corresponds to the 10 bit brightness level of 0x0B6,
8 bit brightness level of 7 corresponds to the 10 bit brightness level of 0x0C1 on EVT1.1. -->
<integer name="config_screenBrightnessForVrSettingDefault">7</integer>
<integer name="config_screenBrightnessForVrSettingMinimum">6</integer>
<integer name="config_screenBrightnessForVrSettingMaximum">7</integer>
<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<!-- Maximum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness above this level. -->
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<!-- The default peak refresh rate for a given device. Change this value if you want to allow
for higher refresh rates to be automatically used out of the box -->
<integer name="config_defaultPeakRefreshRate">90</integer>
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
<integer name="config_shutdownBatteryTemperature">600</integer>
<!-- Whether or not we should show the option to show battery percentage -->
<bool name="config_battery_percentage_setting_available">true</bool>
<!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">157px</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
<dimen name="rounded_corner_radius_adjustment">25px</dimen>
<!-- Height of the status bar -->
<dimen name="status_bar_height_portrait">28dp</dimen>
<!-- Not allow to switch to higher refresh rate when (display, ambient) brightness falls into
the region defined by the two arrays -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
<item>74</item> <!-- 77% UI brightness -->
</integer-array>
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
<item>63</item>
</integer-array>
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">90</integer>
</resources>