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