mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2026-11-28 00:34:27 +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:
1 parent
b5b508d11c
commit
1c12ba9845
2 files changed
+5
-5
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022-2023 The LineageOS Project
|
||||
Copyright (C) 2022-2026 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user