Merge "display: tk4: don't apply overlay in low light" into 24D1-dev am: f4efe5d49d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/26583085 Change-Id: Ic3d8d7b01d73a25796d4a87abc291d94271b64ae Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
331b39c06f
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
||||||
to brightness values; -1 means keeping the current brightness. -->
|
to brightness values; -1 means keeping the current brightness. -->
|
||||||
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
||||||
<item>-1</item> <!-- 0: OFF -->
|
<item>-1</item> <!-- 0: OFF -->
|
||||||
<item>2</item> <!-- 1: NIGHT -->
|
<item>1</item> <!-- 1: NIGHT (1-1)/(255-1)*(1800-2)+2 = 2 nits -->
|
||||||
<item>2</item> <!-- 2: LOW (2-1)/(255-1)*(1800-2)+2 = 9.08 nits -->
|
<item>2</item> <!-- 2: LOW (2-1)/(255-1)*(1800-2)+2 = 9.08 nits -->
|
||||||
<item>8</item> <!-- 3: HIGH (8-1)/(255-1)*(1800-2)+2 = 51.55 nits -->
|
<item>8</item> <!-- 3: HIGH (8-1)/(255-1)*(1800-2)+2 = 51.55 nits -->
|
||||||
<item>8</item> <!-- 4: SUN -->
|
<item>8</item> <!-- 4: SUN -->
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
-1 means keeping the current opacity. -->
|
-1 means keeping the current opacity. -->
|
||||||
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
|
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
|
||||||
<item>-1</item> <!-- 0: OFF -->
|
<item>-1</item> <!-- 0: OFF -->
|
||||||
<item>133</item> <!-- 1: NIGHT -->
|
<item>0</item> <!-- 1: NIGHT -->
|
||||||
<item>0</item> <!-- 2: LOW -->
|
<item>0</item> <!-- 2: LOW -->
|
||||||
<item>0</item> <!-- 3: HIGH -->
|
<item>0</item> <!-- 3: HIGH -->
|
||||||
<item>0</item> <!-- 4: SUN -->
|
<item>0</item> <!-- 4: SUN -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue