Polish taskbar un/stash animation.

- When QSB is inline, we add it to the reveal animation
  so that it moves in coordination with the rest of the
  taskbar icons
- Hide All Apps button when transitioning from Home -> App
  to match spec
- Shorten duration icons move in x duration so that they
  stay within the taskbar background bounds.

Bug: 267806083
Bug: 246635237
Bug: 246660243
Test: transient taskbar
      with isQsbInline = true and false

Change-Id: Ie6b866311cc2ceba88cdf01652b30fee457d0359
This commit is contained in:
Jon Miranda
2023-03-06 11:19:54 -08:00
parent 0c44d1d286
commit a0cdc01845
4 changed files with 92 additions and 60 deletions
@@ -722,8 +722,8 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
skipInterpolator = FINAL_FRAME;
}
}
play(as, mControllers.taskbarViewController
.createRevealAnimToIsStashed(isStashed), 0, duration, EMPHASIZED);
mControllers.taskbarViewController.addRevealAnimToIsStashed(as, isStashed, duration,
EMPHASIZED);
if (skipInterpolator != null) {
as.setInterpolator(skipInterpolator);