126 lines
5.5 KiB
XML
126 lines
5.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 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. Do not translate. -->
|
|
<resources>
|
|
<!-- 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>1</item>
|
|
<item>5</item>
|
|
<item>15</item>
|
|
<item>16</item>
|
|
<item>74</item>
|
|
<item>75</item>
|
|
<item>149</item>
|
|
<item>150</item>
|
|
<item>1500</item>
|
|
<item>3500</item>
|
|
<item>5000</item>
|
|
<item>6500</item>
|
|
<item>12000</item>
|
|
<item>15000</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>40</item>
|
|
<item>50</item>
|
|
<item>80</item>
|
|
<item>80</item>
|
|
<item>105</item>
|
|
<item>105</item>
|
|
<item>128</item>
|
|
<item>128</item>
|
|
<item>142</item>
|
|
<item>154</item>
|
|
<item>214</item>
|
|
<item>255</item>
|
|
<item>255</item>
|
|
<item>255</item>
|
|
<item>255</item>
|
|
</integer-array>
|
|
|
|
<!-- Screen brightness used to dim the screen when the user activity
|
|
timeout expires. May be less than the minimum allowed brightness setting
|
|
that can be set by the user. -->
|
|
<integer name="config_screenBrightnessDim">10</integer>
|
|
<integer name="config_screenBrightnessDark">1</integer>
|
|
|
|
<!-- Default screen brightness setting.
|
|
Must be in the range specified by minimum and maximum. -->
|
|
<integer name="config_screenBrightnessSettingDefault">102</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">10</integer>
|
|
|
|
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
|
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
|
when adapting to brighter or darker environments. This parameter controls how quickly
|
|
brightness changes occur in response to an observed change in light level that exceeds the
|
|
hysteresis threshold. -->
|
|
<integer name="config_autoBrightnessBrighteningLightDebounce">4000</integer>
|
|
<integer name="config_autoBrightnessDarkeningLightDebounce">8000</integer>
|
|
<!-- The maximum range of gamma adjustment possible using the screen
|
|
auto-brightness adjustment setting. -->
|
|
<fraction name="config_autoBrightnessAdjustmentMaxGamma">300%</fraction>
|
|
|
|
<!-- Period of time in which to consider light samples in milliseconds. -->
|
|
|
|
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
|
|
For this time after the screen turns on, the Power Manager
|
|
will not debounce light sensor readings -->
|
|
<integer name="config_lightSensorWarmupTime">0</integer>
|
|
|
|
<!-- The bounding path of the cutout region of the main built-in display.
|
|
Must either be empty if there is no cutout region, or a string that is parsable by
|
|
{@link android.util.PathParser}.
|
|
|
|
The path is assumed to be specified in display coordinates with pixel units and in
|
|
the display's native orientation, with the origin of the coordinate system at the
|
|
center top of the display.
|
|
|
|
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
|
|
appended after the path string to interpret coordinates in dp instead of px units.
|
|
Note that a physical cutout should be configured in pixels for the best results.
|
|
-->
|
|
|
|
<!-- Height of the status bar -->
|
|
|
|
<!-- Screen off delay
|
|
<integer name="config_screen_off_delay">1800</integer> -->
|
|
<!-- Radius of the software rounded corners.
|
|
<dimen name="rounded_corner_radius">48px</dimen>-->
|
|
|
|
</resources>
|