324 lines
14 KiB
XML
324 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2009, 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. Do not translate. -->
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
|
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
|
<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 control points as follows:
|
|
(1-based arrays)
|
|
Point 1: (0, value[1]): lux <= 0
|
|
Point 2: (level[1], value[2]): 0 < lux <= level[1]
|
|
Point 3: (level[2], value[3]): level[2] < lux <= level[3]
|
|
...
|
|
Point N+1: (level[N], value[N+1]): level[N] < lux
|
|
The control points must be strictly increasing. Each control point
|
|
corresponds to an entry in the brightness backlight values arrays.
|
|
For example, if LUX == level[1] (first element of the levels array)
|
|
then the brightness will be determined by value[2] (second element
|
|
of the brightness values array).
|
|
Spline interpolation is used to determine the auto-brightness
|
|
backlight values for LUX levels between these control points.
|
|
Must be overridden in platform specific overlays -->
|
|
<integer-array name="config_autoBrightnessLevels">
|
|
<item>2</item>
|
|
<item>3</item>
|
|
<item>5</item>
|
|
<item>7</item>
|
|
<item>8</item>
|
|
<item>16</item>
|
|
<item>20</item>
|
|
<item>24</item>
|
|
<item>28</item>
|
|
<item>32</item>
|
|
<item>37</item>
|
|
<item>41</item>
|
|
<item>45</item>
|
|
<item>49</item>
|
|
<item>53</item>
|
|
<item>57</item>
|
|
<item>76</item>
|
|
<item>81</item>
|
|
<item>91</item>
|
|
<item>101</item>
|
|
<item>139</item>
|
|
<item>158</item>
|
|
<item>178</item>
|
|
<item>201</item>
|
|
<item>222</item>
|
|
<item>305</item>
|
|
<item>364</item>
|
|
<item>424</item>
|
|
<item>503</item>
|
|
<item>712</item>
|
|
<item>911</item>
|
|
<item>1113</item>
|
|
<item>1316</item>
|
|
<item>2025</item>
|
|
<item>2537</item>
|
|
<item>3039</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.
|
|
The brightness values must be between 0 and 255 and be non-decreasing.
|
|
This must be overridden in platform specific overlays -->
|
|
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
|
<item>1</item>
|
|
<item>4</item>
|
|
<item>7</item>
|
|
<item>10</item>
|
|
<item>13</item>
|
|
<item>17</item>
|
|
<item>27</item>
|
|
<item>38</item>
|
|
<item>46</item>
|
|
<item>53</item>
|
|
<item>53</item>
|
|
<item>54</item>
|
|
<item>54</item>
|
|
<item>54</item>
|
|
<item>54</item>
|
|
<item>54</item>
|
|
<item>54</item>
|
|
<item>55</item>
|
|
<item>56</item>
|
|
<item>56</item>
|
|
<item>57</item>
|
|
<item>58</item>
|
|
<item>59</item>
|
|
<item>61</item>
|
|
<item>62</item>
|
|
<item>63</item>
|
|
<item>67</item>
|
|
<item>70</item>
|
|
<item>73</item>
|
|
<item>77</item>
|
|
<item>91</item>
|
|
<item>105</item>
|
|
<item>118</item>
|
|
<item>133</item>
|
|
<item>183</item>
|
|
<item>221</item>
|
|
<item>255</item>
|
|
</integer-array>
|
|
|
|
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
|
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
|
when adapting to brighter or darker environments. This parameter controls how quickly
|
|
brightness changes occur in response to an observed change in light level that exceeds the
|
|
hysteresis threshold. -->
|
|
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
|
|
<integer name="config_autoBrightnessDarkeningLightDebounce">2000</integer>
|
|
|
|
<!-- Fast brightness animation ramp rate in brightness units per second-->
|
|
<integer name="config_brightness_ramp_rate_fast">308</integer>
|
|
|
|
<!-- Slow brightness animation ramp rate in brightness units per second-->
|
|
<integer name="config_brightness_ramp_rate_slow">246</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>
|
|
|
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
|
<integer-array name="config_longPressVibePattern">
|
|
<item>0</item>
|
|
<item>1</item>
|
|
<item>20</item>
|
|
<item>21</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
|
<integer-array name="config_virtualKeyVibePattern">
|
|
<item>0</item>
|
|
<item>10</item>
|
|
<item>20</item>
|
|
<item>30</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
|
<integer-array name="config_keyboardTapVibePattern">
|
|
<item>40</item>
|
|
</integer-array>
|
|
|
|
<string-array name="config_mobile_tcp_buffers">
|
|
<item>lte:524288,1048576,2097152,262144,524288,1048576</item>
|
|
<item>lte_ca:524288,1048576,2097152,262144,524288,1048576</item>
|
|
<item>umts:4094,87380,524288,4096,16384,524288</item>
|
|
<item>hspa:4094,87380,524288,4096,16384,524288</item>
|
|
<item>hsupa:4094,87380,524288,4096,16384,524288</item>
|
|
<item>hsdpa:4094,87380,524288,4096,16384,524288</item>
|
|
<item>hspap:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>edge:4093,26280,35040,4096,16384,35040</item>
|
|
<item>gprs:4092,8760,11680,4096,8760,11680</item>
|
|
<item>evdo:4094,87380,524288,4096,16384,262144</item>
|
|
</string-array>
|
|
|
|
<!-- Array of allowable ConnectivityManager network types for tethering -->
|
|
<!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
|
|
[0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
|
|
<integer-array translatable="false" name="config_tether_upstream_types">
|
|
<item>1</item>
|
|
<item>0</item>
|
|
<item>5</item>
|
|
<item>7</item>
|
|
</integer-array>
|
|
|
|
<!-- This string array should be overridden by the device to present a list of network
|
|
attributes. This is used by the connectivity manager to decide which networks can coexist
|
|
based on the hardware -->
|
|
<!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
|
|
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
|
|
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
|
|
before automatically restore the default connection. Set -1 if the connection
|
|
does not require auto-restore. -->
|
|
<!-- the 6th element indicates boot-time dependency-met value. -->
|
|
<string-array translatable="false" name="networkAttributes">
|
|
<item>wifi,1,1,1,-1,true</item>
|
|
<item>mobile,0,0,0,-1,true</item>
|
|
<item>mobile_mms,2,0,2,300000,true</item>
|
|
<item>mobile_supl,3,0,2,60000,true</item>
|
|
<item>mobile_dun,4,0,2,60000,true</item>
|
|
<item>mobile_hipri,5,0,3,60000,true</item>
|
|
<item>mobile_fota,10,0,2,60000,true</item>
|
|
<item>mobile_ims,11,0,-1,-1,true</item>
|
|
<item>mobile_cbs,12,0,2,60000,true</item>
|
|
<item>bluetooth,7,7,2,-1,true</item>
|
|
<item>ethernet,9,9,4,-1,true</item>
|
|
<item>wifi_p2p,13,1,0,-1,true</item>
|
|
<item>mobile_ia,14,0,2,-1,true</item>
|
|
<item>mobile_emergency,15,0,2,-1,true</item>
|
|
<item>mobile_dm,20,0,3,60000,true</item>
|
|
<item>mobile_wap,21,0,3,60000,true</item>
|
|
<item>mobile_net,22,0,3,60000,true</item>
|
|
<item>mobile_cmmail,23,0,3,60000,true</item>
|
|
<item>mobile_rcse,24,0,3,60000,true</item>
|
|
<item>mobile_xcap,25,0,3,60000,true</item>
|
|
<item>mobile_rcs,26,0,3,60000,true</item>
|
|
<item>mobile_bip,27,0,3,60000,true</item>
|
|
<item>mobile_vsim,28,0,-1,60000,true</item>
|
|
<item>mobile_preempt,29,0,9,60000,true</item>
|
|
</string-array>
|
|
|
|
<!-- This string array should be overridden by the device to present a list of radio
|
|
attributes. This is used by the connectivity manager to decide which networks can coexist
|
|
based on the hardware -->
|
|
<!-- An Array of "[ConnectivityManager connectionType],
|
|
[# simultaneous connection types]" -->
|
|
<string-array translatable="false" name="radioAttributes">
|
|
<item>1,1</item>
|
|
<item>0,1</item>
|
|
<item>7,1</item>
|
|
<item>9,1</item>
|
|
</string-array>
|
|
|
|
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
|
USB interfaces. If the device doesn't want to support tething over USB this should
|
|
be empty. An example would be "usb.*" -->
|
|
<string-array translatable="false" name="config_tether_usb_regexs">
|
|
<item>"rndis\\d"</item>
|
|
</string-array>
|
|
|
|
<!-- 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>"ap\\d"</item>
|
|
</string-array>
|
|
|
|
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
|
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
|
|
should be empty. -->
|
|
<string-array translatable="false" name="config_tether_bluetooth_regexs">
|
|
<item>"bt-pan"</item>
|
|
<item>"bt-dun"</item>
|
|
</string-array>
|
|
|
|
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
|
|
on the headphone/microphone jack. When false use the older uevent framework. -->
|
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
|
|
|
<!-- Is the device capable of hot swapping an ICC Card -->
|
|
<bool name="config_hotswapCapable">true</bool>
|
|
|
|
<!-- Default list of files pinned by the Pinner Service -->
|
|
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
|
|
<item>"/system/framework/arm/boot.oat"</item>
|
|
<item>"/system/framework/oat/arm/services.odex"</item>
|
|
<item>"/system/framework/arm/boot-framework.oat"</item>
|
|
<item>"/system/framework/arm/boot-core-libart.oat"</item>
|
|
</string-array>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- Whether device supports double tap to wake -->
|
|
<bool name="config_supportDoubleTapWake">true</bool>
|
|
|
|
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently in hardware. -->
|
|
<bool name="config_setColorTransformAccelerated">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>
|
|
|
|
<!-- Boolean indicating if restoring network selection should be skipped -->
|
|
<!-- The restoring is handled by modem if it is true-->
|
|
<bool name="skip_restoring_network_selection">true</bool>
|
|
|
|
<!-- Should the pinner service pin the Camera application? -->
|
|
<bool name="config_pinnerCameraApp">true</bool>
|
|
|
|
<!-- Should the pinner service pin the Home application? -->
|
|
<bool name="config_pinnerHomeApp">true</bool>
|
|
|
|
<!-- 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_dozeAfterScreenOffByDefault">true</bool>
|
|
|
|
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
|
device from the display on/off state.
|
|
When false, autosuspend_disable() will be called before the display is turned on
|
|
and autosuspend_enable() will be called after the display is turned off.
|
|
This mode provides best compatibility for devices using legacy power management
|
|
features such as early suspend / late resume.
|
|
When true, autosuspend_display() and autosuspend_enable() will be called
|
|
independently of whether the display is being turned on or off. This mode
|
|
enables the power manager to suspend the application processor while the
|
|
display is on.
|
|
This resource should be set to "true" when a doze component has been specified
|
|
to maximize power savings but not all devices support it.
|
|
Refer to autosuspend.h for details.
|
|
-->
|
|
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
|
|
|
|
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
|
May be less than the minimum allowed brightness setting
|
|
that can be set by the user. -->
|
|
<integer name="config_screenBrightnessDoze">17</integer>
|
|
</resources>
|