lisa: overlay: Set physical location of side fps

- we have fps on power button, so same values

Co-Authored-By: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: Ieec34eef8c5a26b075da1314445b2b06391ec7b4
This commit is contained in:
althafvly 2022-03-14 15:45:44 +05:30 committed by Giovanni Ricca
parent 6983823f94
commit 154c0ef446
2 changed files with 31 additions and 0 deletions

View File

@ -312,4 +312,18 @@
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps" translatable="false">true</bool>
<!-- An array of arrays of side fingerprint sensor properties relative to each display.
Note: this value is temporary and is expected to be queried directly
from the HAL in the future. -->
<array name="config_sfps_sensor_props" translatable="false">
<item>@array/config_sfps_sensor_props_0</item>
</array>
<array name="config_sfps_sensor_props_0" translatable="false">
<item></item> <!-- displayId -->
<item>1080</item> <!-- sensorLocationX -->
<item>960</item> <!-- sensorLocationY -->
<item>200</item> <!-- sensorRadius -->
</array>
</resources>

View File

@ -7,4 +7,21 @@
<resources>
<dimen name="rounded_corner_content_padding">47px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor.
By default, this is set to @null to use the horizontal center of the screen. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">@dimen/physical_power_button_center_screen_location_y</dimen>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">1060px</dimen>
</resources>