lemonadep: Setup udfps overlays

* fod radius = radius value / 2
 * fod x position = x position value + (radius value / 2)
 * fod y position = y position value + (radius value / 2)
 * fod enroll progress radius = (radius value / 2) + 5

Change-Id: I9d3a39ab6b6b5b069e4ba66ef6baa477fd6829da
This commit is contained in:
TheScarastic
2021-11-01 13:41:26 +05:30
committed by Bruno Martins
parent 8cf2d4a133
commit 2284ae1930
4 changed files with 19 additions and 7 deletions

View File

@@ -497,4 +497,12 @@
black in software (to avoid aliasing or emulate a cutout that is not physically existent).
-->
<bool name="config_fillMainBuiltInDisplayCutout">true</bool>
<!-- The properties of a UDFPS sensor in pixels, in the order listed below: -->
<integer-array name="config_udfps_sensor_props" translatable="false" >
<item>717</item> <!-- <item>sensorLocationX</item> -->
<item>2936</item> <!-- <item>sensorLocationY</item> -->
<item>110</item> <!-- <item>sensorRadius</item> -->
</integer-array>
</resources>

View File

@@ -23,4 +23,7 @@
<!-- Respect drawable/rounded.xml intrinsic size for multiple radius corner path customization -->
<bool name="config_roundedCornerMultipleRadius">true</bool>
<!-- The Enrollment Progress bar for UDFPS sensor in pixels -->
<integer name="config_udfpsEnrollProgressBar" translatable="false">115</integer>
</resources>