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