Add physical button locations for raviole
Bug: 181020504
Test: physically measured on device
Change-Id: Ia989754a7af92d4de64185f08a52ec83b0fc3618
diff --git a/oriole/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/oriole/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
index 118782c..d415b72 100644
--- a/oriole/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
+++ b/oriole/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
@@ -39,5 +39,12 @@
<dimen name="config_rounded_mask_size_top">71px</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>
diff --git a/raven/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/raven/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
index 8638c73..9de5e14 100644
--- a/raven/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
+++ b/raven/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
@@ -43,6 +43,13 @@
<string translatable="false" name="config_protectedCameraId">1</string>
<bool name="config_enableDisplayCutoutProtection">true</bool>
-</resources>
+ <!-- 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>
+