config.xml revision 407f625a9b8e356e765a5ec587c443af1f3aadb5
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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> 23 <!-- Component to be used as the status bar service. Must implement the IStatusBar 24 interface. This name is in the ComponentName flattened format (package/class) --> 25 <string name="config_statusBarComponent">com.android.systemui/com.android.systemui.statusbar.StatusBarService</string> 26 27 <!-- Do not translate. Defines the slots for the right-hand side icons. That is to say, the 28 icons in the status bar that are not notifications. --> 29 <string-array name="config_statusBarIcons"> 30 <item><xliff:g id="id">ime</xliff:g></item> 31 <item><xliff:g id="id">sync_failing</xliff:g></item> 32 <item><xliff:g id="id">sync_active</xliff:g></item> 33 <item><xliff:g id="id">gps</xliff:g></item> 34 <item><xliff:g id="id">bluetooth</xliff:g></item> 35 <item><xliff:g id="id">tty</xliff:g></item> 36 <item><xliff:g id="id">speakerphone</xliff:g></item> 37 <item><xliff:g id="id">mute</xliff:g></item> 38 <item><xliff:g id="id">volume</xliff:g></item> 39 <item><xliff:g id="id">wifi</xliff:g></item> 40 <item><xliff:g id="id">cdma_eri</xliff:g></item> 41 <item><xliff:g id="id">data_connection</xliff:g></item> 42 <item><xliff:g id="id">phone_evdo_signal</xliff:g></item> 43 <item><xliff:g id="id">phone_signal</xliff:g></item> 44 <item><xliff:g id="id">battery</xliff:g></item> 45 <item><xliff:g id="id">alarm_clock</xliff:g></item> 46 <item><xliff:g id="id">secure</xliff:g></item> 47 <item><xliff:g id="id">clock</xliff:g></item> 48 </string-array> 49 50 <!-- Flag indicating whether the surface flinger has limited 51 alpha compositing functionality in hardware. If set, the window 52 manager will disable alpha trasformation in animations where not 53 strictly needed. --> 54 <bool name="config_sf_limitedAlpha">false</bool> 55 56 <!-- Flag indicating whether the surface flinger is inefficient 57 at performing a blur. Used by parts of the UI to turn off 58 the blur effect where it isn't worth the performance hit. --> 59 <bool name="config_sf_slowBlur">false</bool> 60 61 <!-- The duration (in milliseconds) of a short animation. --> 62 <integer name="config_shortAnimTime">150</integer> 63 64 <!-- The duration (in milliseconds) of a medium-length animation. --> 65 <integer name="config_mediumAnimTime">300</integer> 66 67 <!-- The duration (in milliseconds) of a long animation. --> 68 <integer name="config_longAnimTime">400</integer> 69 70 <!-- The duration (in milliseconds) that the radio will scan for a signal 71 when there's no network connection. If the scan doesn't timeout, use zero --> 72 <integer name="config_radioScanningTimeout">0</integer> 73 74 <!-- A product with no SD card == not removable. --> 75 <bool name="config_externalStorageRemovable" product="nosdcard">false</bool> 76 <!-- Configures whether the primary external storage device is 77 removable. For example, if external storage is on an SD card, 78 it is removable; if it is built in to the device, it is not removable. 79 The default product has external storage on an SD card, which is 80 removable. --> 81 <bool name="config_externalStorageRemovable" product="default">true</bool> 82 83 <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. 84 Please don't copy them, copy anything else. --> 85 86 <!-- This string array should be overridden by the device to present a list of network 87 attributes. This is used by the connectivity manager to decide which networks can coexist 88 based on the hardware --> 89 <!-- An Array of "[Connection name],[ConnectivityManager connection type], 90 [associated radio-type],[priority] --> 91 <string-array translatable="false" name="networkAttributes"> 92 <item>"wifi,1,1,1"</item> 93 <item>"mobile,0,0,0"</item> 94 <item>"mobile_mms,2,0,2"</item> 95 <item>"mobile_supl,3,0,2"</item> 96 <item>"mobile_hipri,5,0,3"</item> 97 </string-array> 98 99 <!-- This string array should be overridden by the device to present a list of radio 100 attributes. This is used by the connectivity manager to decide which networks can coexist 101 based on the hardware --> 102 <!-- An Array of "[ConnectivityManager connectionType], 103 [# simultaneous connection types]" --> 104 <string-array translatable="false" name="radioAttributes"> 105 <item>"1,1"</item> 106 <item>"0,1"</item> 107 </string-array> 108 109 <!-- List of regexpressions describing the interface (if any) that represent tetherable 110 USB interfaces. If the device doesn't want to support tething over USB this should 111 be empty. An example would be "usb.*" --> 112 <string-array translatable="false" name="config_tether_usb_regexs"> 113 </string-array> 114 115 <!-- List of regexpressions describing the interface (if any) that represent tetherable 116 Wifi interfaces. If the device doesn't want to support tethering over Wifi this 117 should be empty. An example would be "softap.*" --> 118 <string-array translatable="false" name="config_tether_wifi_regexs"> 119 </string-array> 120 121 <!-- Dhcp range (min, max) to use for tethering purposes --> 122 <string-array translatable="false" name="config_tether_dhcp_range"> 123 </string-array> 124 125 <!-- Regex array of allowable upstream ifaces for tethering - for example if you want 126 tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array --> 127 <string-array translatable="false" name="config_tether_upstream_regexs"> 128 </string-array> 129 130 <!-- Boolean indicating if we require the use of DUN on mobile for tethering. 131 Note that this defaults to false so that if you move to a carrier that 132 hasn't configured anything tethering will still work. If you'd rather 133 make the device untetherable on unconfigured devices, set to true --> 134 <bool translatable="false" name="config_tether_dun_required">false</bool> 135 136 <!-- String containing the apn value for tethering. May be overriden by secure settings 137 TETHER_DUN_APN. Value is a comma separated series of strings: 138 "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" 139 note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> 140 <string translatable="false" name="config_tether_apndata"></string> 141 142 143 <!-- Flag indicating whether the keyguard should be bypassed when 144 the slider is open. This can be set or unset depending how easily 145 the slider can be opened (for example, in a pocket or purse). --> 146 <bool name="config_bypass_keyguard_if_slider_open">true</bool> 147 148 <!-- Flag indicating whether the we should enable the automatic brightness in Settings. 149 Software implementation will be used if config_hardware_auto_brightness_available is not set --> 150 <bool name="config_automatic_brightness_available">false</bool> 151 152 <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION --> 153 154 <!-- The number of degrees to rotate the display when the keyboard is open. --> 155 <integer name="config_lidOpenRotation">90</integer> 156 157 <!-- The number of degrees to rotate the display when the device is in a desk dock. 158 A value of -1 means no change in orientation by default. --> 159 <integer name="config_deskDockRotation">-1</integer> 160 161 <!-- The number of degrees to rotate the display when the device is in a car dock. 162 A value of -1 means no change in orientation by default. --> 163 <integer name="config_carDockRotation">-1</integer> 164 165 <!-- Control whether being in the desk dock (and powered) always 166 keeps the screen on. By default it stays on when plugged in to 167 AC. 0 will not keep it on; or together 1 to stay on when plugged 168 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 169 <integer name="config_deskDockKeepsScreenOn">1</integer> 170 171 <!-- Control whether being in the car dock (and powered) always 172 keeps the screen on. By default it stays on when plugged in to 173 AC. 0 will not keep it on; or together 1 to stay on when plugged 174 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 175 <integer name="config_carDockKeepsScreenOn">1</integer> 176 177 <!-- Control whether being in the desk dock should enable accelerometer 178 based screen orientation. Note this should probably default to true 179 like car dock, but we haven't had a chance to test it. --> 180 <bool name="config_deskDockEnablesAccelerometer">false</bool> 181 182 <!-- Control whether being in the car dock should enable accelerometer based 183 screen orientation. This defaults to true because putting a device in 184 a car dock make the accelerometer more a physical input (like a lid). --> 185 <bool name="config_carDockEnablesAccelerometer">true</bool> 186 187 <!-- Indicate whether the lid state impacts the accessibility of 188 the physical keyboard. 0 means it doesn't, 1 means it is accessible 189 when the lid is open, 2 means it is accessible when the lid is 190 closed. The default is 1. --> 191 <integer name="config_lidKeyboardAccessibility">1</integer> 192 193 <!-- Indicate whether the lid state impacts the accessibility of 194 the physical keyboard. 0 means it doesn't, 1 means it is accessible 195 when the lid is open, 2 means it is accessible when the lid is 196 closed. The default is 0. --> 197 <integer name="config_lidNavigationAccessibility">0</integer> 198 199 <!-- Indicate whether the SD card is accessible without removing the battery. --> 200 <bool name="config_batterySdCardAccessibility">false</bool> 201 202 <!-- Vibrator pattern for feedback about a long screen/key press --> 203 <integer-array name="config_longPressVibePattern"> 204 <item>0</item> 205 <item>1</item> 206 <item>20</item> 207 <item>21</item> 208 </integer-array> 209 210 <!-- Vibrator pattern for feedback about touching a virtual key --> 211 <integer-array name="config_virtualKeyVibePattern"> 212 <item>0</item> 213 <item>10</item> 214 <item>20</item> 215 <item>30</item> 216 </integer-array> 217 218 <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> 219 <integer-array name="config_keyboardTapVibePattern"> 220 <item>40</item> 221 </integer-array> 222 223 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 224 <integer-array name="config_safeModeDisabledVibePattern"> 225 <item>0</item> 226 <item>1</item> 227 <item>20</item> 228 <item>21</item> 229 </integer-array> 230 231 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 232 <integer-array name="config_safeModeEnabledVibePattern"> 233 <item>0</item> 234 <item>1</item> 235 <item>20</item> 236 <item>21</item> 237 <item>500</item> 238 <item>600</item> 239 </integer-array> 240 241 <!-- Vibrator pattern for feedback about hitting a scroll barrier --> 242 <integer-array name="config_scrollBarrierVibePattern"> 243 <item>0</item> 244 <item>15</item> 245 <item>10</item> 246 <item>10</item> 247 </integer-array> 248 249 <bool name="config_use_strict_phone_number_comparation">false</bool> 250 251 <!-- Display low battery warning when battery level dips to this value --> 252 <integer name="config_lowBatteryWarningLevel">15</integer> 253 254 <!-- Close low battery warning when battery level reaches this value --> 255 <integer name="config_lowBatteryCloseWarningLevel">20</integer> 256 257 <!-- Default color for notification LED. --> 258 <color name="config_defaultNotificationColor">#ff00ff00</color> 259 260 <!-- Default LED on time for notification LED in milliseconds. --> 261 <integer name="config_defaultNotificationLedOn">500</integer> 262 263 <!-- Default LED off time for notification LED in milliseconds. --> 264 <integer name="config_defaultNotificationLedOff">2000</integer> 265 266 <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> 267 <bool name="config_disableMenuKeyInLockScreen">false</bool> 268 269 <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. 270 The N entries of this array define N + 1 zones as follows: 271 272 Zone 0: 0 <= LUX < array[0] 273 Zone 1: array[0] <= LUX < array[1] 274 ... 275 Zone N: array[N - 1] <= LUX < array[N] 276 Zone N + 1: array[N] <= LUX < infinity 277 278 Must be overridden in platform specific overlays --> 279 <integer-array name="config_autoBrightnessLevels"> 280 </integer-array> 281 282 <!-- Array of output values for LCD backlight corresponding to the LUX values 283 in the config_autoBrightnessLevels array. This array should have size one greater 284 than the size of the config_autoBrightnessLevels array. 285 This must be overridden in platform specific overlays --> 286 <integer-array name="config_autoBrightnessLcdBacklightValues"> 287 </integer-array> 288 289 <!-- Array of output values for button backlight corresponding to the LUX values 290 in the config_autoBrightnessLevels array. This array should have size one greater 291 than the size of the config_autoBrightnessLevels array. 292 This must be overridden in platform specific overlays --> 293 <integer-array name="config_autoBrightnessButtonBacklightValues"> 294 </integer-array> 295 296 <!-- Array of output values for keyboard backlight corresponding to the LUX values 297 in the config_autoBrightnessLevels array. This array should have size one greater 298 than the size of the config_autoBrightnessLevels array. 299 This must be overridden in platform specific overlays --> 300 <integer-array name="config_autoBrightnessKeyboardBacklightValues"> 301 </integer-array> 302 303 <!-- Amount of time it takes for the light sensor to warm up in milliseconds. 304 For this time after the screen turns on, the Power Manager 305 will not debounce light sensor readings --> 306 <integer name="config_lightSensorWarmupTime">0</integer> 307 308 <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView --> 309 <bool name="config_swipeDisambiguation">true</bool> 310 311 <!-- Enables special filtering code in the framework for raw touch events 312 from the touch driver. This code exists for one particular device, 313 and should not be enabled for any others. Hopefully in the future 314 it will be removed when the lower-level touch driver generates better 315 data. --> 316 <bool name="config_filterTouchEvents">false</bool> 317 318 <!-- Enables special filtering code in the framework for raw touch events 319 from the touch driver. This code exists for one particular device, 320 and should not be enabled for any others. --> 321 <bool name="config_filterJumpyTouchEvents">false</bool> 322 323 <!-- Component name of the default wallpaper. This will be ImageWallpaper if not 324 specified --> 325 <string name="default_wallpaper_component">@null</string> 326 327 <!-- Component name of the service providing network location support. --> 328 <string name="config_networkLocationProvider">@null</string> 329 330 <!-- Component name of the service providing geocoder API support. --> 331 <string name="config_geocodeProvider">@null</string> 332 333 <!-- Boolean indicating if current platform supports bluetooth SCO for off call 334 use cases --> 335 <bool name="config_bluetooth_sco_off_call">true</bool> 336 337 <!-- The default data-use polling period. --> 338 <integer name="config_datause_polling_period_sec">600</integer> 339 340 <!-- The default data-use threshold in bytes. 0 disables--> 341 <integer name="config_datause_threshold_bytes">0</integer> 342 343 <!-- The default reduced-datarate value in kilobits per sec --> 344 <integer name="config_datause_throttle_kbitsps">300</integer> 345 346 <!-- The default iface on which to monitor data use --> 347 <string name="config_datause_iface">rmnet0</string> 348 349 <!-- The default reduced-datarate notification mask --> 350 <!-- 2 means give warning --> 351 <integer name="config_datause_notification_type">2</integer> 352 353 <!-- Enables SIP on WIFI only --> 354 <bool name="config_sip_wifi_only">false</bool> 355</resources> 356