Home
last modified time | relevance | path

Searched refs:currentInteractionMode (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
H A DNavigationModeSwitchRule.java93 final int currentInteractionMode = in apply() local
95 final String prevOverlayPkg = getCurrentOverlayPackage(currentInteractionMode); in apply()
145 public static String getCurrentOverlayPackage(int currentInteractionMode) {
146 return QuickStepContract.isGesturalMode(currentInteractionMode)
148 : QuickStepContract.isSwipeUpMode(currentInteractionMode)
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
H A DLauncherInstrumentation.java373 final int currentInteractionMode = getCurrentInteractionMode(ctx); in getNavigationModel() local
374 final NavigationModel model = getNavigationModel(currentInteractionMode); in getNavigationModel()
375 log("Interaction mode = " + currentInteractionMode + " (" + model + ")"); in getNavigationModel()
386 public static NavigationModel getNavigationModel(int currentInteractionMode) { in getNavigationModel() argument
387 if (QuickStepContract.isGesturalMode(currentInteractionMode)) { in getNavigationModel()
389 } else if (QuickStepContract.isSwipeUpMode(currentInteractionMode)) { in getNavigationModel()
391 } else if (QuickStepContract.isLegacyMode(currentInteractionMode)) { in getNavigationModel()