summaryrefslogtreecommitdiff
path: root/overlay/frameworks/base/packages/overlays/pixel_6a/SystemUIOverlay/res/values/dimens.xml
blob: 5609bfc7bb6ec06f9a0f56a39a23c4ca588b90e4 (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
53
54
<?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>
    <!-- Don't need the left side padding due to being inset from the cutout -->
    <dimen name="status_bar_padding_start">0dp</dimen>

    <!-- 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 56 extra px of padding
    for the corners -->
    <dimen name="system_icons_super_container_avatarless_margin_end">11px</dimen>

    <!-- Multi user switch has some intrinsic padding to it -->
    <dimen name="multi_user_switch_keyguard_margin">6dp</dimen>

    <dimen name="keyguard_carrier_text_margin">0px</dimen>

    <dimen name="config_rounded_mask_size">47px</dimen>
    <dimen name="config_rounded_mask_size_top">47px</dimen>
    <dimen name="config_rounded_mask_size_bottom">46px</dimen>

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

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

    <!-- Offset should not be more than 1mm -->
    <dimen name="udfps_burn_in_offset_y">16px</dimen>
</resources>