config.xml revision 7749adfd0184b876ff6f8d1961959ca95ab82244
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2009, The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License"); 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19 20<!-- These resources are around just to allow their values to be customized 21 for different hardware and product builds. --> 22<resources> 23 <!-- Flag indicating whether the surface flinger has limited 24 alpha compositing functionality in hardware. If set, the window 25 manager will disable alpha trasformation in animations where not 26 strictly needed. --> 27 <bool name="config_sf_limitedAlpha">false</bool> 28 29 <!-- Flag indicating whether the surface flinger is inefficient 30 at performing a blur. Used by parts of the UI to turn off 31 the blur effect where it isn't worth the performance hit. --> 32 <bool name="config_sf_slowBlur">false</bool> 33 34 <!-- The duration (in milliseconds) of a short animation. --> 35 <integer name="config_shortAnimTime">150</integer> 36 37 <!-- The duration (in milliseconds) of a medium-length animation. --> 38 <integer name="config_mediumAnimTime">300</integer> 39 40 <!-- The duration (in milliseconds) of a long animation. --> 41 <integer name="config_longAnimTime">400</integer> 42 43 <!-- The duration (in milliseconds) that the radio will scan for a signal 44 when there's no network connection. If the scan doesn't timeout, use zero --> 45 <integer name="config_radioScanningTimeout">0</integer> 46 47 <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. 48 Please don't copy them, copy anything else. --> 49 50 <!-- 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 hardward --> 51 <!-- An Array of "[type-name],[associated radio-name],[priority] --> 52 <string-array translatable="false" name="networkAttributes"> 53 <item>"default,wifi,0"</item> 54 <item>"default,mobile,0"</item> 55 <item>"mms,mobile,1"</item> 56 <item>"supl,mobile,1"</item> 57 <item>"dun,mobile,1"</item> 58 <item>"hipri,mobile,2"</item> 59 </string-array> 60 61 <!-- 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 --> 62 <!-- An Array of "[radio-name],[priority] --> 63 <!-- [# simultaneous connection types]" --> 64 <string-array translatable="false" name="radioAttributes"> 65 <item>"wifi,1,1"</item> 66 <item>"mobile,0,1"</item> 67 </string-array> 68 69 <!-- Flag indicating whether the keyguard should be bypassed when 70 the slider is open. This can be set or unset depending how easily 71 the slider can be opened (for example, in a pocket or purse). --> 72 <bool name="config_bypass_keyguard_if_slider_open">true</bool> 73 74 <!-- Flag indicating whether the we should enable the automatic brightness in Settings. 75 Software implementation will be used if config_hardware_auto_brightness_available is not set --> 76 <bool name="config_automatic_brightness_available">false</bool> 77 78 <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION --> 79 80 <!-- The number of degrees to rotate the display when the keyboard is open. --> 81 <integer name="config_lidOpenRotation">90</integer> 82 83 <!-- The number of degrees to rotate the display when the device is in a desk dock. 84 A value of -1 means no change in orientation by default. --> 85 <integer name="config_deskDockRotation">-1</integer> 86 87 <!-- The number of degrees to rotate the display when the device is in a car dock. 88 A value of -1 means no change in orientation by default. --> 89 <integer name="config_carDockRotation">-1</integer> 90 91 <!-- Control whether being in the desk dock (and powered) always 92 keeps the screen on. By default it stays on when plugged in to 93 AC. 0 will not keep it on; or together 1 to stay on when plugged 94 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 95 <integer name="config_deskDockKeepsScreenOn">1</integer> 96 97 <!-- Control whether being in the car dock (and powered) always 98 keeps the screen on. By default it stays on when plugged in to 99 AC. 0 will not keep it on; or together 1 to stay on when plugged 100 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 101 <integer name="config_carDockKeepsScreenOn">1</integer> 102 103 <!-- Control whether being in the desk dock should enable accelerometer based screen orientation --> 104 <bool name="config_deskDockEnablesAccelerometer">false</bool> 105 106 <!-- Control whether being in the car dock should enable accelerometer based screen orientation --> 107 <bool name="config_carDockEnablesAccelerometer">false</bool> 108 109 <!-- Indicate whether the lid state impacts the accessibility of 110 the physical keyboard. 0 means it doesn't, 1 means it is accessible 111 when the lid is open, 2 means it is accessible when the lid is 112 closed. The default is 1. --> 113 <integer name="config_lidKeyboardAccessibility">1</integer> 114 115 <!-- Indicate whether the lid state impacts the accessibility of 116 the physical keyboard. 0 means it doesn't, 1 means it is accessible 117 when the lid is open, 2 means it is accessible when the lid is 118 closed. The default is 0. --> 119 <integer name="config_lidNavigationAccessibility">0</integer> 120 121 <!-- Vibrator pattern for feedback about a long screen/key press --> 122 <integer-array name="config_longPressVibePattern"> 123 <item>0</item> 124 <item>1</item> 125 <item>20</item> 126 <item>21</item> 127 </integer-array> 128 129 <!-- Vibrator pattern for feedback about touching a virtual key --> 130 <integer-array name="config_virtualKeyVibePattern"> 131 <item>0</item> 132 <item>10</item> 133 <item>20</item> 134 <item>30</item> 135 </integer-array> 136 137 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 138 <integer-array name="config_safeModeDisabledVibePattern"> 139 <item>0</item> 140 <item>1</item> 141 <item>20</item> 142 <item>21</item> 143 </integer-array> 144 145 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 146 <integer-array name="config_safeModeEnabledVibePattern"> 147 <item>0</item> 148 <item>1</item> 149 <item>20</item> 150 <item>21</item> 151 <item>500</item> 152 <item>600</item> 153 </integer-array> 154 155 <bool name="config_use_strict_phone_number_comparation">false</bool> 156 157 <!-- Display low battery warning when battery level dips to this value --> 158 <integer name="config_lowBatteryWarningLevel">15</integer> 159 160 <!-- Close low battery warning when battery level reaches this value --> 161 <integer name="config_lowBatteryCloseWarningLevel">20</integer> 162 163 <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> 164 <bool name="config_disableMenuKeyInLockScreen">false</bool> 165 166 <!-- Control whether status bar should distinguish HSPA data icon form UMTS data icon on devices --> 167 <bool name="config_hspa_data_distinguishable">false</bool> 168 169 <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. 170 The N entries of this array define N + 1 zones as follows: 171 172 Zone 0: 0 <= LUX < array[0] 173 Zone 1: array[0] <= LUX < array[1] 174 ... 175 Zone N: array[N - 1] <= LUX < array[N] 176 Zone N + 1: array[N] <= LUX < infinity 177 178 Must be overridden in platform specific overlays --> 179 <integer-array name="config_autoBrightnessLevels"> 180 </integer-array> 181 182 <!-- Array of output values for LCD backlight corresponding to the LUX values 183 in the config_autoBrightnessLevels array. This array should have size one greater 184 than the size of the config_autoBrightnessLevels array. 185 This must be overridden in platform specific overlays --> 186 <integer-array name="config_autoBrightnessLcdBacklightValues"> 187 </integer-array> 188 189 <!-- Array of output values for button backlight corresponding to the LUX values 190 in the config_autoBrightnessLevels array. This array should have size one greater 191 than the size of the config_autoBrightnessLevels array. 192 This must be overridden in platform specific overlays --> 193 <integer-array name="config_autoBrightnessButtonBacklightValues"> 194 </integer-array> 195 196 <!-- Array of output values for keyboard backlight corresponding to the LUX values 197 in the config_autoBrightnessLevels array. This array should have size one greater 198 than the size of the config_autoBrightnessLevels array. 199 This must be overridden in platform specific overlays --> 200 <integer-array name="config_autoBrightnessKeyboardBacklightValues"> 201 </integer-array> 202 203 <!-- Amount of time it takes for the light sensor to warm up in milliseconds. 204 For this time after the screen turns on, the Power Manager 205 will not debounce light sensor readings --> 206 <integer name="config_lightSensorWarmupTime">0</integer> 207 208 <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView --> 209 <bool name="config_swipeDisambiguation">true</bool> 210 211 <!-- Enables special filtering code in the framework for raw touch events 212 from the touch driver. This code exists for one particular device, 213 and should not be enabled for any others. Hopefully in the future 214 it will be removed when the lower-level touch driver generates better 215 data. --> 216 <bool name="config_filterTouchEvents">false</bool> 217 218 <!-- Component name of the default wallpaper. This will be ImageWallpaper if not 219 specified --> 220 <string name="default_wallpaper_component">@null</string> 221</resources> 222