Update KQS overview launch animation

Updated the KQS overview launch animation to match the spec: open overview and scroll to the focused task in one fluid motion

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 313608085
Test: Opened KQS from home and overview
Change-Id: I2d617db29ff46e89fab50bb6f8aee900b6fe649f
This commit is contained in:
Schneider Victor-tulias committed 2024-02-01 14:49:29 +00:00
1 parent ea784da63c
commit 1ca66992c1
13 files changed
+289 -82

No files matched your search

@@ -22,6 +22,7 @@ import android.content.pm.ActivityInfo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import com.android.launcher3.R;
import com.android.launcher3.statehandlers.DesktopVisibilityController;
@@ -47,7 +48,8 @@ import java.util.stream.Collectors;
public final class KeyboardQuickSwitchController implements
TaskbarControllers.LoggableTaskbarController {
static final int MAX_TASKS = 6;
@VisibleForTesting
public static final int MAX_TASKS = 6;
@NonNull private final ControllerCallbacks mControllerCallbacks = new ControllerCallbacks();