Add spring animation when stashing transient taskbar.
Bug: 273961611 Change-Id: I35a658a5e30a155094a48effdefc3895f45e0483 Flag: ENABLE_TRANSIENT_TASKBAR Test: stash transient taskbar
This commit is contained in:
1 parent
149246f077
commit
3344ec7004
11 files changed
+156
-4
No files matched your search
@@ -712,6 +712,9 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
play(as, mTaskbarStashedHandleAlpha.animateToValue(1), alphaStartDelay,
|
||||
Math.max(0, duration - alphaStartDelay), LINEAR);
|
||||
|
||||
play(as, mControllers.taskbarSpringOnStashController.createSpringToStash(), 0, duration,
|
||||
LINEAR);
|
||||
|
||||
if (skipStashAnimation) {
|
||||
skipInterpolator = INSTANT;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user