lemonadep: Set proper fingerprint sensor position

Dimension values op_biometric_icon_normal_location_x,
op_biometric_icon_normal_location_y and op_biometric_icon_normal_width
taken from OnePlus overlays (OdmOverlay-OPSystemUI).

Keyguard security container bottom margin adjusted accordingly
as per formula: (SCREEN_HEIGHT - FOD_POS_Y + (FOD_SIZE / 2))

Change-Id: I88d8352f89915552e49c9c959ba5af963241a115
This commit is contained in:
Bruno Martins 2021-05-29 00:59:09 +01:00
parent 8947388735
commit 58c7f06a2b
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
# Fingerprint # Fingerprint
SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_POS_X = 604 SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_POS_X = 604
SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_POS_Y = 2434 SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_POS_Y = 2828
SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_SIZE = 232 SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_SIZE = 232
# Properties # Properties

View File

@ -16,5 +16,5 @@
--> -->
<resources> <resources>
<!-- The bottom margin of the keyguard security container --> <!-- The bottom margin of the keyguard security container -->
<dimen name="kg_security_container_min_bottom_margin">725px</dimen> <dimen name="kg_security_container_min_bottom_margin">504px</dimen>
</resources> </resources>