1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (c) 2021, 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
20    <!-- keyguard-->
21    <dimen name="keyguard_indication_margin_bottom">25dp</dimen>
22    <dimen name="ambient_indication_margin_bottom">115dp</dimen>
23    <dimen name="lock_icon_margin_bottom">60dp</dimen>
24    <!-- margin from keyguard status bar to clock. For split shade it should be
25         keyguard_split_shade_top_margin - status_bar_header_height_keyguard = 8dp -->
26    <dimen name="keyguard_clock_top_margin">8dp</dimen>
27    <dimen name="keyguard_smartspace_top_offset">0dp</dimen>
28
29    <!-- QS-->
30    <dimen name="qs_panel_padding_top">16dp</dimen>
31    <dimen name="qs_panel_padding">24dp</dimen>
32    <dimen name="qs_content_horizontal_padding">24dp</dimen>
33    <dimen name="qs_horizontal_margin">24dp</dimen>
34    <!-- in split shade qs_tiles_page_horizontal_margin should be equal of qs_horizontal_margin/2,
35         otherwise full space between two pages is qs_horizontal_margin*2, and that makes tiles page
36         not appear immediately after user swipes to the side -->
37    <dimen name="qs_tiles_page_horizontal_margin">12dp</dimen>
38    <dimen name="qs_media_session_height_expanded">172dp</dimen>
39
40    <dimen name="split_shade_notifications_scrim_margin_bottom">16dp</dimen>
41
42    <dimen name="notification_panel_margin_bottom">48dp</dimen>
43
44    <!-- Limit the TaskView to this percentage of the overall screen width (0.0 - 1.0) -->
45    <item name="controls_task_view_width_percentage" translatable="false" format="float" type="dimen">0.45</item>
46    <dimen name="controls_task_view_right_margin">8dp</dimen>
47
48    <dimen name="lockscreen_shade_max_over_scroll_amount">32dp</dimen>
49
50    <dimen name="status_view_margin_horizontal">8dp</dimen>
51
52    <!-- Lockscreen shade transition values -->
53    <dimen name="lockscreen_shade_transition_by_tap_distance">200dp</dimen>
54    <dimen name="lockscreen_shade_full_transition_distance">200dp</dimen>
55    <!-- Media transition distance = qs delay + qs distance   -->
56    <dimen name="lockscreen_shade_media_transition_distance">129.28dp</dimen>
57    <dimen name="lockscreen_shade_scrim_transition_distance">80dp</dimen>
58    <!-- The notifications scrim transition should start when the other scrims' transition is at
59         95%. -->
60    <dimen name="lockscreen_shade_notifications_scrim_transition_delay">76dp</dimen>
61    <!-- The notifications scrim transition duration is 66.6% of the duration of the other scrims'
62        transition. -->
63    <dimen name="lockscreen_shade_notifications_scrim_transition_distance">53.28dp</dimen>
64    <dimen name="lockscreen_shade_npvc_keyguard_content_alpha_transition_distance">80dp</dimen>
65    <dimen name="lockscreen_shade_notif_shelf_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
66    <dimen name="lockscreen_shade_qs_transition_distance">@dimen/lockscreen_shade_notifications_scrim_transition_distance</dimen>
67    <dimen name="lockscreen_shade_qs_transition_delay">@dimen/lockscreen_shade_notifications_scrim_transition_delay</dimen>
68    <dimen name="lockscreen_shade_qs_squish_transition_distance">@dimen/lockscreen_shade_qs_transition_distance</dimen>
69    <!-- On split-shade, there should be no depth effect, so setting the value to 0.  -->
70    <dimen name="lockscreen_shade_depth_controller_transition_distance">0dp</dimen>
71    <dimen name="lockscreen_shade_udfps_keyguard_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
72    <dimen name="lockscreen_shade_status_bar_transition_distance">@dimen/lockscreen_shade_full_transition_distance</dimen>
73    <dimen name="lockscreen_shade_keyguard_transition_distance">@dimen/lockscreen_shade_media_transition_distance</dimen>
74
75    <!-- Roughly the same distance as media on LS to media on QS. We will translate by this value
76         when media is not showing. -->
77    <dimen name="lockscreen_shade_keyguard_transition_vertical_offset">83dp</dimen>
78
79    <dimen name="notification_panel_margin_horizontal">24dp</dimen>
80</resources>
81