Merge "husky: add display low blocking zone" into udc-d1-dev am: 4021a72fc7
am: 17eee7d18e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23674404 Change-Id: I38d41136aa0dea8dbf0fa8e9ffe55ec6ad513a1f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
6149843b7c
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 -->
|
||||
<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.
|
||||
The N entries of this array define N 1 zones as follows:
|
||||
Zone 0: 0 <= LUX < array[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue