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
2024-01-10 14:04:12 -05:00
parent ea784da63c
commit 1ca66992c1
13 changed files with 289 additions and 82 deletions
@@ -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();