mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-08-16 16:16:18 +00:00
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:
parent
cc5cc70af2
commit
b51a94a303
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user