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