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.java148 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()
DAllAppsSwipeController.java160 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/
DPortraitStatesTouchController.java93 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()
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()
DTransposedQuickSwitchTouchController.java29 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
31 isDragTowardPositive ^ mLauncher.getDeviceProfile().isSeascape()); in getTargetState()
DNoButtonNavbarToOverviewTouchController.java102 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()
DQuickSwitchTouchController.java90 protected LauncherState getTargetState(LauncherState fromState, boolean isDragTowardPositive) { in getTargetState() argument
95 return isDragTowardPositive ? QUICK_SWITCH_FROM_HOME : NORMAL; in getTargetState()