|
@@ -7,6 +7,29 @@
|
|
|
<!-- Type of the udfps long press sensor. Empty if long press is not supported. -->
|
|
|
<string name="config_dozeUdfpsLongPressSensorType" translatable="false">org.lineageos.sensor.udfps</string>
|
|
|
|
|
|
+ <!-- The bounding path of the cutout region of the main built-in display.
|
|
|
+ Must either be empty if there is no cutout region, or a string that is parsable by
|
|
|
+ {@link android.util.PathParser}.
|
|
|
+
|
|
|
+ The path is assumed to be specified in display coordinates with pixel units and in
|
|
|
+ the display's native orientation, with the origin of the coordinate system at the
|
|
|
+ center top of the display. Optionally, you can append either `@left` or `@right` to the
|
|
|
+ end of the path string, in order to change the path origin to either the top left,
|
|
|
+ or top right of the display.
|
|
|
+
|
|
|
+ To facilitate writing device-independent emulation overlays, the marker `@dp` can be
|
|
|
+ appended after the path string to interpret coordinates in dp instead of px units.
|
|
|
+ Note that a physical cutout should be configured in pixels for the best results.
|
|
|
+
|
|
|
+ Example for a 10px x 10px square top-center cutout:
|
|
|
+ <string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
|
|
|
+ Example for a 10dp x 10dp square top-center cutout:
|
|
|
+ <string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
|
|
|
+
|
|
|
+ @see https://www.w3.org/TR/SVG/paths.html#PathData
|
|
|
+ -->
|
|
|
+ <string name="config_mainBuiltInDisplayCutout" translatable="false">M 0,0 H -33 V 87 H 33 V 0 H 0 Z</string>
|
|
|
+
|
|
|
<!-- How long it takes for the HW to start illuminating after the illumination is requested. -->
|
|
|
<integer name="config_udfps_illumination_transition_ms">0</integer>
|
|
|
</resources>
|