Animate bubble removal from the bar

This change creates a BubbleAnimator class that handles animating
both new bubbles in and removed bubbles out.

Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/dMHGANplWjGC5HZT6MXyA4

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 345687290
Test: atest BubbleAnimatorTest
Test: see demo

Change-Id: Ie060495f4b1421d1c8af48a861cd3e12dd0adbe8
This commit is contained in:
Liran Binyamin committed 2024-06-20 14:57:03 -04:00
1 parent ff83f1c448
commit 7b426af15f
5 files changed
+492 -100

No files matched your search

@@ -388,7 +388,7 @@ public class BubbleBarViewController {
*/
public void removeBubble(BubbleBarItem b) {
if (b != null) {
mBarView.removeView(b.getView());
mBarView.removeBubble(b.getView());
} else {
Log.w(TAG, "removeBubble, bubble was null!");
}