Add physical button/sensor locations for redfin.

Bug: 181020504
Change-Id: I46e26422692b288b54a5c2b45ccdd724dcb23f9b
Test: these were physically measured on device
This commit is contained in:
Josh Tsuji
2021-03-30 17:05:17 +00:00
parent 9bf4215108
commit 2e1ac2bf27

View File

@@ -31,5 +31,18 @@
<dimen name="config_rounded_mask_size">156px</dimen>
<dimen name="config_rounded_mask_size_top">156px</dimen>
<dimen name="config_rounded_mask_size_bottom">156px</dimen>
<!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">620px</dimen>
<!-- Location on the screen of the center of the physical volume up/down buttons. -->
<dimen name="physical_volume_up_button_center_screen_location_y">950px</dimen>
<dimen name="physical_volume_down_button_center_screen_location_y">1150px</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">620px</dimen>
</resources>