config.xml revision 921ec7fb75ff10ff8cab28a12a92a657d3064e2a
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    <bool translatable="false" name="config_tether_dun_required">true</bool>
96
97    <!-- Flag indicating whether the keyguard should be bypassed when
98         the slider is open.  This can be set or unset depending how easily
99         the slider can be opened (for example, in a pocket or purse). -->
100    <bool name="config_bypass_keyguard_if_slider_open">true</bool>
101    
102    <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
103         Software implementation will be used if config_hardware_auto_brightness_available is not set -->
104    <bool name="config_automatic_brightness_available">false</bool>
105    
106    <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION -->
107
108    <!-- The number of degrees to rotate the display when the keyboard is open. -->
109    <integer name="config_lidOpenRotation">90</integer>
110
111    <!-- The number of degrees to rotate the display when the device is in a desk dock.
112         A value of -1 means no change in orientation by default. -->
113    <integer name="config_deskDockRotation">-1</integer>
114
115    <!-- The number of degrees to rotate the display when the device is in a car dock.
116         A value of -1 means no change in orientation by default. -->
117    <integer name="config_carDockRotation">-1</integer>
118
119    <!-- Control whether being in the desk dock (and powered) always
120         keeps the screen on.  By default it stays on when plugged in to
121         AC.  0 will not keep it on; or together 1 to stay on when plugged
122         in to AC and 2 to stay on when plugged in to USB.  (So 3 for both.) -->
123    <integer name="config_deskDockKeepsScreenOn">1</integer>
124
125    <!-- Control whether being in the car dock (and powered) always
126         keeps the screen on.  By default it stays on when plugged in to
127         AC.  0 will not keep it on; or together 1 to stay on when plugged
128         in to AC and 2 to stay on when plugged in to USB.  (So 3 for both.) -->
129    <integer name="config_carDockKeepsScreenOn">1</integer>
130
131    <!-- Control whether being in the desk dock should enable accelerometer based screen orientation -->
132    <bool name="config_deskDockEnablesAccelerometer">false</bool>
133
134    <!-- Control whether being in the car dock should enable accelerometer based screen orientation -->
135    <bool name="config_carDockEnablesAccelerometer">false</bool>
136
137    <!-- Indicate whether the lid state impacts the accessibility of
138         the physical keyboard.  0 means it doesn't, 1 means it is accessible
139         when the lid is open, 2 means it is accessible when the lid is
140         closed.  The default is 1. -->
141    <integer name="config_lidKeyboardAccessibility">1</integer>
142
143    <!-- Indicate whether the lid state impacts the accessibility of
144         the physical keyboard.  0 means it doesn't, 1 means it is accessible
145         when the lid is open, 2 means it is accessible when the lid is
146         closed.  The default is 0. -->
147    <integer name="config_lidNavigationAccessibility">0</integer>
148
149    <!-- Indicate whether the SD card is accessible without removing the battery. -->
150    <bool name="config_batterySdCardAccessibility">false</bool>
151
152    <!-- Vibrator pattern for feedback about a long screen/key press -->
153    <integer-array name="config_longPressVibePattern">
154        <item>0</item>
155        <item>1</item>
156        <item>20</item>
157        <item>21</item>
158    </integer-array>
159    
160    <!-- Vibrator pattern for feedback about touching a virtual key -->
161    <integer-array name="config_virtualKeyVibePattern">
162        <item>0</item>
163        <item>10</item>
164        <item>20</item>
165        <item>30</item>
166    </integer-array>
167
168    <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
169    <integer-array name="config_keyboardTapVibePattern">
170        <item>40</item>
171    </integer-array>
172
173    <!-- Vibrator pattern for feedback about booting with safe mode disabled -->
174    <integer-array name="config_safeModeDisabledVibePattern">
175        <item>0</item>
176        <item>1</item>
177        <item>20</item>
178        <item>21</item>
179    </integer-array>
180
181    <!-- Vibrator pattern for feedback about booting with safe mode disabled -->
182    <integer-array name="config_safeModeEnabledVibePattern">
183        <item>0</item>
184        <item>1</item>
185        <item>20</item>
186        <item>21</item>
187        <item>500</item>
188        <item>600</item>
189    </integer-array>
190
191    <!-- Vibrator pattern for feedback about hitting a scroll barrier -->
192    <integer-array name="config_scrollBarrierVibePattern">
193        <item>0</item>
194        <item>15</item>
195        <item>10</item>
196        <item>10</item>
197    </integer-array>
198
199    <bool name="config_use_strict_phone_number_comparation">false</bool>
200
201    <!-- Display low battery warning when battery level dips to this value -->
202    <integer name="config_lowBatteryWarningLevel">15</integer>
203
204    <!-- Close low battery warning when battery level reaches this value -->
205    <integer name="config_lowBatteryCloseWarningLevel">20</integer>
206
207    <!-- Default color for notification LED. -->
208    <color name="config_defaultNotificationColor">#ff00ff00</color>
209
210    <!-- Default LED on time for notification LED in milliseconds. -->
211    <integer name="config_defaultNotificationLedOn">500</integer>
212
213    <!-- Default LED off time for notification LED in milliseconds. -->
214    <integer name="config_defaultNotificationLedOff">2000</integer>
215
216    <!-- Allow the menu hard key to be disabled in LockScreen on some devices -->
217    <bool name="config_disableMenuKeyInLockScreen">false</bool>
218
219    <!-- Control whether status bar should distinguish HSPA data icon form UMTS data icon on devices -->
220    <bool name="config_hspa_data_distinguishable">false</bool>
221
222    <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
223         The N entries of this array define N + 1 zones as follows:
224
225         Zone 0:        0 <= LUX < array[0]
226         Zone 1:        array[0] <= LUX < array[1]
227         ...
228         Zone N:        array[N - 1] <= LUX < array[N]
229         Zone N + 1:    array[N] <= LUX < infinity
230
231         Must be overridden in platform specific overlays -->
232    <integer-array name="config_autoBrightnessLevels">
233    </integer-array>
234
235    <!-- Array of output values for LCD backlight corresponding to the LUX values
236         in the config_autoBrightnessLevels array.  This array should have size one greater
237         than the size of the config_autoBrightnessLevels array.
238         This must be overridden in platform specific overlays -->
239    <integer-array name="config_autoBrightnessLcdBacklightValues">
240    </integer-array>
241
242    <!-- Array of output values for button backlight corresponding to the LUX values
243         in the config_autoBrightnessLevels array.  This array should have size one greater
244         than the size of the config_autoBrightnessLevels array.
245         This must be overridden in platform specific overlays -->
246    <integer-array name="config_autoBrightnessButtonBacklightValues">
247    </integer-array>
248
249    <!-- Array of output values for keyboard backlight corresponding to the LUX values
250         in the config_autoBrightnessLevels array.  This array should have size one greater
251         than the size of the config_autoBrightnessLevels array.
252         This must be overridden in platform specific overlays -->
253    <integer-array name="config_autoBrightnessKeyboardBacklightValues">
254    </integer-array>
255
256    <!-- Amount of time it takes for the light sensor to warm up in milliseconds.
257         For this time after the screen turns on, the Power Manager
258         will not debounce light sensor readings -->
259    <integer name="config_lightSensorWarmupTime">0</integer>
260
261    <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView -->
262    <bool name="config_swipeDisambiguation">true</bool>
263
264    <!-- Enables special filtering code in the framework for raw touch events
265         from the touch driver.  This code exists for one particular device,
266         and should not be enabled for any others.  Hopefully in the future
267         it will be removed when the lower-level touch driver generates better
268         data. -->
269    <bool name="config_filterTouchEvents">false</bool>
270    
271    <!-- Component name of the default wallpaper. This will be ImageWallpaper if not 
272         specified -->
273    <string name="default_wallpaper_component">@null</string>
274
275    <!-- Component name of the service providing network location support. -->
276    <string name="config_networkLocationProvider">@null</string>
277
278    <!-- Component name of the service providing geocoder API support. -->
279    <string name="config_geocodeProvider">@null</string>
280</resources>
281