Searched refs:isDragTowardPositive (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 148 boolean isDragTowardPositive); in getTargetState() argument 152 private boolean reinitCurrentAnimation(boolean reachedToState, boolean isDragTowardPositive) { in reinitCurrentAnimation() argument 155 LauncherState newToState = getTargetState(newFromState, isDragTowardPositive); in reinitCurrentAnimation() 205 boolean isDragTowardPositive = mSwipeDirection.isPositive( in onDrag() 208 if (reinitCurrentAnimation(false, isDragTowardPositive)) { in onDrag() 219 if (reinitCurrentAnimation(true, isDragTowardPositive)) { in onDrag()
|
D | AllAppsSwipeController.java | 160 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 161 if (fromState == NORMAL && isDragTowardPositive) { in getTargetState() 163 } else if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 93 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 94 if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState() 97 return isDragTowardPositive ? OVERVIEW : NORMAL; in getTargetState() 98 } else if (fromState == NORMAL && isDragTowardPositive) { 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 | TransposedQuickSwitchTouchController.java | 29 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 31 isDragTowardPositive ^ mLauncher.getDeviceProfile().isSeascape()); in getTargetState()
|
D | NoButtonNavbarToOverviewTouchController.java | 102 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 105 } else if (fromState == OVERVIEW && isDragTowardPositive) { in getTargetState() 109 return super.getTargetState(fromState, isDragTowardPositive); in getTargetState()
|
D | QuickSwitchTouchController.java | 90 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument 95 return isDragTowardPositive ? QUICK_SWITCH_FROM_HOME : NORMAL; in getTargetState()
|