• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18
19    <dimen name="task_thumbnail_top_margin">24dp</dimen>
20    <dimen name="task_thumbnail_half_top_margin">12dp</dimen>
21    <dimen name="task_thumbnail_icon_size">48dp</dimen>
22    <!-- For screens without rounded corners -->
23    <dimen name="task_corner_radius_small">2dp</dimen>
24
25    <dimen name="recents_page_spacing">10dp</dimen>
26    <dimen name="recents_clear_all_deadzone_vertical_margin">70dp</dimen>
27    <dimen name="overview_peek_distance">96dp</dimen>
28
29    <!-- The speed in dp/s at which the user needs to be scrolling in recents such that we start
30             loading full resolution screenshots. -->
31    <dimen name="recents_fast_fling_velocity">600dp</dimen>
32
33    <!-- These velocities are in dp / s -->
34    <dimen name="quickstep_fling_threshold_velocity">500dp</dimen>
35    <dimen name="quickstep_fling_min_velocity">250dp</dimen>
36
37    <!-- These speeds are in dp / ms -->
38    <dimen name="motion_pause_detector_speed_very_slow">0.0285dp</dimen>
39    <dimen name="motion_pause_detector_speed_slow">0.15dp</dimen>
40    <dimen name="motion_pause_detector_speed_somewhat_fast">0.285dp</dimen>
41    <dimen name="motion_pause_detector_speed_fast">1.4dp</dimen>
42    <dimen name="motion_pause_detector_min_displacement_from_app">36dp</dimen>
43
44    <!-- Launcher app transition -->
45    <dimen name="content_trans_y">50dp</dimen>
46    <dimen name="workspace_trans_y">50dp</dimen>
47    <dimen name="closing_window_trans_y">115dp</dimen>
48
49    <dimen name="recents_empty_message_text_size">16sp</dimen>
50    <dimen name="recents_empty_message_text_padding">16dp</dimen>
51
52    <!-- Total space (start + end) between the task card and the edge of the screen
53         in various configurations -->
54    <dimen name="task_card_vert_space">40dp</dimen>
55    <dimen name="task_card_menu_option_vertical_padding">8dp</dimen>
56    <dimen name="task_card_menu_shadow_height">3dp</dimen>
57    <dimen name="task_card_menu_horizontal_padding">0dp</dimen>
58    <dimen name="portrait_task_card_horz_space">136dp</dimen>
59    <dimen name="landscape_task_card_horz_space">200dp</dimen>
60    <dimen name="multi_window_task_card_horz_space">100dp</dimen>
61    <!-- Copied from framework resource:
62       docked_stack_divider_thickness - 2 * docked_stack_divider_insets -->
63    <dimen name="multi_window_task_divider_size">10dp</dimen>
64
65    <!-- same as vertical_drag_handle_size -->
66    <dimen name="shelf_surface_offset">24dp</dimen>
67
68    <!-- Assistant Gestures -->
69    <!-- Distance from the vertical edges of the screen in which assist gestures are recognized -->
70    <dimen name="gestures_assistant_width">48dp</dimen>
71    <dimen name="gestures_assistant_drag_threshold">55dp</dimen>
72
73    <!-- Distance to move elements when swiping up to go home from launcher -->
74    <dimen name="home_pullback_distance">28dp</dimen>
75</resources>
76