278 lines
13 KiB
XML
278 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2012, 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.
|
|
*/
|
|
-->
|
|
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
|
|
<!-- Default LED on time for notification LED in milliseconds. -->
|
|
<integer name="config_defaultNotificationLedOn">1000</integer>
|
|
|
|
<!-- Default LED off time for notification LED in milliseconds. -->
|
|
<integer name="config_defaultNotificationLedOff">9000</integer>
|
|
|
|
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
|
|
autodetected from the Configuration. -->
|
|
<bool name="config_showNavigationBar">true</bool>
|
|
|
|
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
|
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
|
<bool name="config_automatic_brightness_available">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>5</item>
|
|
<item>15</item>
|
|
<item>50</item>
|
|
<item>100</item>
|
|
<item>200</item>
|
|
<item>400</item>
|
|
<item>1000</item>
|
|
<item>2000</item>
|
|
<item>3000</item>
|
|
<item>5000</item>
|
|
<item>10000</item>
|
|
<item>30000</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.
|
|
This must be overridden in platform specific overlays -->
|
|
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
|
<item>11</item> <!-- 0-5 -->
|
|
<item>18</item> <!-- 5-15 -->
|
|
<item>27</item> <!-- 15-50 -->
|
|
<item>38</item> <!-- 50-100 -->
|
|
<item>48</item> <!-- 100-200 -->
|
|
<item>55</item> <!-- 200-400 -->
|
|
<item>64</item> <!-- 400-1000 -->
|
|
<item>74</item> <!-- 1000-2000 -->
|
|
<item>120</item> <!-- 2000-3000 -->
|
|
<item>164</item> <!-- 3000-5000 -->
|
|
<item>225</item> <!-- 5000-10000 -->
|
|
<item>255</item> <!-- 10000-30000 -->
|
|
<item>255</item> <!-- 30000+ -->
|
|
</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.
|
|
This must be overridden in platform specific overlays -->
|
|
<integer-array name="config_autoBrightnessButtonBacklightValues">
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
<item>0</item>
|
|
</integer-array>
|
|
|
|
<!-- Minimum screen brightness allowed by the power manager. -->
|
|
<integer name="config_screenBrightnessDim">5</integer>
|
|
|
|
<!-- Default screen brightness setting.
|
|
Must be in the range specified by minimum and maximum. -->
|
|
<integer name="config_screenBrightnessSettingDefault">87</integer>
|
|
|
|
<!-- Minimum screen brightness setting allowed by the power manager.
|
|
The user is forbidden from setting the brightness below this level. -->
|
|
<integer name="config_screenBrightnessSettingMinimum">5</integer>
|
|
|
|
<!-- Minimum allowable screen brightness to use in a very dark room.
|
|
This value sets the floor for the darkest possible auto-brightness
|
|
adjustment. It is expected to be somewhat less than the first entry in
|
|
config_autoBrightnessLcdBacklightValues so as to allow the user to have
|
|
some range of adjustment to dim the screen further than usual in very
|
|
dark rooms. The contents of the screen must still be clearly visible
|
|
in darkness (although they may not be visible in a bright room). -->
|
|
<integer name="config_screenBrightnessDark">2</integer>
|
|
|
|
<!-- Device configuration indicating whether we should avoid using accelerated graphics
|
|
in certain places to reduce RAM footprint. This is ignored if ro.config.low_ram
|
|
is true (in that case this is assumed true as well). It can allow you to tune down
|
|
your device's memory use without going to the point of causing applications to turn
|
|
off features. -->
|
|
<bool name="config_avoidGfxAccel">true</bool>
|
|
|
|
<!-- The duration (in milliseconds) that the radio will scan for a signal
|
|
when there's no network connection. If the scan doesn't timeout, use zero -->
|
|
<integer name="config_radioScanningTimeout">9000</integer>
|
|
|
|
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
|
|
<bool name="config_unplugTurnsOnScreen">true</bool>
|
|
|
|
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
|
|
<bool name="config_intrusiveNotificationLed">true</bool>
|
|
|
|
<!-- 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.TYPE_xxxx],
|
|
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
|
|
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
|
|
before automatically restore the default connection. Set -1 if the connection
|
|
does not require auto-restore. -->
|
|
<!-- the 6th element indicates boot-time dependency-met value. -->
|
|
<string-array translatable="false" name="networkAttributes">
|
|
<item>"wifi,1,1,1,-1,true"</item>
|
|
<item>"bluetooth,7,7,2,-1,true"</item>
|
|
<item>"ethernet,9,9,9,-1,true"</item>
|
|
<item>"wifi_p2p,13,1,0,-1,true"</item>
|
|
</string-array>
|
|
|
|
<!-- This device is not "voice capable"; it's data-only. -->
|
|
<bool name="config_voice_capable">false</bool>
|
|
|
|
<!-- This device does not allow sms service. -->
|
|
<bool name="config_sms_capable">false</bool>
|
|
|
|
<!-- This string array should be overridden by the device to present a list of radio
|
|
attributes. This is used by the connectivity manager to decide which networks can coexist
|
|
based on the hardware -->
|
|
<!-- An Array of "[ConnectivityManager connectionType],
|
|
[# simultaneous connection types]" -->
|
|
<string-array translatable="false" name="radioAttributes">
|
|
<item>"1,1"</item>
|
|
<item>"7,1"</item>
|
|
<item>"9,1"</item>
|
|
</string-array>
|
|
|
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
|
<integer-array name="config_longPressVibePattern">
|
|
<item>0</item>
|
|
<item>7</item>
|
|
<item>10</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
|
<integer-array name="config_virtualKeyVibePattern">
|
|
<item>7</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
|
<integer-array name="config_keyboardTapVibePattern">
|
|
<item>5</item>
|
|
</integer-array>
|
|
|
|
<!-- Boolean indicating if restoring network selection should be skipped -->
|
|
<!-- The restoring is handled by modem if it is true -->
|
|
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
|
|
|
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
|
|
<bool name="config_cellBroadcastAppLinks">false</bool>
|
|
|
|
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
|
|
<integer name="config_shutdownBatteryTemperature">600</integer>
|
|
|
|
<!-- reference volume index for music stream to limit headphone volume and display warning -->
|
|
<integer name="config_safe_media_volume_index">6</integer>
|
|
|
|
<bool name="config_enableWifiDisplay">true</bool>
|
|
|
|
<!-- Minimum span needed to begin a touch scaling gesture.
|
|
If the span is equal to or greater than this size, a scaling gesture
|
|
will begin, where supported. (See android.view.ScaleGestureDetector)
|
|
|
|
This value has been tuned for the "msm8960" device. -->
|
|
<dimen name="config_minScalingSpan">35mm</dimen>
|
|
|
|
<!-- The default iface on which to monitor data use -->
|
|
<string name="config_datause_iface" translatable="false">rmnet_usb0</string>
|
|
|
|
<!-- Maximum number of supported users -->
|
|
<integer name="config_multiuserMaximumUsers">8</integer>
|
|
<!-- Whether UI for multi user should be shown -->
|
|
<bool name="config_enableMultiUserUI">true</bool>
|
|
|
|
<!-- Feature flag to store TaskSnapshot in 16 bit pixel format to save memory. -->
|
|
<bool name="config_use16BitTaskSnapshotPixelFormat">true</bool>
|
|
|
|
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
|
|
it causes the device to wake up.
|
|
The default is false. -->
|
|
<bool name="config_lidControlsSleep">true</bool>
|
|
|
|
<!-- Enable doze mode
|
|
ComponentName of a dream to show whenever the system would otherwise have gone to sleep. -->
|
|
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
|
|
|
<!-- If true, the doze component is not started until after the screen has been turned off
|
|
and the screen off animation has been performed. -->
|
|
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
|
|
|
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
|
|
app standby. These are not enabled by default because they require a standard
|
|
cloud-to-device messaging service for apps to interact correctly with the modes
|
|
(such as to be able to deliver an instant message to the device even when it is
|
|
dozing). This should be enabled if you have such services and expect apps to
|
|
correctly use them when installed on your device. Otherwise, keep this disabled
|
|
so that applications can still use their own mechanisms. -->
|
|
<bool name="config_enableAutoPowerModes">true</bool>
|
|
|
|
<!-- True if the device supports at least one form of multi-window.
|
|
E.g. freeform, split-screen, picture-in-picture. -->
|
|
<bool name="config_supportsMultiWindow">true</bool>
|
|
|
|
<!-- Whether or not swipe up gesture's opt-in setting is available on this device -->
|
|
<bool name="config_swipe_up_gesture_setting_available">true</bool>
|
|
|
|
<!-- The list of components which should be automatically disabled for a specific device. -->
|
|
<string-array name="config_deviceDisabledComponents" translatable="false">
|
|
<item>com.google.android.gms/com.google.android.gms.nearby.messages.service.NearbyMessagesService</item>
|
|
</string-array>
|
|
|
|
<!-- Fix for Lineage LiveDisplay -->
|
|
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
|
|
in hardware. -->
|
|
<bool name="config_setColorTransformAccelerated">true</bool>
|
|
|
|
<!-- Default files to pin via Pinner Service -->
|
|
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
|
|
<item>"/system/framework/framework.jar"</item>
|
|
<item>"/system/framework/services.jar"</item>
|
|
<item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
|
|
</string-array>
|
|
|
|
<!-- List of files pinned by the Pinner Service with the apex boot image b/119800099 -->
|
|
<string-array translatable="false" name="config_apexBootImagePinnerServiceFiles">
|
|
<item>"/system/framework/framework.jar"</item>
|
|
<item>"/system/framework/services.jar"</item>
|
|
<item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
|
|
</string-array>
|
|
|
|
<!-- True if home app should be pinned via Pinner Service -->
|
|
<bool name="config_pinnerHomeApp">true</bool>
|
|
|
|
</resources>
|