summaryrefslogtreecommitdiffstats
path: root/quickstep/src/com/android/quickstep/QuickScrubController.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2018-05-24 16:45:26 -0700
committerWinson Chung <winsonc@google.com>2018-05-25 10:58:17 -0700
commit35cde20a171a774f048b6c25013d1389c734c0c8 (patch)
tree81c1b4d2ef6c93c84fbc8b5ed8ecb5044d58dfda /quickstep/src/com/android/quickstep/QuickScrubController.java
parent5d6282fcf349e394e0301a1057cf9e61b5af9bf8 (diff)
downloadandroid_packages_apps_Trebuchet-35cde20a171a774f048b6c25013d1389c734c0c8.tar.gz
android_packages_apps_Trebuchet-35cde20a171a774f048b6c25013d1389c734c0c8.tar.bz2
android_packages_apps_Trebuchet-35cde20a171a774f048b6c25013d1389c734c0c8.zip
Tweaking quickscrub launch animation for new task sizes.
Bug: 79945202 Change-Id: Ibe1e53d45bc3fda325cebc14aa6a61f61f08edb0
Diffstat (limited to 'quickstep/src/com/android/quickstep/QuickScrubController.java')
-rw-r--r--quickstep/src/com/android/quickstep/QuickScrubController.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/quickstep/src/com/android/quickstep/QuickScrubController.java b/quickstep/src/com/android/quickstep/QuickScrubController.java
index 8e1a3d5d8..3cd6b0175 100644
--- a/quickstep/src/com/android/quickstep/QuickScrubController.java
+++ b/quickstep/src/com/android/quickstep/QuickScrubController.java
@@ -40,7 +40,7 @@ import com.android.quickstep.views.TaskView;
public class QuickScrubController implements OnAlarmListener {
public static final int QUICK_SCRUB_FROM_APP_START_DURATION = 240;
- public static final int QUICK_SCRUB_FROM_HOME_START_DURATION = 150;
+ public static final int QUICK_SCRUB_FROM_HOME_START_DURATION = 200;
// We want the translation y to finish faster than the rest of the animation.
public static final float QUICK_SCRUB_TRANSLATION_Y_FACTOR = 5f / 6;
public static final Interpolator QUICK_SCRUB_START_INTERPOLATOR = FAST_OUT_SLOW_IN;
@@ -145,6 +145,10 @@ public class QuickScrubController implements OnAlarmListener {
return true;
}
+ public boolean isWaitingForTaskLaunch() {
+ return mWaitingForTaskLaunch;
+ }
+
/**
* Attempts to go to normal overview or back to home, so UI doesn't prevent user interaction.
*/