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:
1 parent
3e3d3e78a0
commit
14e53a6b2e
5 files changed
+563
-6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user