Merge "display: update AOD brightness setting" into tm-qpr-dev am: c358c2b727

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/19861250

Change-Id: I81f63480511e2b83fec971aa613c5aeb980750d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Gil Liu 2022-09-16 08:09:24 +00:00 committed by Automerger Merge Worker
commit feb4c528bd

View file

@ -89,5 +89,48 @@
<string translatable="false" name="config_cameraProtectionExcludedPackages">com.google.android.as</string> <string translatable="false" name="config_cameraProtectionExcludedPackages">com.google.android.as</string>
<bool name="config_enableDisplayCutoutProtection">true</bool> <bool name="config_enableDisplayCutoutProtection">true</bool>
<!-- Type of a sensor that provides a low-power estimate of the desired display
brightness, suitable to listen to while the device is asleep (e.g. during
always-on display) -->
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
<bool name="doze_pickup_performs_proximity_check">true</bool>
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
<bool name="doze_double_tap_reports_touch_coordinates">true</bool>
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
to brightness values; -1 means keeping the current brightness. -->
<integer-array name="config_doze_brightness_sensor_to_brightness">
<item>-1</item> <!-- 0: OFF -->
<item>3</item> <!-- 1: NIGHT -->
<item>3</item> <!-- 2: LOW -->
<item>13</item> <!-- 3: HIGH -->
<item>13</item> <!-- 4: SUN -->
</integer-array>
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
to an opacity value for a black scrim that is overlaid in AOD1.
Valid range is from 0 (transparent) to 255 (opaque).
-1 means keeping the current opacity. -->
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
<item>-1</item> <!-- 0: OFF -->
<item>133</item> <!-- 1: NIGHT -->
<item>0</item> <!-- 2: LOW -->
<item>0</item> <!-- 3: HIGH -->
<item>0</item> <!-- 4: SUN -->
</integer-array>
<!-- Doze: Name of a sensor per posture state that provides a low-power estimate of the desired
display brightness, suitable to listen to while the device is asleep (e.g. during
always-on display) -->
<string-array name="doze_brightness_sensor_name_posture_mapping" translatable="false">
<item></item> <!-- UNKNOWN -->
<item>Binned Brightness 1 (wake-up)</item> <!-- CLOSED -->
<item>Binned Brightness 0 (wake-up)</item> <!-- HALF_OPENED -->
<item>Binned Brightness 0 (wake-up)</item> <!-- OPENED -->
</string-array>
</resources> </resources>