mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 10:18:20 +00:00
* Added FeatureFlag.ENABLE_ALL_APPS_EDU
* When user swipes up on nav bar three times and goes to hint state
consecutively, we show the new All Apps education tutorial.
* For now we block interaction while the animation is playing,
and we remove the view when the animation is done.
* Future CL will leave view up until user successfully reaches All Apps state.
Bug: 151768994
Change-Id: I903e0a3914d0558950ecb8cd714d97ddc10ca06b
(cherry picked from commit 517cec5344)
102 lines
4.8 KiB
XML
102 lines
4.8 KiB
XML
<?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>
|
|
<dimen name="task_thumbnail_half_top_margin">12dp</dimen>
|
|
<dimen name="task_thumbnail_icon_size">48dp</dimen>
|
|
<!-- For screens without rounded corners -->
|
|
<dimen name="task_corner_radius_small">2dp</dimen>
|
|
|
|
<!-- Overrideable in overlay that provides the Overview Actions. -->
|
|
<dimen name="overview_actions_height">66dp</dimen>
|
|
<dimen name="overview_actions_bottom_margin_gesture">16dp</dimen>
|
|
<dimen name="overview_actions_bottom_margin_three_button">8dp</dimen>
|
|
<dimen name="overview_actions_horizontal_margin">16dp</dimen>
|
|
|
|
<dimen name="recents_page_spacing">10dp</dimen>
|
|
<dimen name="recents_clear_all_deadzone_vertical_margin">70dp</dimen>
|
|
<dimen name="overview_peek_distance">96dp</dimen>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- These velocities are in dp / s -->
|
|
<dimen name="quickstep_fling_threshold_velocity">500dp</dimen>
|
|
<dimen name="quickstep_fling_min_velocity">250dp</dimen>
|
|
|
|
<!-- These speeds are in dp / ms -->
|
|
<dimen name="motion_pause_detector_speed_very_slow">0.0285dp</dimen>
|
|
<dimen name="motion_pause_detector_speed_slow">0.15dp</dimen>
|
|
<dimen name="motion_pause_detector_speed_somewhat_fast">0.285dp</dimen>
|
|
<dimen name="motion_pause_detector_speed_fast">1.4dp</dimen>
|
|
<dimen name="motion_pause_detector_min_displacement_from_app">36dp</dimen>
|
|
|
|
<!-- Launcher app transition -->
|
|
<dimen name="content_trans_y">50dp</dimen>
|
|
<dimen name="workspace_trans_y">50dp</dimen>
|
|
<dimen name="closing_window_trans_y">115dp</dimen>
|
|
|
|
<dimen name="recents_empty_message_text_size">16sp</dimen>
|
|
<dimen name="recents_empty_message_text_padding">16dp</dimen>
|
|
|
|
<!-- 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>
|
|
<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>
|
|
<dimen name="portrait_task_card_horz_space">136dp</dimen>
|
|
<dimen name="portrait_task_card_horz_space_big_overview">96dp</dimen>
|
|
<dimen name="portrait_modal_task_card_horz_space">60dp</dimen>
|
|
<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>
|
|
|
|
<!-- Assistant Gestures -->
|
|
<!-- Distance from the vertical edges of the screen in which assist gestures are recognized -->
|
|
<dimen name="gestures_assistant_width">48dp</dimen>
|
|
<dimen name="gestures_assistant_drag_threshold">55dp</dimen>
|
|
<dimen name="gestures_assistant_fling_threshold">55dp</dimen>
|
|
|
|
<!-- Distance to move elements when swiping up to go home from launcher -->
|
|
<dimen name="home_pullback_distance">28dp</dimen>
|
|
|
|
<!-- Distance to move the tasks when swiping up while the device is locked -->
|
|
<dimen name="device_locked_y_offset">-80dp</dimen>
|
|
|
|
<!-- Overscroll Gesture -->
|
|
<dimen name="gestures_overscroll_fling_threshold">40dp</dimen>
|
|
<dimen name="gestures_overscroll_active_threshold">80dp</dimen>
|
|
<dimen name="gestures_overscroll_finish_threshold">136dp</dimen>
|
|
|
|
<!-- Tips Gesture Tutorial -->
|
|
<dimen name="gesture_tutorial_title_margin_start_end">40dp</dimen>
|
|
<dimen name="gesture_tutorial_subtitle_margin_start_end">16dp</dimen>
|
|
<dimen name="gesture_tutorial_feedback_margin_start_end">24dp</dimen>
|
|
<dimen name="gesture_tutorial_button_margin_start_end">18dp</dimen>
|
|
|
|
<!-- All Apps Education tutorial -->
|
|
<dimen name="swipe_edu_padding">8dp</dimen>
|
|
<dimen name="swipe_edu_circle_size">64dp</dimen>
|
|
<dimen name="swipe_edu_width">80dp</dimen>
|
|
<dimen name="swipe_edu_max_height">184dp</dimen>
|
|
</resources>
|