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 committed 2026-11-06 08:18:48 +05:30
1 parent b5b508d11c
commit 1c12ba9845
2 files changed
+5 -5

No files matched your search

@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 The LineageOS Project
Copyright (C) 2023-2026 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<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>