commit | 8a91ada70f2b4313ab99bbe0d542329cb0df2a6b | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Fri Apr 02 17:10:13 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Apr 02 17:10:13 2021 +0000 |
tree | 1f3601b9ebc3efdba2afc4846028f65777201fda | |
parent | 51a1be838add5f0cabd26403be86d293e983d185 [diff] | |
parent | 9420469be89b124d58d11f378ff394ab406c2828 [diff] |
Add physical button locations for raviole am: 9420469be8 Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14076389 Change-Id: If2b0d16ea5646955c101bb4c075c02578d7dd9a2
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> +