diff options
author | Ying Wang <wangying@google.com> | 2010-09-01 15:18:33 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2010-09-01 16:25:07 -0700 |
commit | c7c4249dac142f428d6ec11b63663ec1c0f8848e (patch) | |
tree | bcf801ab12b5811e631895785146b990382e1054 /overlay/frameworks/base/core/res/res/values/config.xml | |
parent | 1a9847e2dc8de44e6800d21b4548fa88d694d7ab (diff) | |
download | device_samsung_crespo-c7c4249dac142f428d6ec11b63663ec1c0f8848e.zip device_samsung_crespo-c7c4249dac142f428d6ec11b63663ec1c0f8848e.tar.gz device_samsung_crespo-c7c4249dac142f428d6ec11b63663ec1c0f8848e.tar.bz2 |
Add overlay
The overlay is adapted from device/htc/passion-common/overlay.
Change-Id: I34fba53a0a3ef96caf7a200a1d6b699b8a7bf0ad
Diffstat (limited to 'overlay/frameworks/base/core/res/res/values/config.xml')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..d5097cd --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,150 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Flag indicating whether we should enable the automatic brightness in Settings. + config_hardware_automatic_brightness_available is not set, so we will use software implementation --> + <bool name="config_automatic_brightness_available">true</bool> + + <!-- disable menu hard key on Crespo in non-pattern lockscreen --> + <bool name="config_disableMenuKeyInLockScreen">true</bool> + + <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. + The N entries of this array define N + 1 zones as follows: + + Zone 0: 0 <= LUX < array[0] + Zone 1: array[0] <= LUX < array[1] + ... + Zone N: array[N - 1] <= LUX < array[N] + Zone N + 1: array[N] <= LUX < infinity + + Must be overridden in platform specific overlays --> + <integer-array name="config_autoBrightnessLevels"> + <item>200</item> + <item>400</item> + <item>1000</item> + <item>3000</item> + </integer-array> + + <!-- Array of output values for LCD backlight corresponding to the LUX values + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + --> + <integer-array name="config_autoBrightnessLcdBacklightValues"> + <item>35</item> + <item>55</item> + <item>70</item> + <item>70</item> + <item>250</item> + </integer-array> + + <!-- Array of output values for button backlight corresponding to the LUX values + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + --> + <integer-array name="config_autoBrightnessButtonBacklightValues"> + <item>255</item> + <item>255</item> + <item>0</item> + <item>0</item> + <item>0</item> + </integer-array> + + <!-- Array of output values for keyboard backlight corresponding to the LUX values + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + Crespo has no keyboard so all values are zero. + --> + <integer-array name="config_autoBrightnessKeyboardBacklightValues"> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + </integer-array> + + <!-- Component name of the default wallpaper. This will be ImageWallpaper if not + specified --> + <string name="default_wallpaper_component">com.android.wallpaper/.nexus.NexusWallpaper</string> + + <integer name="config_deskDockKeepsScreenOn">0</integer> + <integer name="config_carDockKeepsScreenOn">1</integer> + + <!-- Default color for notification LED is white --> + <color name="config_defaultNotificationColor">#ffffffff</color> + + <!-- Default blink frequency for notification LED is 9 seconds. --> + <integer name="config_defaultNotificationLedOff">9000</integer> + + <!-- Component name of the service providing network location support. --> + <string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string> + + <!-- Component name of the service providing geocoder API support. --> + <string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string> + + + <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. + Please don't copy them, copy anything else. --> + + <!-- This string array should be overridden by the device to present a list of network + attributes. This is used by the connectivity manager to decide which networks can coexist + based on the hardware --> + <!-- An Array of "[Connection name],[ConnectivityManager connection type], + [associated radio-type],[priority] --> + <string-array translatable="false" name="networkAttributes"> + <item>"wifi,1,1,1"</item> + <item>"mobile,0,0,0"</item> + <item>"mobile_mms,2,0,2"</item> + <item>"mobile_supl,3,0,2"</item> + <item>"mobile_dun,4,0,4"</item> + <item>"mobile_hipri,5,0,3"</item> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + USB interfaces. If the device doesn't want to support tething over USB this should + be empty. An example would be "usb.*" --> + <string-array translatable="false" name="config_tether_usb_regexs"> + <item>"usb0"</item> + </string-array> + + <!-- Regex array of allowable upstream ifaces for tethering - for example if you want + tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array --> + <string-array translatable="false" name="config_tether_upstream_regexs"> + <item>"rmnet\\d"</item> + <item>"eth\\d"</item> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + Wifi interfaces. If the device doesn't want to support tethering over Wifi this + should be empty. An example would be "softap.*" --> + <string-array translatable="false" name="config_tether_wifi_regexs"> + <item>"wl0.1"</item> + </string-array> + + + <!-- Boolean indicating if we require the use of DUN on mobile for tethering --> + <bool translatable="false" name="config_tether_dun_required">false</bool> + + <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> + <integer-array name="config_keyboardTapVibePattern"> + <item>30</item> + </integer-array> +</resources> |