Merge "Add atomic recents animation while swiping up" into ub-launcher3-edmonton

This commit is contained in:
Tony Wickham
2018-05-09 20:13:23 +00:00
committed by Android (Google) Code Review
13 changed files with 241 additions and 147 deletions

View File

@@ -166,6 +166,11 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
return;
}
if (!config.playNonAtomicComponent()) {
// There is no atomic component for the all apps transition, so just return early.
return;
}
Interpolator interpolator = config.userControlled ? LINEAR : FAST_OUT_SLOW_IN;
ObjectAnimator anim =
ObjectAnimator.ofFloat(this, ALL_APPS_PROGRESS, mProgress, targetProgress);