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