xref: /aosp_15_r20/frameworks/base/packages/SystemUI/res/values-sw600dp/dimens.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (c) 2012, The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *     http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16*/
17-->
18<resources>
19    <!-- Height of the status bar header bar when on Keyguard.
20         On large screens should be the same as the regular status bar. -->
21    <dimen name="status_bar_header_height_keyguard">@dimen/status_bar_height</dimen>
22
23    <!-- padding for container with status icons and battery -->
24    <dimen name="status_bar_icons_padding_end">4dp</dimen>
25    <!-- start padding is smaller to account for status icon margins coming from drawable itself -->
26    <dimen name="status_bar_icons_padding_start">3dp</dimen>
27    <dimen name="status_bar_icons_padding_bottom">2dp</dimen>
28    <dimen name="status_bar_icons_padding_top">2dp</dimen>
29    <dimen name="status_bar_battery_end_padding">4dp</dimen>
30
31
32    <dimen name="status_bar_padding_end">0dp</dimen>
33
34    <!-- Size of user icon + frame in the qs user picker (incl. frame) -->
35    <dimen name="qs_framed_avatar_size">60dp</dimen>
36    <!-- Size of user icon + frame in the keyguard user picker (incl. frame) -->
37    <dimen name="kg_framed_avatar_size">48dp</dimen>
38
39    <!-- The width of user avatar when on Keyguard -->
40    <dimen name="multi_user_avatar_keyguard_size">30dp</dimen>
41
42    <!-- Margin on the left side of the carrier text on Keyguard -->
43    <dimen name="keyguard_carrier_text_margin">24dp</dimen>
44
45    <!-- Screen pinning request width -->
46    <dimen name="screen_pinning_request_width">400dp</dimen>
47    <!-- Screen pinning request bottom button circle widths -->
48    <dimen name="screen_pinning_request_button_width">128dp</dimen>
49    <!-- Screen pinning request, controls padding on bigger screens, bigger nav bar -->
50    <dimen name="screen_pinning_request_frame_padding">22dp</dimen>
51    <!-- Screen pinning request side views to match nav bar
52         In sw600dp we want the buttons centered so this fills the space,
53         (screen_pinning_request_width - 3 * screen_pinning_request_button_width) / 2 -->
54    <dimen name="screen_pinning_request_side_width">8dp</dimen>
55
56    <dimen name="navigation_key_width">128dp</dimen>
57
58    <dimen name="navigation_key_padding">25dp</dimen>
59
60    <!-- width of ImmersiveModeConfirmation (-1 for match_parent) -->
61    <dimen name="immersive_mode_cling_width">600dp</dimen>
62
63    <!-- Keyboard shortcuts helper -->
64    <dimen name="ksh_layout_width">488dp</dimen>
65
66    <!-- Text size for user name in user switcher -->
67    <dimen name="kg_user_switcher_text_size">18sp</dimen>
68
69    <dimen name="global_actions_grid_item_layout_height">80dp</dimen>
70
71    <dimen name="qs_brightness_margin_bottom">16dp</dimen>
72
73    <dimen name="qs_panel_padding_top">8dp</dimen>
74
75    <!-- The width of large/content heavy dialogs (e.g. Internet, Media output, etc) -->
76    <dimen name="large_dialog_width">472dp</dimen>
77
78    <dimen name="large_screen_shade_header_height">42dp</dimen>
79
80    <!--
81    The horizontal distance between the shade overlay panel (both notifications and quick settings)
82    and the edge of the screen. On Compact screens in portrait orientation (< w600dp) this is
83    ignored in the shade layout, which takes up the full screen width without margins.
84    -->
85    <dimen name="shade_panel_margin_horizontal">24dp</dimen>
86
87    <!-- start padding is smaller to account for status icon margins coming from drawable itself -->
88    <dimen name="hover_system_icons_container_padding_start">3dp</dimen>
89    <dimen name="hover_system_icons_container_padding_end">4dp</dimen>
90    <dimen name="hover_system_icons_container_padding_top">2dp</dimen>
91    <dimen name="hover_system_icons_container_padding_bottom">2dp</dimen>
92
93    <!-- Lockscreen shade transition values -->
94    <dimen name="lockscreen_shade_transition_by_tap_distance">200dp</dimen>
95    <dimen name="lockscreen_shade_full_transition_distance">80dp</dimen>
96    <dimen name="lockscreen_shade_media_transition_distance">120dp</dimen>
97    <dimen name="lockscreen_shade_scrim_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
98    <dimen name="lockscreen_shade_notifications_scrim_transition_delay">@dimen/lockscreen_shade_scrim_transition_distance</dimen>
99    <dimen name="lockscreen_shade_notifications_scrim_transition_distance">@dimen/lockscreen_shade_scrim_transition_distance</dimen>
100    <dimen name="lockscreen_shade_npvc_keyguard_content_alpha_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
101    <dimen name="lockscreen_shade_notif_shelf_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
102    <dimen name="lockscreen_shade_qs_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
103    <dimen name="lockscreen_shade_qs_transition_delay">@dimen/lockscreen_shade_scrim_transition_distance</dimen>
104    <dimen name="lockscreen_shade_qs_squish_transition_distance">@dimen/lockscreen_shade_qs_transition_distance</dimen>
105    <dimen name="lockscreen_shade_depth_controller_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
106    <dimen name="lockscreen_shade_udfps_keyguard_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
107    <dimen name="lockscreen_shade_status_bar_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
108    <dimen name="lockscreen_shade_keyguard_transition_distance">@dimen/lockscreen_shade_media_transition_distance</dimen>
109
110    <!-- Dimensions for biometric prompt panel padding -->
111    <dimen name="biometric_prompt_one_pane_medium_top_guideline_padding">56dp</dimen>
112    <dimen name="biometric_prompt_one_pane_medium_horizontal_guideline_padding">@dimen/biometric_dialog_border_padding</dimen>
113
114    <!-- Dimensions for biometric prompt scroll view padding -->
115    <dimen name="biometric_prompt_top_scroll_view_bottom_padding">32dp</dimen>
116    <dimen name="biometric_prompt_top_scroll_view_horizontal_padding">32dp</dimen>
117
118    <!-- Dimensions for biometric prompt custom content view. -->
119    <dimen name="biometric_prompt_logo_description_top_padding">16dp</dimen>
120
121    <!-- Biometric Auth pattern view size, better to align keyguard_security_width -->
122    <dimen name="biometric_auth_pattern_view_size">348dp</dimen>
123
124    <dimen name="controls_header_horizontal_padding">12dp</dimen>
125    <dimen name="controls_content_margin_horizontal">24dp</dimen>
126    <dimen name="controls_content_padding">24dp</dimen>
127    <dimen name="control_list_vertical_spacing">8dp</dimen>
128    <dimen name="control_list_horizontal_spacing">16dp</dimen>
129</resources>
130