clover: overlay: Move Brightness to common repo
This commit is contained in:
parent
08d41caee7
commit
bbd63c9d90
1 changed files with 0 additions and 111 deletions
|
@ -26,117 +26,6 @@
|
||||||
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
<!-- 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 control points as follows:
|
|
||||||
(1-based arrays)
|
|
||||||
Point 1: (0, value[1]): lux <= 0
|
|
||||||
Point 2: (level[1], value[2]): 0 < lux <= level[1]
|
|
||||||
Point 3: (level[2], value[3]): level[2] < lux <= level[3]
|
|
||||||
...
|
|
||||||
Point N+1: (level[N], value[N+1]): level[N] < lux
|
|
||||||
The control points must be strictly increasing. Each control point
|
|
||||||
corresponds to an entry in the brightness backlight values arrays.
|
|
||||||
For example, if LUX == level[1] (first element of the levels array)
|
|
||||||
then the brightness will be determined by value[2] (second element
|
|
||||||
of the brightness values array).
|
|
||||||
Spline interpolation is used to determine the auto-brightness
|
|
||||||
backlight values for LUX levels between these control points.
|
|
||||||
Must be overridden in platform specific overlays -->
|
|
||||||
<integer-array name="config_autoBrightnessLevels">
|
|
||||||
<item>1</item>
|
|
||||||
<item>2</item>
|
|
||||||
<item>4</item>
|
|
||||||
<item>5</item>
|
|
||||||
<item>8</item>
|
|
||||||
<item>13</item>
|
|
||||||
<item>17</item>
|
|
||||||
<item>21</item>
|
|
||||||
<item>26</item>
|
|
||||||
<item>30</item>
|
|
||||||
<item>34</item>
|
|
||||||
<item>39</item>
|
|
||||||
<item>60</item>
|
|
||||||
<item>140</item>
|
|
||||||
<item>310</item>
|
|
||||||
<item>400</item>
|
|
||||||
<item>500</item>
|
|
||||||
<item>600</item>
|
|
||||||
<item>1000</item>
|
|
||||||
<item>1200</item>
|
|
||||||
<item>1500</item>
|
|
||||||
<item>3000</item>
|
|
||||||
<item>3500</item>
|
|
||||||
<item>4000</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.
|
|
||||||
The brightness values must be between 0 and 255 and be non-decreasing.
|
|
||||||
This must be overridden in platform specific overlays -->
|
|
||||||
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
|
||||||
<item>2</item>
|
|
||||||
<item>2</item>
|
|
||||||
<item>3</item>
|
|
||||||
<item>3</item>
|
|
||||||
<item>8</item>
|
|
||||||
<item>10</item>
|
|
||||||
<item>12</item>
|
|
||||||
<item>15</item>
|
|
||||||
<item>17</item>
|
|
||||||
<item>24</item>
|
|
||||||
<item>30</item>
|
|
||||||
<item>30</item>
|
|
||||||
<item>44</item>
|
|
||||||
<item>45</item>
|
|
||||||
<item>48</item>
|
|
||||||
<item>55</item>
|
|
||||||
<item>64</item>
|
|
||||||
<item>66</item>
|
|
||||||
<item>69</item>
|
|
||||||
<item>84</item>
|
|
||||||
<item>93</item>
|
|
||||||
<item>105</item>
|
|
||||||
<item>200</item>
|
|
||||||
<item>240</item>
|
|
||||||
<item>255</item>
|
|
||||||
</integer-array>
|
|
||||||
|
|
||||||
<!-- 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">2000</integer>
|
|
||||||
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
|
|
||||||
|
|
||||||
<!-- The maximum range of gamma adjustment possible using the screen
|
|
||||||
auto-brightness adjustment setting. -->
|
|
||||||
<fraction name="config_autoBrightnessAdjustmentMaxGamma">200%</fraction>
|
|
||||||
|
|
||||||
<!-- Period of time in which to consider light samples in milliseconds. -->
|
|
||||||
<integer name="config_autoBrightnessAmbientLightHorizon">16000</integer>
|
|
||||||
|
|
||||||
<!-- Minimum screen brightness allowed by the power manager. -->
|
|
||||||
<integer name="config_screenBrightnessDim">1</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">1</integer>
|
|
||||||
|
|
||||||
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
|
||||||
May be less than the minimum allowed brightness setting
|
|
||||||
that can be set by the user. -->
|
|
||||||
<integer name="config_screenBrightnessDoze">17</integer>
|
|
||||||
|
|
||||||
<!-- Default screen brightness setting.
|
|
||||||
Must be in the range specified by minimum and maximum. -->
|
|
||||||
<integer name="config_screenBrightnessSettingDefault">128</integer>
|
|
||||||
|
|
||||||
<!-- Configure mobile tcp buffer sizes in the form:
|
<!-- Configure mobile tcp buffer sizes in the form:
|
||||||
rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
|
rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
|
||||||
If no value is found for the rat-name in use, the system default will be applied.
|
If no value is found for the rat-name in use, the system default will be applied.
|
||||||
|
|
Loading…
Reference in a new issue