dre: overlays: set physical location of side fps
- we have fps on power button, so same values Change-Id: Ieec34eef8c5a26b075da1314445b2b06391ec7b4
This commit is contained in:
parent
0d0657c07d
commit
f20c9d1520
2 changed files with 31 additions and 0 deletions
|
@ -668,6 +668,20 @@
|
||||||
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
||||||
<bool name="config_is_powerbutton_fps" translatable="false">true</bool>
|
<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>local:4630946945666696833</item>
|
||||||
|
<item>1080</item>
|
||||||
|
<item>815</item>
|
||||||
|
<item>115</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
||||||
<integer-array name="config_availableColorModes">
|
<integer-array name="config_availableColorModes">
|
||||||
<item>0</item>
|
<item>0</item>
|
||||||
|
|
|
@ -35,4 +35,21 @@
|
||||||
<dimen name="system_icons_keyguard_padding_end">@dimen/status_bar_padding_end</dimen>
|
<dimen name="system_icons_keyguard_padding_end">@dimen/status_bar_padding_end</dimen>
|
||||||
|
|
||||||
<dimen name="keyguard_indication_margin_bottom">300px</dimen>
|
<dimen name="keyguard_indication_margin_bottom">300px</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">930px</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">930px</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue