From 7c96392d253e3fadc4e68cc290d0bb6ff39c7145 Mon Sep 17 00:00:00 2001 From: Brian Isganitis Date: Tue, 21 May 2024 15:43:22 -0400 Subject: [PATCH] Prototype tiny taskbar all apps. Makes the scrim opaque for phones so that it looks like the launcher phone all apps layout. Flag: com.android.wm.shell.enable_tiny_taskbar Test: Manual Bug: 341784466 Change-Id: I0352bf7c13c4ea0a5e1bdecf8b4573fd2008d44b --- .../allapps/TaskbarAllAppsSlideInView.java | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java index 8e05686558..90ac87202b 100644 --- a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java +++ b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java @@ -17,6 +17,8 @@ package com.android.launcher3.taskbar.allapps; import static com.android.app.animation.Interpolators.EMPHASIZED; import static com.android.launcher3.Flags.enablePredictiveBackGesture; +import static com.android.launcher3.touch.AllAppsSwipeController.ALL_APPS_FADE_MANUAL; +import static com.android.launcher3.touch.AllAppsSwipeController.SCRIM_FADE_MANUAL; import android.animation.Animator; import android.content.Context; @@ -32,6 +34,7 @@ import android.window.OnBackInvokedDispatcher; import androidx.annotation.Nullable; +import com.android.app.animation.Interpolators; import com.android.launcher3.DeviceProfile; import com.android.launcher3.Insettable; import com.android.launcher3.R; @@ -40,6 +43,7 @@ import com.android.launcher3.anim.PendingAnimation; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.taskbar.allapps.TaskbarAllAppsViewController.TaskbarAllAppsCallbacks; import com.android.launcher3.taskbar.overlay.TaskbarOverlayContext; +import com.android.launcher3.util.Themes; import com.android.launcher3.views.AbstractSlideInView; /** Wrapper for taskbar all apps with slide-in behavior. */ @@ -113,8 +117,25 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView