summaryrefslogtreecommitdiff
path: root/packages/SystemUI/res/values-sw600dp-land/dimens.xml
blob: b24ce122208fb453a6480d7491e3d983b2fd5438 (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
<?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>

    <dimen name="status_view_margin_horizontal">8dp</dimen>

    <!-- Lockscreen shade transition values -->
    <dimen name="lockscreen_shade_transition_by_tap_distance">200dp</dimen>
    <dimen name="lockscreen_shade_full_transition_distance">200dp</dimen>
    <!-- Media transition distance = qs delay + qs distance   -->
    <dimen name="lockscreen_shade_media_transition_distance">129.28dp</dimen>
    <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>
    <dimen name="lockscreen_shade_npvc_keyguard_content_alpha_transition_distance">80dp</dimen>
    <dimen name="lockscreen_shade_notif_shelf_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
    <dimen name="lockscreen_shade_qs_transition_distance">@dimen/lockscreen_shade_notifications_scrim_transition_distance</dimen>
    <dimen name="lockscreen_shade_qs_transition_delay">@dimen/lockscreen_shade_notifications_scrim_transition_delay</dimen>
    <dimen name="lockscreen_shade_qs_squish_transition_distance">@dimen/lockscreen_shade_qs_transition_distance</dimen>
    <!-- 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>
    <dimen name="lockscreen_shade_udfps_keyguard_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
    <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>