Merge "display: set default brightness" into udc-d1-dev
This commit is contained in:
commit
715b8f9b27
2 changed files with 10 additions and 0 deletions
|
@ -43,6 +43,11 @@
|
||||||
The user is forbidden from setting the brightness above this level. -->
|
The user is forbidden from setting the brightness above this level. -->
|
||||||
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
|
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
|
||||||
|
|
||||||
|
<!-- Default screen brightness setting
|
||||||
|
Must be in the range specified by minimum and maximum. -->
|
||||||
|
<!-- 140 nits: (140-2)/(1000-2)*(0.63-0.0)+0.0 = 0.087114228 -->
|
||||||
|
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.087114228</item>
|
||||||
|
|
||||||
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
|
<!-- 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:
|
The N entries of this array define N 1 zones as follows:
|
||||||
Zone 0: 0 <= LUX < array[0]
|
Zone 0: 0 <= LUX < array[0]
|
||||||
|
|
|
@ -40,6 +40,11 @@
|
||||||
The user is forbidden from setting the brightness above this level. -->
|
The user is forbidden from setting the brightness above this level. -->
|
||||||
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
|
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
|
||||||
|
|
||||||
|
<!-- Default screen brightness setting
|
||||||
|
Must be in the range specified by minimum and maximum. -->
|
||||||
|
<!-- 140 nits: (140-2)/(1000-2)*(0.71-0.0)+0.0 = 0.098176353 -->
|
||||||
|
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.098176353</item>
|
||||||
|
|
||||||
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
|
<!-- 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:
|
The N entries of this array define N 1 zones as follows:
|
||||||
Zone 0: 0 <= LUX < array[0]
|
Zone 0: 0 <= LUX < array[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue