mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-07-18 10:12:51 +00:00
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:
parent
8cf2d4a133
commit
2284ae1930
@ -22,11 +22,6 @@ DEVICE_PATH := device/oneplus/lemonadep
|
||||
# Bluetooth
|
||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
|
||||
|
||||
# Fingerprint
|
||||
SOONG_CONFIG_ONEPLUS_FOD_POS_X = 604
|
||||
SOONG_CONFIG_ONEPLUS_FOD_POS_Y = 2828
|
||||
SOONG_CONFIG_ONEPLUS_FOD_SIZE = 232
|
||||
|
||||
# Properties
|
||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
||||
|
||||
|
@ -20,7 +20,13 @@
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- Color of the FOD view -->
|
||||
<color name="config_fodColor">#ffffe6</color>
|
||||
<!-- Color of the UDFPS Pressed view -->
|
||||
<color name="config_udfpsColor">#ffffe6</color>
|
||||
|
||||
<!-- HBM type of UDFPS overlay.
|
||||
0 - GLOBAL HBM
|
||||
1 - LOCAL HBM
|
||||
-->
|
||||
<integer name="config_udfpsHbmType">0</integer>
|
||||
|
||||
</resources>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user