kunlun2: Add brightness float values to config file.
Test: manual testing - ensure that the brightness value in Settings>Display>Brightness Level can go the full range from 0% to 100%. Change-Id: I9e57760f9eb78bf944cea4e808866c16e3ffa695 Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
parent
d06a7361f4
commit
e6d6a83f22
1 changed files with 13 additions and 6 deletions
|
@ -176,13 +176,20 @@
|
||||||
that can be set by the user. -->
|
that can be set by the user. -->
|
||||||
<integer name="config_screenBrightnessDim">10</integer>
|
<integer name="config_screenBrightnessDim">10</integer>
|
||||||
|
|
||||||
<!-- Default screen brightness setting.
|
<!-- Minimum screen brightness setting allowed by power manager.
|
||||||
Must be in the range specified by minimum and maximum. -->
|
The user is forbidden from setting the brightness below this level.
|
||||||
<integer name="config_screenBrightnessSettingDefault">102</integer>
|
Equivalent to 1/255. -->
|
||||||
|
<item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>
|
||||||
|
|
||||||
<!-- Minimum screen brightness setting allowed by the power manager.
|
<!-- Maximum screen brightness allowed by the power manager.
|
||||||
The user is forbidden from setting the brightness below this level. -->
|
The user is forbidden from setting the brightness above this level.
|
||||||
<integer name="config_screenBrightnessSettingMinimum">1</integer>
|
Equivalent to 255/255. -->
|
||||||
|
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
|
||||||
|
|
||||||
|
<!-- Default screen brightness setting set.
|
||||||
|
Must be in the range specified by minimum and maximum.
|
||||||
|
Equivalent to 128/255. -->
|
||||||
|
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.5</item>
|
||||||
|
|
||||||
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
<!-- 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
|
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
||||||
|
|
Loading…
Reference in a new issue