sdm710-common: overlay: cleanup unused auto brightness values
Removed unused values that no longer exist in the current frameworks
This commit is contained in:
parent
906e32bca8
commit
ca14a6656d
1 changed files with 0 additions and 45 deletions
|
@ -126,51 +126,6 @@
|
||||||
<item>527</item>
|
<item>527</item>
|
||||||
</integer-array>
|
</integer-array>
|
||||||
|
|
||||||
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
|
|
||||||
percent. The length of this array is assumed to be one greater than
|
|
||||||
config_dynamicHysteresisLuxLevels. The brightening threshold is calculated as
|
|
||||||
lux * (1.0f + CONSTRAINT_VALUE). When the current lux is higher than this threshold,
|
|
||||||
the screen brightness is recalculated. See the config_dynamicHysteresisLuxLevels
|
|
||||||
description for how the constraint value is chosen. -->
|
|
||||||
<integer-array name="config_dynamicHysteresisBrightLevels">
|
|
||||||
<item>1000</item>
|
|
||||||
<item>1000</item>
|
|
||||||
<item>500</item>
|
|
||||||
<item>300</item>
|
|
||||||
<item>100</item>
|
|
||||||
</integer-array>
|
|
||||||
|
|
||||||
<!-- Array of hysteresis constraint values for darkening, represented as tenths of a
|
|
||||||
percent. The length of this array is assumed to be one greater than
|
|
||||||
config_dynamicHysteresisLuxLevels. The darkening threshold is calculated as
|
|
||||||
lux * (1.0f - CONSTRAINT_VALUE). When the current lux is lower than this threshold,
|
|
||||||
the screen brightness is recalculated. See the config_dynamicHysteresisLuxLevels
|
|
||||||
description for how the constraint value is chosen. -->
|
|
||||||
<integer-array name="config_dynamicHysteresisDarkLevels">
|
|
||||||
<item>800</item>
|
|
||||||
<item>800</item>
|
|
||||||
<item>400</item>
|
|
||||||
<item>200</item>
|
|
||||||
<item>200</item>
|
|
||||||
</integer-array>
|
|
||||||
|
|
||||||
<!-- Array of ambient lux threshold values. This is used for determining hysteresis constraint
|
|
||||||
values by calculating the index to use for lookup and then setting the constraint value
|
|
||||||
to the corresponding value of the array. The new brightening hysteresis constraint value
|
|
||||||
is the n-th element of config_dynamicHysteresisBrightLevels, and the new darkening
|
|
||||||
hysteresis constraint value is the n-th element of config_dynamicHysteresisDarkLevels.
|
|
||||||
The (zero-based) index is calculated as follows: (MAX is the largest index of the array)
|
|
||||||
condition calculated index
|
|
||||||
value < lux[0] 0
|
|
||||||
lux[n] <= value < lux[n+1] n+1
|
|
||||||
lux[MAX] <= value MAX+1 -->
|
|
||||||
<integer-array name="config_dynamicHysteresisLuxLevels">
|
|
||||||
<item>3</item>
|
|
||||||
<item>41</item>
|
|
||||||
<item>618</item>
|
|
||||||
<item>989</item>
|
|
||||||
</integer-array>
|
|
||||||
|
|
||||||
<!-- Screen brightness used to dim the screen when the user activity
|
<!-- Screen brightness used to dim the screen when the user activity
|
||||||
timeout expires. May be less than the minimum allowed brightness setting
|
timeout expires. May be less than the minimum allowed brightness setting
|
||||||
that can be set by the user. -->
|
that can be set by the user. -->
|
||||||
|
|
Loading…
Reference in a new issue