husky: add display low blocking zone
Set 120Hz if lower than 8 nits and 5 lux. Bug: 282725148 Test: Set brightness and check refresh rate Change-Id: I0039ccb2f112c2a4b77960452907bccb7bd0f6ca Signed-off-by: Chris Lu <luchris@google.com>
This commit is contained in:
parent
95302b8c54
commit
87028a539e
1 changed files with 13 additions and 0 deletions
|
@ -48,6 +48,19 @@
|
||||||
<!-- 140 nits: (140-2)/(1000-2)*(0.63-0.0)+0.0 = 0.087114228 -->
|
<!-- 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>
|
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.087114228</item>
|
||||||
|
|
||||||
|
<!-- Not allow to switch to higher refresh rate when display brightness setting is
|
||||||
|
equal or less than this value -->
|
||||||
|
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||||
|
<!-- System brightness for 8 nits: round((8-2)/(1600-2)*(255-1)+1) = 2 -->
|
||||||
|
<item>2</item> <!-- 14% UI brightness -->
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||||
|
<item>5</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
|
||||||
|
<integer name="config_defaultRefreshRateInZone">120</integer>
|
||||||
|
|
||||||
<!-- 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