ferrari: Update UDFPS sensor location for ferrari

sensorlocationX is calculated as width/2
sensorlocationY is calculated as (height - persist.vendor.fingerprint.optical.iconlocation) ie (3216 - 753 = 2463)
sensorRadius is calculated as persist.vendor.fingerprint.optical.iconsize/2 ie (228/2 = 114)
config_udfpsEnrollProgressBar is calculated as sensorRadius+5

Change-Id: If6556437abc7c760a45bd3f73f34e38f5d9bb3f2
This commit is contained in:
pjgowtham 2023-12-20 17:53:39 +05:30
parent cc5cc70af2
commit b51a94a303
2 changed files with 3 additions and 3 deletions

View File

@ -482,8 +482,8 @@
<!-- The properties of a UDFPS sensor in pixels, in the order listed below: -->
<integer-array name="config_udfps_sensor_props" translatable="false" >
<item>720</item> <!-- <item>sensorLocationX</item> -->
<item>2944</item> <!-- <item>sensorLocationY</item> -->
<item>124</item> <!-- <item>sensorRadius</item> -->
<item>2463</item> <!-- <item>sensorLocationY</item> -->
<item>114</item> <!-- <item>sensorRadius</item> -->
</integer-array>
</resources>

View File

@ -6,6 +6,6 @@
<resources>
<!-- The radius of the enrollment progress bar, in dp -->
<integer name="config_udfpsEnrollProgressBar" translatable="false">129</integer>
<integer name="config_udfpsEnrollProgressBar" translatable="false">119</integer>
</resources>