P22: update display blocking zone for EVT1.0 am: 8489809c43
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17189643 Change-Id: Iee45c38458cc9fa372aaf23b80273ecdc016adfb
This commit is contained in:
commit
f8f133ffff
2 changed files with 28 additions and 0 deletions
|
@ -67,6 +67,19 @@
|
|||
@left
|
||||
</string>
|
||||
|
||||
<!-- 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 5 nits: round((5-2)/(1000-2)*(255-1)+1) = 2 -->
|
||||
<item>2</item> <!-- 15% 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]
|
||||
|
|
|
@ -66,6 +66,21 @@
|
|||
@left
|
||||
</string>
|
||||
|
||||
<!-- 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 20 nits: round((20-2)/(1000-2)*(255-1)+1) = 6 -->
|
||||
<item>6</item> <!-- 34% UI brightness -->
|
||||
<!-- System brightness for 25 nits: round((25-2)/(1000-2)*(255-1)+1) = 7 -->
|
||||
<item>7</item> <!-- 38% UI brightness -->
|
||||
</integer-array>
|
||||
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>-1</item>
|
||||
<item>20</item>
|
||||
</integer-array>
|
||||
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
|
||||
<integer name="config_defaultRefreshRateInZone">90</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