Merge "Delay taskbar background fade in animation - Taskbar background will fade in based on 1. Velocity threshold 2. End target gesture destination" into main

This commit is contained in:
Jon Miranda
2024-06-12 16:02:20 +00:00
committed by Android (Google) Code Review
7 changed files with 158 additions and 4 deletions

View File

@@ -384,6 +384,11 @@
<!-- Taskbar swipe down threshold -->
<dimen name="taskbar_to_nav_threshold">24dp</dimen>
<!-- Taskbar variables that help determine when to animate the Taskbar background -->
<!-- Velocity defined as dp per s. Negative because the gesture is an upwards motion. -->
<dimen name="taskbar_slow_velocity_y_threshold">-288dp</dimen>
<integer name="taskbar_background_duration">80</integer>
<!-- Taskbar swipe up threshold multipliers -->
<item name="taskbar_nav_threshold_mult" format="float" type="dimen">4.5</item>
<item name="taskbar_app_window_threshold_mult" format="float" type="dimen">10</item>