Creates BubbleStashController & BubbleStashedHandleViewController

Adds two controllers to manage and animate the stash / unstash state
of the bubble bar. Adds them to BubbleControllers.

Bug: 253318833
Test: manual, with other CLs, see go/bubble-bar-tests
Flag: WM_BUBBLE_BAR
Change-Id: I1a67da888384b1ae0fe3f79a25ea6a2c1b7eef87
This commit is contained in:
Mady Mellor
2023-04-14 11:36:30 -07:00
parent 3e3d3e78a0
commit 14e53a6b2e
5 changed files with 563 additions and 6 deletions
@@ -30,6 +30,10 @@ import androidx.core.content.ContextCompat;
import com.android.launcher3.LauncherAnimUtils;
import com.android.launcher3.R;
/**
* View to render a handle that changes color based on the background to ensure contrast. Used for
* the taskbar when stashed as well as the bubble bar when stashed.
*/
public class StashedHandleView extends View {
private static final long COLOR_CHANGE_DURATION = 120;