config.xml revision 2a091d7aa0c174986387e5d56bf97a87fe075bdb
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 51 attributes. This is used by the connectivity manager to decide which networks can coexist 52 based on the hardware --> 53 <!-- An Array of "[Connection name],[ConnectivityManager connection type], 54 [associated radio-type],[priority] --> 55 <string-array translatable="false" name="networkAttributes"> 56 <item>"wifi,1,1,1"</item> 57 <item>"mobile,0,0,0"</item> 58 <item>"mobile_mms,2,0,2"</item> 59 <item>"mobile_supl,3,0,2"</item> 60 <item>"mobile_hipri,5,0,3"</item> 61 </string-array> 62 63 <!-- This string array should be overridden by the device to present a list of radio 64 attributes. This is used by the connectivity manager to decide which networks can coexist 65 based on the hardware --> 66 <!-- An Array of "[ConnectivityManager connectionType], 67 [# simultaneous connection types]" --> 68 <string-array translatable="false" name="radioAttributes"> 69 <item>"1,1"</item> 70 <item>"0,1"</item> 71 </string-array> 72 73 <!-- List of regexpressions describing the interface (if any) that represent tetherable 74 USB interfaces. If the device doesn't want to support tething over USB this should 75 be empty. An example would be "usb.*" --> 76 <string-array translatable="false" name="config_tether_usb_regexs"> 77 </string-array> 78 79 <!-- List of regexpressions describing the interface (if any) that represent tetherable 80 Wifi interfaces. If the device doesn't want to support tethering over Wifi this 81 should be empty. An example would be "softap.*" --> 82 <string-array translatable="false" name="config_tether_wifi_regexs"> 83 </string-array> 84 85 <!-- Dhcp range (min, max) to use for tethering purposes --> 86 <string-array name="config_tether_dhcp_range"> 87 </string-array> 88 89 <!-- Flag indicating whether the keyguard should be bypassed when 90 the slider is open. This can be set or unset depending how easily 91 the slider can be opened (for example, in a pocket or purse). --> 92 <bool name="config_bypass_keyguard_if_slider_open">true</bool> 93 94 <!-- Flag indicating whether the we should enable the automatic brightness in Settings. 95 Software implementation will be used if config_hardware_auto_brightness_available is not set --> 96 <bool name="config_automatic_brightness_available">false</bool> 97 98 <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION --> 99 100 <!-- The number of degrees to rotate the display when the keyboard is open. --> 101 <integer name="config_lidOpenRotation">90</integer> 102 103 <!-- The number of degrees to rotate the display when the device is in a desk dock. 104 A value of -1 means no change in orientation by default. --> 105 <integer name="config_deskDockRotation">-1</integer> 106 107 <!-- The number of degrees to rotate the display when the device is in a car dock. 108 A value of -1 means no change in orientation by default. --> 109 <integer name="config_carDockRotation">-1</integer> 110 111 <!-- Control whether being in the desk dock (and powered) always 112 keeps the screen on. By default it stays on when plugged in to 113 AC. 0 will not keep it on; or together 1 to stay on when plugged 114 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 115 <integer name="config_deskDockKeepsScreenOn">1</integer> 116 117 <!-- Control whether being in the car dock (and powered) always 118 keeps the screen on. By default it stays on when plugged in to 119 AC. 0 will not keep it on; or together 1 to stay on when plugged 120 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 121 <integer name="config_carDockKeepsScreenOn">1</integer> 122 123 <!-- Control whether being in the desk dock should enable accelerometer based screen orientation --> 124 <bool name="config_deskDockEnablesAccelerometer">false</bool> 125 126 <!-- Control whether being in the car dock should enable accelerometer based screen orientation --> 127 <bool name="config_carDockEnablesAccelerometer">false</bool> 128 129 <!-- Indicate whether the lid state impacts the accessibility of 130 the physical keyboard. 0 means it doesn't, 1 means it is accessible 131 when the lid is open, 2 means it is accessible when the lid is 132 closed. The default is 1. --> 133 <integer name="config_lidKeyboardAccessibility">1</integer> 134 135 <!-- Indicate whether the lid state impacts the accessibility of 136 the physical keyboard. 0 means it doesn't, 1 means it is accessible 137 when the lid is open, 2 means it is accessible when the lid is 138 closed. The default is 0. --> 139 <integer name="config_lidNavigationAccessibility">0</integer> 140 141 <!-- Vibrator pattern for feedback about a long screen/key press --> 142 <integer-array name="config_longPressVibePattern"> 143 <item>0</item> 144 <item>1</item> 145 <item>20</item> 146 <item>21</item> 147 </integer-array> 148 149 <!-- Vibrator pattern for feedback about touching a virtual key --> 150 <integer-array name="config_virtualKeyVibePattern"> 151 <item>0</item> 152 <item>10</item> 153 <item>20</item> 154 <item>30</item> 155 </integer-array> 156 157 <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> 158 <integer-array name="config_keyboardTapVibePattern"> 159 <item>40</item> 160 </integer-array> 161 162 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 163 <integer-array name="config_safeModeDisabledVibePattern"> 164 <item>0</item> 165 <item>1</item> 166 <item>20</item> 167 <item>21</item> 168 </integer-array> 169 170 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 171 <integer-array name="config_safeModeEnabledVibePattern"> 172 <item>0</item> 173 <item>1</item> 174 <item>20</item> 175 <item>21</item> 176 <item>500</item> 177 <item>600</item> 178 </integer-array> 179 180 <!-- Vibrator pattern for feedback about hitting a scroll barrier --> 181 <integer-array name="config_scrollBarrierVibePattern"> 182 <item>0</item> 183 <item>15</item> 184 <item>10</item> 185 <item>10</item> 186 </integer-array> 187 188 <bool name="config_use_strict_phone_number_comparation">false</bool> 189 190 <!-- Display low battery warning when battery level dips to this value --> 191 <integer name="config_lowBatteryWarningLevel">15</integer> 192 193 <!-- Close low battery warning when battery level reaches this value --> 194 <integer name="config_lowBatteryCloseWarningLevel">20</integer> 195 196 <!-- Default color for notification LED. --> 197 <color name="config_defaultNotificationColor">#ff00ff00</color> 198 199 <!-- Default LED on time for notification LED in milliseconds. --> 200 <integer name="config_defaultNotificationLedOn">500</integer> 201 202 <!-- Default LED off time for notification LED in milliseconds. --> 203 <integer name="config_defaultNotificationLedOff">2000</integer> 204 205 <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> 206 <bool name="config_disableMenuKeyInLockScreen">false</bool> 207 208 <!-- Control whether status bar should distinguish HSPA data icon form UMTS data icon on devices --> 209 <bool name="config_hspa_data_distinguishable">false</bool> 210 211 <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. 212 The N entries of this array define N + 1 zones as follows: 213 214 Zone 0: 0 <= LUX < array[0] 215 Zone 1: array[0] <= LUX < array[1] 216 ... 217 Zone N: array[N - 1] <= LUX < array[N] 218 Zone N + 1: array[N] <= LUX < infinity 219 220 Must be overridden in platform specific overlays --> 221 <integer-array name="config_autoBrightnessLevels"> 222 </integer-array> 223 224 <!-- Array of output values for LCD backlight corresponding to the LUX values 225 in the config_autoBrightnessLevels array. This array should have size one greater 226 than the size of the config_autoBrightnessLevels array. 227 This must be overridden in platform specific overlays --> 228 <integer-array name="config_autoBrightnessLcdBacklightValues"> 229 </integer-array> 230 231 <!-- Array of output values for button backlight corresponding to the LUX values 232 in the config_autoBrightnessLevels array. This array should have size one greater 233 than the size of the config_autoBrightnessLevels array. 234 This must be overridden in platform specific overlays --> 235 <integer-array name="config_autoBrightnessButtonBacklightValues"> 236 </integer-array> 237 238 <!-- Array of output values for keyboard backlight corresponding to the LUX values 239 in the config_autoBrightnessLevels array. This array should have size one greater 240 than the size of the config_autoBrightnessLevels array. 241 This must be overridden in platform specific overlays --> 242 <integer-array name="config_autoBrightnessKeyboardBacklightValues"> 243 </integer-array> 244 245 <!-- Amount of time it takes for the light sensor to warm up in milliseconds. 246 For this time after the screen turns on, the Power Manager 247 will not debounce light sensor readings --> 248 <integer name="config_lightSensorWarmupTime">0</integer> 249 250 <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView --> 251 <bool name="config_swipeDisambiguation">true</bool> 252 253 <!-- Enables special filtering code in the framework for raw touch events 254 from the touch driver. This code exists for one particular device, 255 and should not be enabled for any others. Hopefully in the future 256 it will be removed when the lower-level touch driver generates better 257 data. --> 258 <bool name="config_filterTouchEvents">false</bool> 259 260 <!-- Component name of the default wallpaper. This will be ImageWallpaper if not 261 specified --> 262 <string name="default_wallpaper_component">@null</string> 263 264 <!-- Component name of the service providing network location support. --> 265 <string name="config_networkLocationProvider">@null</string> 266 267 <!-- Component name of the service providing geocoder API support. --> 268 <string name="config_geocodeProvider">@null</string> 269</resources> 270