config.xml revision bdb0896ba5078a09d667482c4c91ee279fa2f0e6
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 translatable="false" name="config_tether_dhcp_range">
87    </string-array>
88
89    <!-- Regex array of allowable upstream ifaces for tethering - for example if you want
90         tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array -->
91    <string-array translatable="false" name="config_tether_upstream_regexs">
92    </string-array>
93
94    <!-- Boolean indicating if we require the use of DUN on mobile for tethering.
95         Note that this defaults to false so that if you move to a carrier that
96         hasn't configured anything tethering will still work.  If you'd rather
97         make the device untetherable on unconfigured devices, set to true -->
98    <bool translatable="false" name="config_tether_dun_required">false</bool>
99
100    <!-- String containing the apn value for tethering.  May be overriden by secure settings
101         TETHER_DUN_APN.  Value is a comma separated series of strings:
102         "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type"
103         note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" -->
104    <string translatable="false" name="config_tether_apndata"></string>
105
106
107    <!-- Flag indicating whether the keyguard should be bypassed when
108         the slider is open.  This can be set or unset depending how easily
109         the slider can be opened (for example, in a pocket or purse). -->
110    <bool name="config_bypass_keyguard_if_slider_open">true</bool>
111    
112    <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
113         Software implementation will be used if config_hardware_auto_brightness_available is not set -->
114    <bool name="config_automatic_brightness_available">false</bool>
115    
116    <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION -->
117
118    <!-- The number of degrees to rotate the display when the keyboard is open. -->
119    <integer name="config_lidOpenRotation">90</integer>
120
121    <!-- The number of degrees to rotate the display when the device is in a desk dock.
122         A value of -1 means no change in orientation by default. -->
123    <integer name="config_deskDockRotation">-1</integer>
124
125    <!-- The number of degrees to rotate the display when the device is in a car dock.
126         A value of -1 means no change in orientation by default. -->
127    <integer name="config_carDockRotation">-1</integer>
128
129    <!-- Control whether being in the desk dock (and powered) always
130         keeps the screen on.  By default it stays on when plugged in to
131         AC.  0 will not keep it on; or together 1 to stay on when plugged
132         in to AC and 2 to stay on when plugged in to USB.  (So 3 for both.) -->
133    <integer name="config_deskDockKeepsScreenOn">1</integer>
134
135    <!-- Control whether being in the car dock (and powered) always
136         keeps the screen on.  By default it stays on when plugged in to
137         AC.  0 will not keep it on; or together 1 to stay on when plugged
138         in to AC and 2 to stay on when plugged in to USB.  (So 3 for both.) -->
139    <integer name="config_carDockKeepsScreenOn">1</integer>
140
141    <!-- Control whether being in the desk dock should enable accelerometer
142         based screen orientation.  Note this should probably default to true
143         like car dock, but we haven't had a chance to test it. -->
144    <bool name="config_deskDockEnablesAccelerometer">false</bool>
145
146    <!-- Control whether being in the car dock should enable accelerometer based
147         screen orientation.  This defaults to true because putting a device in
148         a car dock make the accelerometer more a physical input (like a lid). -->
149    <bool name="config_carDockEnablesAccelerometer">true</bool>
150
151    <!-- Indicate whether the lid state impacts the accessibility of
152         the physical keyboard.  0 means it doesn't, 1 means it is accessible
153         when the lid is open, 2 means it is accessible when the lid is
154         closed.  The default is 1. -->
155    <integer name="config_lidKeyboardAccessibility">1</integer>
156
157    <!-- Indicate whether the lid state impacts the accessibility of
158         the physical keyboard.  0 means it doesn't, 1 means it is accessible
159         when the lid is open, 2 means it is accessible when the lid is
160         closed.  The default is 0. -->
161    <integer name="config_lidNavigationAccessibility">0</integer>
162
163    <!-- Indicate whether the SD card is accessible without removing the battery. -->
164    <bool name="config_batterySdCardAccessibility">false</bool>
165
166    <!-- Vibrator pattern for feedback about a long screen/key press -->
167    <integer-array name="config_longPressVibePattern">
168        <item>0</item>
169        <item>1</item>
170        <item>20</item>
171        <item>21</item>
172    </integer-array>
173    
174    <!-- Vibrator pattern for feedback about touching a virtual key -->
175    <integer-array name="config_virtualKeyVibePattern">
176        <item>0</item>
177        <item>10</item>
178        <item>20</item>
179        <item>30</item>
180    </integer-array>
181
182    <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
183    <integer-array name="config_keyboardTapVibePattern">
184        <item>40</item>
185    </integer-array>
186
187    <!-- Vibrator pattern for feedback about booting with safe mode disabled -->
188    <integer-array name="config_safeModeDisabledVibePattern">
189        <item>0</item>
190        <item>1</item>
191        <item>20</item>
192        <item>21</item>
193    </integer-array>
194
195    <!-- Vibrator pattern for feedback about booting with safe mode disabled -->
196    <integer-array name="config_safeModeEnabledVibePattern">
197        <item>0</item>
198        <item>1</item>
199        <item>20</item>
200        <item>21</item>
201        <item>500</item>
202        <item>600</item>
203    </integer-array>
204
205    <!-- Vibrator pattern for feedback about hitting a scroll barrier -->
206    <integer-array name="config_scrollBarrierVibePattern">
207        <item>0</item>
208        <item>15</item>
209        <item>10</item>
210        <item>10</item>
211    </integer-array>
212
213    <bool name="config_use_strict_phone_number_comparation">false</bool>
214
215    <!-- Display low battery warning when battery level dips to this value -->
216    <integer name="config_lowBatteryWarningLevel">15</integer>
217
218    <!-- Close low battery warning when battery level reaches this value -->
219    <integer name="config_lowBatteryCloseWarningLevel">20</integer>
220
221    <!-- Default color for notification LED. -->
222    <color name="config_defaultNotificationColor">#ff00ff00</color>
223
224    <!-- Default LED on time for notification LED in milliseconds. -->
225    <integer name="config_defaultNotificationLedOn">500</integer>
226
227    <!-- Default LED off time for notification LED in milliseconds. -->
228    <integer name="config_defaultNotificationLedOff">2000</integer>
229
230    <!-- Default value for led color when battery is low on charge -->
231    <integer name="config_notificationsBatteryLowARGB">0xFFFF0000</integer>
232
233    <!-- Default value for led color when battery is medium charged -->
234    <integer name="config_notificationsBatteryMediumARGB">0xFFFFFF00</integer>
235
236    <!-- Default value for led color when battery is fully charged -->
237    <integer name="config_notificationsBatteryFullARGB">0xFF00FF00</integer>
238
239    <!-- Default value for LED on time when the battery is low on charge in miliseconds -->
240    <integer name="config_notificationsBatteryLedOn">125</integer>
241
242    <!-- Default value for LED off time when the battery is low on charge in miliseconds -->
243    <integer name="config_notificationsBatteryLedOff">2875</integer>
244
245    <!-- Allow the menu hard key to be disabled in LockScreen on some devices -->
246    <bool name="config_disableMenuKeyInLockScreen">false</bool>
247
248    <!-- Control whether status bar should distinguish HSPA data icon form UMTS data icon on devices -->
249    <bool name="config_hspa_data_distinguishable">false</bool>
250
251    <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
252         The N entries of this array define N + 1 zones as follows:
253
254         Zone 0:        0 <= LUX < array[0]
255         Zone 1:        array[0] <= LUX < array[1]
256         ...
257         Zone N:        array[N - 1] <= LUX < array[N]
258         Zone N + 1:    array[N] <= LUX < infinity
259
260         Must be overridden in platform specific overlays -->
261    <integer-array name="config_autoBrightnessLevels">
262    </integer-array>
263
264    <!-- Array of output values for LCD backlight corresponding to the LUX values
265         in the config_autoBrightnessLevels array.  This array should have size one greater
266         than the size of the config_autoBrightnessLevels array.
267         This must be overridden in platform specific overlays -->
268    <integer-array name="config_autoBrightnessLcdBacklightValues">
269    </integer-array>
270
271    <!-- Array of output values for button backlight corresponding to the LUX values
272         in the config_autoBrightnessLevels array.  This array should have size one greater
273         than the size of the config_autoBrightnessLevels array.
274         This must be overridden in platform specific overlays -->
275    <integer-array name="config_autoBrightnessButtonBacklightValues">
276    </integer-array>
277
278    <!-- Array of output values for keyboard backlight corresponding to the LUX values
279         in the config_autoBrightnessLevels array.  This array should have size one greater
280         than the size of the config_autoBrightnessLevels array.
281         This must be overridden in platform specific overlays -->
282    <integer-array name="config_autoBrightnessKeyboardBacklightValues">
283    </integer-array>
284
285    <!-- Amount of time it takes for the light sensor to warm up in milliseconds.
286         For this time after the screen turns on, the Power Manager
287         will not debounce light sensor readings -->
288    <integer name="config_lightSensorWarmupTime">0</integer>
289
290    <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView -->
291    <bool name="config_swipeDisambiguation">true</bool>
292
293    <!-- Enables special filtering code in the framework for raw touch events
294         from the touch driver.  This code exists for one particular device,
295         and should not be enabled for any others.  Hopefully in the future
296         it will be removed when the lower-level touch driver generates better
297         data. -->
298    <bool name="config_filterTouchEvents">false</bool>
299
300    <!-- Enables special filtering code in the framework for raw touch events
301         from the touch driver. This code exists for one particular device,
302         and should not be enabled for any others. -->
303    <bool name="config_filterJumpyTouchEvents">false</bool>
304    
305    <!-- Component name of the default wallpaper. This will be ImageWallpaper if not 
306         specified -->
307    <string name="default_wallpaper_component">@null</string>
308
309    <!-- Component name of the service providing network location support. -->
310    <string name="config_networkLocationProvider">@null</string>
311
312    <!-- Component name of the service providing geocoder API support. -->
313    <string name="config_geocodeProvider">@null</string>
314
315    <!-- Boolean indicating if current platform supports bluetooth SCO for off call
316    use cases -->
317    <bool name="config_bluetooth_sco_off_call">true</bool>
318
319    <!-- The default data-use polling period. -->
320    <integer name="config_datause_polling_period_sec">600</integer>
321
322    <!-- The default data-use threshold in bytes. 0 disables-->
323    <integer name="config_datause_threshold_bytes">0</integer>
324
325    <!-- The default reduced-datarate value in kilobits per sec -->
326    <integer name="config_datause_throttle_kbitsps">300</integer>
327
328    <!-- The default iface on which to monitor data use -->
329    <string name="config_datause_iface">rmnet0</string>
330
331    <!-- The default reduced-datarate notification mask -->
332    <!-- 2 means give warning -->
333    <integer name="config_datause_notification_type">2</integer>
334
335    <!-- The URL that should be sent in an x-wap-profile header with an HTTP request,
336         as defined in the Open Mobile Alliance User Agent Profile specification
337         OMA-TS-UAProf-V2_0-20060206-A Section 8.1.1.1. If the URL contains a '%s'
338         format string then that substring will be replaced with the value of
339         Build.MODEL. The format string shall not be escaped. -->
340    <string name="config_useragentprofile_url"></string>
341
342</resources>
343