aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rro_overlays/SystemUIOverlayVeux/res/values/config.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/rro_overlays/SystemUIOverlayVeux/res/values/config.xml b/rro_overlays/SystemUIOverlayVeux/res/values/config.xml
index 221511c..339531d 100644
--- a/rro_overlays/SystemUIOverlayVeux/res/values/config.xml
+++ b/rro_overlays/SystemUIOverlayVeux/res/values/config.xml
@@ -53,5 +53,33 @@
<!-- Flag to turn on the rendering of the above path or not -->
<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">xiaomi.sensor.aod</string>
+
+ <!-- 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>
+ <item>-1</item>
+ <item>-1</item>
+ <item>1</item>
+ <item>255</item>
+ <item>1</item>
+ </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 overlayed 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>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ </integer-array>
</resources>