summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Veichtlbauer <georg@vware.at>2022-02-13 13:01:25 +0100
committerGeorg Veichtlbauer <georg@vware.at>2022-03-02 10:37:51 +0100
commitd35c94594ef0f9af0292aebe35813c33955eb2af (patch)
tree49f3f242bd9c506a1ab8ae6bb88c01b7c27aa1c4
parent5043ed897190f8c1489a35c65c9275b3fc738c33 (diff)
dumpling: Set physical button and fingerprint locations
Change-Id: Ia887168060946e75a4efea8f88a7f8123686be8a
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
new file mode 100644
index 0000000..9e5c099
--- /dev/null
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2013, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+<resources>
+
+ <!-- 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">670px</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">490px</dimen>
+
+</resources>