display: update AOD brightness setting
Bug: 244389620 Test: check AOD brightness Change-Id: Iadce02f701e1572a269a739c0c18224fd955a442
This commit is contained in:
parent
1368c814cf
commit
7a8d1b7ad0
1 changed files with 43 additions and 0 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue