Home
last modified time | relevance | path

Searched refs:SysUINavigationMode (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java57 import com.android.quickstep.SysUINavigationMode;
58 import com.android.quickstep.SysUINavigationMode.Mode;
59 import com.android.quickstep.SysUINavigationMode.NavigationModeChangeListener;
75 SysUINavigationMode mode = SysUINavigationMode.INSTANCE.get(launcher); in enableLiveUIChanges()
76 SysUINavigationMode.Mode m = mode.addModeChangeListener(listener); in enableLiveUIChanges()
117 boolean swipeUpEnabled = SysUINavigationMode.INSTANCE.get(launcher).getMode() in onCreate()
244 if (SysUINavigationMode.getMode(l) == Mode.NO_BUTTON) { in getOverviewScaleAndTranslationForNormalState()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DNavBarPosition.java20 import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
27 import com.android.quickstep.SysUINavigationMode;
34 private final SysUINavigationMode.Mode mMode;
38 mMode = SysUINavigationMode.getMode(context); in NavBarPosition()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java21 import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
47 import com.android.quickstep.SysUINavigationMode;
48 import com.android.quickstep.SysUINavigationMode.Mode;
78 if (SysUINavigationMode.getMode(context) == NO_BUTTON) {
102 if (SysUINavigationMode.getMode(context) == NO_BUTTON) {
143 Mode mode = SysUINavigationMode.getMode(launcher); in createTouchControllers()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSysUINavigationMode.java35 public class SysUINavigationMode { class
55 public static MainThreadInitializedObject<SysUINavigationMode> INSTANCE =
56 new MainThreadInitializedObject<>(SysUINavigationMode::new);
69 public SysUINavigationMode(Context context) { in SysUINavigationMode() method in SysUINavigationMode
DOverviewInteractionState.java68 onNavigationModeChanged(SysUINavigationMode.INSTANCE.get(context) in OverviewInteractionState()
129 private void onNavigationModeChanged(SysUINavigationMode.Mode mode) { in onNavigationModeChanged()
144 return SysUINavigationMode.getMode(mContext).hasGestures; in modeSupportsGestures()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java46 import com.android.quickstep.SysUINavigationMode;
47 import com.android.quickstep.SysUINavigationMode.Mode;
48 import com.android.quickstep.SysUINavigationMode.NavigationModeChangeListener;
125 onNavigationModeChanged(SysUINavigationMode.INSTANCE.get(getContext()) in onAttachedToWindow()
132 SysUINavigationMode.INSTANCE.get(getContext()).removeModeChangeListener(this); in onDetachedFromWindow()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java173 final SysUINavigationMode.NavigationModeChangeListener listener = in apply()
180 final SysUINavigationMode sysUINavigationMode = in apply()
181 SysUINavigationMode.INSTANCE.get(targetContext); in apply()
224 SysUINavigationMode.getMode(
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DAllAppsState.java26 import com.android.quickstep.SysUINavigationMode;
67 if (SysUINavigationMode.getMode(launcher) == SysUINavigationMode.Mode.NO_BUTTON) { in getWorkspaceScaleAndTranslation()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java44 import com.android.quickstep.SysUINavigationMode;
130 if (SysUINavigationMode.getMode(launcher) == SysUINavigationMode.Mode.NO_BUTTON) {
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java29 import com.android.quickstep.SysUINavigationMode;
47 if (SysUINavigationMode.getMode(context) == SysUINavigationMode.Mode.NO_BUTTON) { in getDefaultSwipeHeight()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DQuickSwitchTouchController.java50 import com.android.quickstep.SysUINavigationMode;
51 import com.android.quickstep.SysUINavigationMode.Mode;
125 if (SysUINavigationMode.getMode(mLauncher) == Mode.NO_BUTTON) { in setupInterpolators()
DTaskViewTouchController.java45 import com.android.quickstep.SysUINavigationMode;
129 if (!SysUINavigationMode.getMode(mActivity).hasGestures) { in onControllerInterceptTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOtherActivityInputConsumer.java56 import com.android.quickstep.SysUINavigationMode;
57 import com.android.quickstep.SysUINavigationMode.Mode;
83 private final SysUINavigationMode.Mode mMode;
134 mMode = SysUINavigationMode.getMode(base); in OtherActivityInputConsumer()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java49 import com.android.quickstep.SysUINavigationMode;
194 if (SysUINavigationMode.getMode(launcher) == SysUINavigationMode.Mode.NO_BUTTON) {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java60 import com.android.quickstep.SysUINavigationMode.Mode;
83 if (dp.isVerticalBarLayout() && SysUINavigationMode.getMode(context) != Mode.NO_BUTTON) { in getSwipeUpDestinationAndLength()
204 if (SysUINavigationMode.getMode(activity) == Mode.NO_BUTTON) {
283 && SysUINavigationMode.getMode(activity) != Mode.NO_BUTTON) {
DFallbackActivityControllerHelper.java19 import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
65 && SysUINavigationMode.INSTANCE.get(context).getMode() != NO_BUTTON) { in getSwipeUpDestinationAndLength()
DTouchInteractionService.java83 import com.android.quickstep.SysUINavigationMode.Mode;
84 import com.android.quickstep.SysUINavigationMode.NavigationModeChangeListener;
340 onNavigationModeChanged(SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this)); in onCreate()
528 SysUINavigationMode.INSTANCE.get(this).removeModeChangeListener(this); in onDestroy()
DBaseSwipeUpHandler.java57 import com.android.quickstep.SysUINavigationMode.Mode;
139 mMode = SysUINavigationMode.getMode(context); in BaseSwipeUpHandler()
DWindowTransformSwipeHandler.java78 import com.android.quickstep.SysUINavigationMode.Mode;
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java30 import com.android.quickstep.SysUINavigationMode;
50 boolean allowDragToOverview = SysUINavigationMode.INSTANCE.get(launcher) in createTouchControllers()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java51 import com.android.quickstep.SysUINavigationMode;
143 if (!SysUINavigationMode.getMode(mActivity).hasGestures) { in createAdjacentPageAnimForTaskLaunch()