summaryrefslogtreecommitdiff
path: root/overlay/frameworks/base/packages/overlays/pixel_6_pro/SystemUIOverlay/res/values/dimens.xml
blob: 0fb125b18c45ab7fbb71926dcd6098265a4698df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (c) 2023, 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>
    <!-- the padding on the top of the statusbar (usually 0) -->
    <dimen name="status_bar_padding_top">1px</dimen>

    <!-- Height of the status bar header bar when on Keyguard (match status_bar_height) -->
    <dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>

    <!-- Padding for the system icons on the keyguard (when no multi user switch is showing).
    The icons always have a 4dp padding in the container so we only need 26 extra px of padding
    for the corners -->
    <dimen name="system_icons_super_container_avatarless_margin_end">26px</dimen>

    <!-- Margin on the right side of the system icon group on Keyguard. -->
    <dimen name="system_icons_keyguard_padding_end">6.5dp</dimen>

    <!-- A path similar to frameworks/base/core/res/res/values/config.xml
        config_mainBuiltInDisplayCutout that describes a path larger than the exact path of a display
        cutout. If present as well as config_enableDisplayCutoutProtection is set to true, then
        SystemUI will draw this "protection path" instead of the display cutout path that is normally
        used for anti-aliasing.

        This path will only be drawn when the front-facing camera turns on, otherwise the main
        DisplayCutout path will be rendered
    -->

    <!-- 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>

    <!-- Padding for the lock icon on the keyguard. In pixels - should not scale with display size. -->
    <dimen name="lock_icon_padding">68px</dimen>
</resources>