Home
last modified time | relevance | path

Searched refs:isDragTowardPositive (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java153 boolean isDragTowardPositive); in getTargetState() argument
157 private boolean reinitCurrentAnimation(boolean reachedToState, boolean isDragTowardPositive) { in reinitCurrentAnimation() argument
160 LauncherState newToState = getTargetState(newFromState, isDragTowardPositive); in reinitCurrentAnimation()
210 boolean isDragTowardPositive = mSwipeDirection.isPositive( in onDrag()
213 if (reinitCurrentAnimation(false, isDragTowardPositive)) { in onDrag()
224 if (reinitCurrentAnimation(true, isDragTowardPositive)) { in onDrag()
449 protected boolean shouldOpenAllApps(boolean isDragTowardPositive) { in shouldOpenAllApps() argument
450 return (isDragTowardPositive && !mIsTrackpadReverseScroll) in shouldOpenAllApps()
451 || (!isDragTowardPositive && mIsTrackpadReverseScroll); in shouldOpenAllApps()
DAllAppsSwipeController.java168 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
169 if (fromState == NORMAL && shouldOpenAllApps(isDragTowardPositive)) { in getTargetState()
171 } else if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTransposedQuickSwitchTouchController.java29 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
31 isDragTowardPositive ^ mLauncher.getDeviceProfile().isSeascape()); in getTargetState()
DTwoButtonNavbarTouchController.java97 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
100 mLauncher.getDeviceProfile().isSeascape() == isDragTowardPositive; in getTargetState()
104 return isDragTowardPositive ^ (startState == OVERVIEW) ? HINT_STATE_TWO_BUTTON : NORMAL; in getTargetState()
DPortraitStatesTouchController.java94 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
95 if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
99 } else if (fromState == NORMAL && shouldOpenAllApps(isDragTowardPositive)) { in getTargetState()
DQuickSwitchTouchController.java86 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
91 return isDragTowardPositive ? QUICK_SWITCH_FROM_HOME : NORMAL; in getTargetState()
DNoButtonNavbarToOverviewTouchController.java121 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
125 return super.getTargetState(fromState, isDragTowardPositive); in getTargetState()