Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 ** Copyright 2012, 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 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
     21 
     22     <!-- If this is true, the screen will fade off. -->
     23     <bool name="config_animateScreenLights">false</bool>
     24 
     25     <!-- Default color for notification LED is white. -->
     26     <color name="config_defaultNotificationColor">#ffffffff</color>
     27 
     28     <!-- Default LED on time for notification LED in milliseconds. -->
     29     <integer name="config_defaultNotificationLedOn">1000</integer>
     30 
     31     <!-- Default LED off time for notification LED in milliseconds. -->
     32     <integer name="config_defaultNotificationLedOff">9000</integer>
     33 
     34     <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
     35          autodetected from the Configuration. -->
     36     <bool name="config_showNavigationBar">true</bool>
     37 
     38     <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
     39          Software implementation will be used if config_hardware_auto_brightness_available is not set -->
     40     <bool name="config_automatic_brightness_available">true</bool>
     41 
     42     <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
     43          The N entries of this array define N  1 zones as follows:
     44 
     45          Zone 0:        0 <= LUX < array[0]
     46          Zone 1:        array[0] <= LUX < array[1]
     47          ...
     48          Zone N:        array[N - 1] <= LUX < array[N]
     49          Zone N + 1     array[N] <= LUX < infinity
     50 
     51          Must be overridden in platform specific overlays -->
     52     <integer-array name="config_autoBrightnessLevels">
     53         <item>5</item>
     54         <item>15</item>
     55         <item>50</item>
     56         <item>100</item>
     57         <item>200</item>
     58         <item>400</item>
     59         <item>1000</item>
     60         <item>2000</item>
     61         <item>3000</item>
     62         <item>5000</item>
     63         <item>10000</item>
     64         <item>30000</item>
     65     </integer-array>
     66 
     67     <!-- Array of output values for LCD backlight corresponding to the LUX values
     68          in the config_autoBrightnessLevels array.  This array should have size one greater
     69          than the size of the config_autoBrightnessLevels array.
     70          This must be overridden in platform specific overlays -->
     71     <integer-array name="config_autoBrightnessLcdBacklightValues">
     72         <item>11</item>    <!-- 0-5 -->
     73         <item>18</item>   <!-- 5-15 -->
     74         <item>27</item>   <!-- 15-50 -->
     75         <item>38</item>   <!-- 50-100 -->
     76         <item>48</item>   <!-- 100-200 -->
     77         <item>55</item>   <!-- 200-400 -->
     78         <item>64</item>   <!-- 400-1000 -->
     79         <item>74</item>   <!-- 1000-2000 -->
     80         <item>120</item>  <!-- 2000-3000 -->
     81         <item>164</item>  <!-- 3000-5000 -->
     82         <item>225</item>  <!-- 5000-10000 -->
     83         <item>255</item>  <!-- 10000-30000 -->
     84         <item>255</item>  <!-- 30000+ -->
     85     </integer-array>
     86 
     87     <!-- Array of output values for button backlight corresponding to the LUX values
     88          in the config_autoBrightnessLevels array.  This array should have size one greater
     89          than the size of the config_autoBrightnessLevels array.
     90          This must be overridden in platform specific overlays -->
     91     <integer-array name="config_autoBrightnessButtonBacklightValues">
     92         <item>0</item>
     93         <item>0</item>
     94         <item>0</item>
     95         <item>0</item>
     96         <item>0</item>
     97         <item>0</item>
     98         <item>0</item>
     99         <item>0</item>
    100         <item>0</item>
    101         <item>0</item>
    102         <item>0</item>
    103         <item>0</item>
    104         <item>0</item>
    105     </integer-array>
    106 
    107     <!-- Minimum screen brightness allowed by the power manager. -->
    108     <integer name="config_screenBrightnessDim">5</integer>
    109 
    110     <!-- Default screen brightness setting.
    111          Must be in the range specified by minimum and maximum. -->
    112     <integer name="config_screenBrightnessSettingDefault">87</integer>
    113 
    114     <!-- Minimum screen brightness setting allowed by the power manager.
    115          The user is forbidden from setting the brightness below this level. -->
    116     <integer name="config_screenBrightnessSettingMinimum">5</integer>
    117 
    118     <!-- The duration (in milliseconds) that the radio will scan for a signal
    119          when there's no network connection. If the scan doesn't timeout, use zero -->
    120     <integer name="config_radioScanningTimeout">9000</integer>
    121 
    122     <!-- List of regexpressions describing the interface (if any) that represent tetherable
    123          USB interfaces.  If the device doesn't want to support tething over USB this should
    124          be empty.  An example would be "usb.*" -->
    125     <string-array translatable="false" name="config_tether_usb_regexs">
    126         <item>"usb\\d"</item>
    127     </string-array>
    128 
    129     <!-- List of regexpressions describing the interface (if any) that represent tetherable
    130          Wifi interfaces.  If the device doesn't want to support tethering over Wifi this
    131          should be empty.  An example would be "softap.*" -->
    132     <string-array translatable="false" name="config_tether_wifi_regexs">
    133         <item>"wlan0"</item>
    134         <item>"softap.*"</item>
    135     </string-array>
    136 
    137     <!-- List of regexpressions describing the interface (if any) that represent tetherable
    138          bluetooth interfaces.  If the device doesn't want to support tethering over bluetooth this
    139          should be empty. -->
    140     <string-array translatable="false" name="config_tether_bluetooth_regexs">
    141            <item>"bt-pan"</item>
    142     </string-array>
    143 
    144     <!-- Array of allowable ConnectivityManager network types for tethering -->
    145     <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
    146          [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
    147     <integer-array translatable="false" name="config_tether_upstream_types">
    148         <item>0</item>
    149         <item>1</item>
    150         <item>5</item>
    151         <item>7</item>
    152     </integer-array>
    153 
    154     <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
    155     <bool name="config_unplugTurnsOnScreen">true</bool>
    156 
    157     <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
    158     <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
    159 
    160     <!-- Boolean indicating whether the wifi chipset has background scan support -->
    161     <bool translatable="false" name="config_wifi_background_scan_support">false</bool>
    162 
    163     <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
    164     <bool name="config_intrusiveNotificationLed">true</bool>
    165 
    166     <!-- This string array should be overridden by the device to present a list of network
    167          attributes.  This is used by the connectivity manager to decide which networks can coexist
    168          based on the hardware -->
    169     <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
    170          [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet]  -->
    171     <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
    172          before automatically restore the default connection.  Set -1 if the connection
    173          does not require auto-restore. -->
    174     <!-- the 6th element indicates boot-time dependency-met value. -->
    175     <string-array translatable="false" name="networkAttributes">
    176         <item>"wifi,1,1,1,-1,true"</item>
    177         <item>"mobile,0,0,0,-1,true"</item>
    178         <item>"mobile_mms,2,0,2,60000,true"</item>
    179         <item>"mobile_supl,3,0,2,60000,true"</item>
    180         <item>"mobile_dun,4,0,2,60000,true"</item>
    181         <item>"mobile_hipri,5,0,3,60000,true"</item>
    182         <item>"mobile_fota,10,0,2,60000,true"</item>
    183         <item>"mobile_ims,11,0,2,60000,true"</item>
    184         <item>"mobile_cbs,12,0,2,60000,true"</item>
    185         <item>"bluetooth,7,7,2,-1,true"</item>
    186     </string-array>
    187 
    188     <!-- This device is not "voice capable"; it's data-only. -->
    189     <bool name="config_voice_capable">false</bool>
    190 
    191     <!-- This device does not allow sms service. -->
    192     <bool name="config_sms_capable">true</bool>
    193 
    194     <!-- This string array should be overridden by the device to present a list of radio
    195          attributes.  This is used by the connectivity manager to decide which networks can coexist
    196          based on the hardware -->
    197     <!-- An Array of "[ConnectivityManager connectionType],
    198                       [# simultaneous connection types]"  -->
    199     <string-array translatable="false" name="radioAttributes">
    200        <item>"1,1"</item>
    201        <item>"0,1"</item>
    202        <item>"7,1"</item>
    203     </string-array>
    204 
    205     <!-- Vibrator pattern for feedback about a long screen/key press -->
    206     <integer-array name="config_longPressVibePattern">
    207         <item>0</item>
    208         <item>7</item>
    209         <item>10</item>
    210     </integer-array>
    211 
    212     <!-- Vibrator pattern for feedback about touching a virtual key -->
    213     <integer-array name="config_virtualKeyVibePattern">
    214         <item>7</item>
    215     </integer-array>
    216 
    217     <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
    218     <integer-array name="config_keyboardTapVibePattern">
    219         <item>5</item>
    220     </integer-array>
    221 
    222     <!-- Boolean indicating if restoring network selection should be skipped -->
    223     <!-- The restoring is handled by modem if it is true -->
    224     <bool translatable="false" name="skip_restoring_network_selection">true</bool>
    225 
    226     <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
    227     <bool name="config_cellBroadcastAppLinks">true</bool>
    228 
    229     <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
    230     <integer name="config_shutdownBatteryTemperature">600</integer>
    231 
    232     <bool name="config_ui_enableFadingMarquee">false</bool>
    233 
    234     <string-array name="config_usbHostBlacklist">
    235         <!--  /dev/bus/usb/001 is used for the modem -->
    236         <item>/dev/bus/usb/001</item>
    237     </string-array>
    238 
    239     <!-- reference volume index for music stream to limit headphone volume and display warning -->
    240     <integer name="config_safe_media_volume_index">6</integer>
    241 
    242     <bool name="config_enableWifiDisplay">true</bool>
    243 
    244     <!-- Minimum span needed to begin a touch scaling gesture.
    245          If the span is equal to or greater than this size, a scaling gesture
    246          will begin, where supported. (See android.view.ScaleGestureDetector)
    247 
    248          This value has been tuned for the "msm8960" device. -->
    249     <dimen name="config_minScalingSpan">35mm</dimen>
    250 
    251     <!-- Setting this true forces the headset jack switches to use the/dev/input/event subsystem
    252          rather than the uevent framework. -->
    253     <bool name="config_useDevInputEventForAudioJack">false</bool>
    254 
    255     <!-- The default iface on which to monitor data use -->
    256     <string name="config_datause_iface" translatable="false">rmnet_usb0</string>
    257 
    258     <!--  Maximum number of supported users -->
    259     <integer name="config_multiuserMaximumUsers">8</integer>
    260 
    261     <!-- Indicate whether closing the lid causes the device to go to sleep and opening
    262          it causes the device to wake up.
    263          The default is false. -->
    264     <bool name="config_lidControlsSleep">true</bool>
    265 
    266 </resources>
    267