sm8450-common: overlay: display: add blocking zone

zone1 condition(10 nits) in 120Hz
zone2 condition(15 nits, 5 Lux) in 120Hz

Bug: 243757430
Bug: 246905529
Test: Check the refresh rata at zone
Change-Id: Iee9bd842571165785c03ae761780371798fbb758
Signed-off-by: Arian <arian.kulmer@web.de>
This commit is contained in:
Gil 2022-10-01 16:39:52 +08:00 committed by Arian
parent 113c4b5bc7
commit 85414ef27d

View file

@ -57,4 +57,20 @@
<!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">true</bool>
<!-- Low zone brightness thresholds in the range [0, 255] -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate" translatable="false">
<item>3</item>
<item>4</item>
</integer-array>
<!-- Low zone lux thresholds -->
<integer-array name="config_ambientThresholdsOfPeakRefreshRate" translatable="false">
<item>-1</item>
<item>5</item>
</integer-array>
<!-- Default refresh rate in the zone defined by brightness and ambient thresholds.
If non-positive, then the refresh rate is unchanged even if thresholds are configured. -->
<integer name="config_defaultRefreshRateInZone">120</integer>
</resources>