Add physical button locations for raviole

Bug: 181020504
Test: physically measured on device
Change-Id: Ia989754a7af92d4de64185f08a52ec83b0fc3618
This commit is contained in:
Beverly 2021-04-02 10:01:32 -04:00
parent 207603f6b2
commit 9420469be8
2 changed files with 16 additions and 2 deletions

View file

@ -39,5 +39,12 @@
<dimen name="config_rounded_mask_size_top">71px</dimen> <dimen name="config_rounded_mask_size_top">71px</dimen>
<dimen name="config_rounded_mask_size_bottom">70px</dimen> <dimen name="config_rounded_mask_size_bottom">70px</dimen>
</resources> <!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">650px</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">1110px</dimen>
</resources>

View file

@ -43,6 +43,13 @@
<string translatable="false" name="config_protectedCameraId">1</string> <string translatable="false" name="config_protectedCameraId">1</string>
<bool name="config_enableDisplayCutoutProtection">true</bool> <bool name="config_enableDisplayCutoutProtection">true</bool>
<!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">940px</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">1320px</dimen>
<dimen name="physical_volume_down_button_center_screen_location_y">1520px</dimen>
</resources> </resources>