Searched refs:isDragTowardPositive (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 153 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()
|
D | AllAppsSwipeController.java | 168 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/ |
D | TransposedQuickSwitchTouchController.java | 29 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 31 isDragTowardPositive ^ mLauncher.getDeviceProfile().isSeascape()); in getTargetState()
|
D | TwoButtonNavbarTouchController.java | 97 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()
|
D | PortraitStatesTouchController.java | 94 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()
|
D | QuickSwitchTouchController.java | 86 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 91 return isDragTowardPositive ? QUICK_SWITCH_FROM_HOME : NORMAL; in getTargetState()
|
D | NoButtonNavbarToOverviewTouchController.java | 121 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 125 return super.getTargetState(fromState, isDragTowardPositive); in getTargetState()
|