2017-11-15 15:34:07 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<!-- Copyright (C) 2017 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>
|
|
|
|
|
|
|
|
|
|
<dimen name="task_thumbnail_top_margin">24dp</dimen>
|
2018-06-06 15:39:13 -07:00
|
|
|
<dimen name="task_thumbnail_half_top_margin">12dp</dimen>
|
2017-11-15 15:34:07 -08:00
|
|
|
<dimen name="task_thumbnail_icon_size">48dp</dimen>
|
2019-04-09 17:06:14 -07:00
|
|
|
<!-- For screens without rounded corners -->
|
|
|
|
|
<dimen name="task_corner_radius_small">2dp</dimen>
|
2019-04-05 16:22:55 -07:00
|
|
|
|
2019-12-02 14:30:55 -08:00
|
|
|
<!-- Overrideable in overlay that provides the Overview Actions. -->
|
|
|
|
|
<dimen name="overview_actions_height">0dp</dimen>
|
|
|
|
|
|
2018-01-19 11:24:32 -08:00
|
|
|
<dimen name="recents_page_spacing">10dp</dimen>
|
2018-06-19 11:04:00 -07:00
|
|
|
<dimen name="recents_clear_all_deadzone_vertical_margin">70dp</dimen>
|
2019-06-18 16:34:37 -07:00
|
|
|
<dimen name="overview_peek_distance">96dp</dimen>
|
2018-01-18 11:48:05 -08:00
|
|
|
|
2018-02-23 15:10:05 -08:00
|
|
|
<!-- The speed in dp/s at which the user needs to be scrolling in recents such that we start
|
|
|
|
|
loading full resolution screenshots. -->
|
|
|
|
|
<dimen name="recents_fast_fling_velocity">600dp</dimen>
|
2017-11-15 15:34:07 -08:00
|
|
|
|
2019-01-10 18:21:44 -08:00
|
|
|
<!-- These velocities are in dp / s -->
|
2017-11-15 15:34:07 -08:00
|
|
|
<dimen name="quickstep_fling_threshold_velocity">500dp</dimen>
|
|
|
|
|
<dimen name="quickstep_fling_min_velocity">250dp</dimen>
|
|
|
|
|
|
2019-01-10 18:21:44 -08:00
|
|
|
<!-- These speeds are in dp / ms -->
|
|
|
|
|
<dimen name="motion_pause_detector_speed_very_slow">0.0285dp</dimen>
|
2019-05-09 14:25:58 -05:00
|
|
|
<dimen name="motion_pause_detector_speed_slow">0.15dp</dimen>
|
2019-01-10 18:21:44 -08:00
|
|
|
<dimen name="motion_pause_detector_speed_somewhat_fast">0.285dp</dimen>
|
2019-06-28 13:21:52 -07:00
|
|
|
<dimen name="motion_pause_detector_speed_fast">1.4dp</dimen>
|
2019-04-22 20:26:12 -07:00
|
|
|
<dimen name="motion_pause_detector_min_displacement_from_app">36dp</dimen>
|
2019-01-10 18:21:44 -08:00
|
|
|
|
2018-01-22 17:32:30 -08:00
|
|
|
<!-- Launcher app transition -->
|
2018-05-08 10:13:18 -07:00
|
|
|
<dimen name="content_trans_y">50dp</dimen>
|
2018-06-26 23:01:05 +00:00
|
|
|
<dimen name="workspace_trans_y">50dp</dimen>
|
2018-05-08 10:13:18 -07:00
|
|
|
<dimen name="closing_window_trans_y">115dp</dimen>
|
2018-03-26 15:33:41 -07:00
|
|
|
|
|
|
|
|
<dimen name="recents_empty_message_text_size">16sp</dimen>
|
|
|
|
|
<dimen name="recents_empty_message_text_padding">16dp</dimen>
|
|
|
|
|
|
2018-04-05 13:37:46 -07:00
|
|
|
<!-- Total space (start + end) between the task card and the edge of the screen
|
|
|
|
|
in various configurations -->
|
|
|
|
|
<dimen name="task_card_vert_space">40dp</dimen>
|
2018-06-06 17:07:29 -07:00
|
|
|
<dimen name="task_card_menu_option_vertical_padding">8dp</dimen>
|
|
|
|
|
<dimen name="task_card_menu_shadow_height">3dp</dimen>
|
|
|
|
|
<dimen name="task_card_menu_horizontal_padding">0dp</dimen>
|
2018-04-05 13:37:46 -07:00
|
|
|
<dimen name="portrait_task_card_horz_space">136dp</dimen>
|
2019-12-02 14:30:55 -08:00
|
|
|
<dimen name="portrait_task_card_horz_space_big_overview">24dp</dimen>
|
2018-04-05 13:37:46 -07:00
|
|
|
<dimen name="landscape_task_card_horz_space">200dp</dimen>
|
|
|
|
|
<dimen name="multi_window_task_card_horz_space">100dp</dimen>
|
|
|
|
|
<!-- Copied from framework resource:
|
|
|
|
|
docked_stack_divider_thickness - 2 * docked_stack_divider_insets -->
|
|
|
|
|
<dimen name="multi_window_task_divider_size">10dp</dimen>
|
2018-04-11 17:19:08 -07:00
|
|
|
|
2018-06-08 13:01:04 -07:00
|
|
|
<!-- same as vertical_drag_handle_size -->
|
|
|
|
|
<dimen name="shelf_surface_offset">24dp</dimen>
|
2019-02-20 16:43:12 -08:00
|
|
|
|
|
|
|
|
<!-- Assistant Gestures -->
|
2019-06-20 15:17:13 -07:00
|
|
|
<!-- Distance from the vertical edges of the screen in which assist gestures are recognized -->
|
|
|
|
|
<dimen name="gestures_assistant_width">48dp</dimen>
|
2019-04-24 10:35:15 -04:00
|
|
|
<dimen name="gestures_assistant_drag_threshold">55dp</dimen>
|
2019-08-05 10:41:33 -04:00
|
|
|
<dimen name="gestures_assistant_fling_threshold">55dp</dimen>
|
2019-04-05 13:52:35 -07:00
|
|
|
|
|
|
|
|
<!-- Distance to move elements when swiping up to go home from launcher -->
|
|
|
|
|
<dimen name="home_pullback_distance">28dp</dimen>
|
2019-12-20 14:24:10 -05:00
|
|
|
|
|
|
|
|
<!-- Overscroll Gesture -->
|
|
|
|
|
<dimen name="gestures_overscroll_fling_threshold">40dp</dimen>
|
2019-12-26 09:40:12 -08:00
|
|
|
|
|
|
|
|
<!-- Tips Gesture Tutorial -->
|
|
|
|
|
<dimen name="back_gesture_tutorial_title_margin_start_end">40dp</dimen>
|
|
|
|
|
<dimen name="back_gesture_tutorial_subtitle_margin_start_end">16dp</dimen>
|
|
|
|
|
<dimen name="back_gesture_tutorial_button_margin_start_end">18dp</dimen>
|
2017-11-15 15:34:07 -08:00
|
|
|
</resources>
|