summaryrefslogtreecommitdiff
path: root/packages/SystemUI/res/values-sw600dp-land/dimens.xml
blob: 6c42073b8805a02675c3dc7a20c4a41357560a8b (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (c) 2021, 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>

    <!-- keyguard-->
    <dimen name="keyguard_indication_margin_bottom">25dp</dimen>
    <dimen name="ambient_indication_margin_bottom">115dp</dimen>
    <dimen name="lock_icon_margin_bottom">60dp</dimen>
    <!-- margin from keyguard status bar to clock. For split shade it should be
         keyguard_split_shade_top_margin - status_bar_header_height_keyguard = 8dp -->
    <dimen name="keyguard_clock_top_margin">8dp</dimen>

    <!-- QS-->
    <dimen name="qs_panel_padding_top">16dp</dimen>
    <dimen name="qs_content_horizontal_padding">24dp</dimen>
    <dimen name="qs_horizontal_margin">24dp</dimen>
    <!-- in split shade qs_tiles_page_horizontal_margin should be equal of qs_horizontal_margin/2,
         otherwise full space between two pages is qs_horizontal_margin*2, and that makes tiles page
         not appear immediately after user swipes to the side -->
    <dimen name="qs_tiles_page_horizontal_margin">12dp</dimen>
    <dimen name="qs_media_session_height_expanded">172dp</dimen>

    <dimen name="split_shade_notifications_scrim_margin_bottom">16dp</dimen>

    <dimen name="notification_panel_margin_bottom">48dp</dimen>

    <!-- Limit the TaskView to this percentage of the overall screen width (0.0 - 1.0) -->
    <item name="controls_task_view_width_percentage" translatable="false" format="float" type="dimen">0.45</item>
    <dimen name="controls_task_view_right_margin">8dp</dimen>

    <dimen name="status_bar_header_height_keyguard">42dp</dimen>

    <dimen name="lockscreen_shade_max_over_scroll_amount">32dp</dimen>

    <!-- Distance that the full shade transition takes in order to complete by tapping on a button
         like "expand". -->
    <dimen name="lockscreen_shade_transition_by_tap_distance">200dp</dimen>

    <!-- Distance that the full shade transition takes in order to complete.  -->
    <dimen name="lockscreen_shade_full_transition_distance">200dp</dimen>

    <!-- Distance that the full shade transition takes in order for media to fully transition to
         the shade -->
    <dimen name="lockscreen_shade_media_transition_distance">200dp</dimen>

    <!-- Distance that the full shade transition takes in order for scrim to fully transition to
         the shade (in alpha) -->
    <dimen name="lockscreen_shade_scrim_transition_distance">80dp</dimen>

    <!-- The notifications scrim transition should start when the other scrims' transition is at
         95%. -->
    <dimen name="lockscreen_shade_notifications_scrim_transition_delay">76dp</dimen>

    <!-- The notifications scrim transition duration is 66.6% of the duration of the other scrims'
         transition. -->
    <dimen name="lockscreen_shade_notifications_scrim_transition_distance">53.28dp</dimen>

    <!-- Distance that the full shade transition takes in order for the keyguard content on
         NotificationPanelViewController to fully fade (e.g. Clock & Smartspace) -->
    <dimen name="lockscreen_shade_npvc_keyguard_content_alpha_transition_distance">80dp</dimen>

    <!-- Distance that the full shade transition takes in order for the notification shell to fully
         expand. -->
    <dimen name="lockscreen_shade_notif_shelf_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>

    <!-- Distance that the full shade transition takes in order for the Quick Settings to fully
         fade and expand. -->
    <dimen name="lockscreen_shade_qs_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>

    <!-- Distance that the full shade transition takes in order for depth of the wallpaper to fully
         change.
         On split-shade, there should be no depth effect, so setting the value to 0. -->
    <dimen name="lockscreen_shade_depth_controller_transition_distance">0dp</dimen>

    <!-- Distance that the full shade transition takes in order for the UDFPS Keyguard View to fully
         fade. -->
    <dimen name="lockscreen_shade_udfps_keyguard_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>

    <!-- Used for StatusBar to know that a transition is in progress. At the moment it only checks
         whether the progress is > 0, therefore this value is not very important. -->
    <dimen name="lockscreen_shade_status_bar_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>

    <dimen name="lockscreen_shade_keyguard_transition_distance">@dimen/lockscreen_shade_media_transition_distance</dimen>

    <!-- Roughly the same distance as media on LS to media on QS. We will translate by this value
         when media is not showing. -->
    <dimen name="lockscreen_shade_keyguard_transition_vertical_offset">83dp</dimen>

    <dimen name="notification_panel_margin_horizontal">24dp</dimen>
</resources>