Home
last modified time | relevance | path

Searched refs:targetState (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java365 private AnimatorSet createAtomicAnimForState(LauncherState fromState, LauncherState targetState, in createAtomicAnimForState() argument
367 AnimatorSetBuilder builder = getAnimatorSetBuilderForStates(fromState, targetState); in createAtomicAnimForState()
368 return mLauncher.getStateManager().createAtomicAnimation(fromState, targetState, builder, in createAtomicAnimForState()
389 final LauncherState targetState; in onDragEnd() local
393 targetState = in onDragEnd()
400 targetState = (interpolatedProgress > successProgress) ? mToState : mFromState; in onDragEnd()
407 final int durationMultiplier = blockedFling && targetState == mFromState in onDragEnd()
410 if (targetState == mToState) { in onDragEnd()
441 mCurrentAnimation.setEndAction(() -> onSwipeInteractionCompleted(targetState, logAction)); in onDragEnd()
444 maybeUpdateAtomicAnim(mFromState, targetState, targetState == mToState ? 1f : 0f); in onDragEnd()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java256 LauncherState targetState, float velocity, boolean isFling) { in updateSwipeCompleteAnimation() argument
257 super.updateSwipeCompleteAnimation(animator, expectedDuration, targetState, in updateSwipeCompleteAnimation()
259 handleFirstSwipeToOverview(animator, expectedDuration, targetState, velocity, isFling); in updateSwipeCompleteAnimation()
263 final long expectedDuration, final LauncherState targetState, final float velocity, in handleFirstSwipeToOverview() argument
266 && targetState == OVERVIEW) { in handleFirstSwipeToOverview()
268 } else if (mFromState == NORMAL && mToState == OVERVIEW && targetState == OVERVIEW) { in handleFirstSwipeToOverview()
284 protected void onSwipeInteractionCompleted(LauncherState targetState, int logAction) { in onSwipeInteractionCompleted() argument
285 super.onSwipeInteractionCompleted(targetState, logAction); in onSwipeInteractionCompleted()
286 if (mStartState == NORMAL && targetState == OVERVIEW) { in onSwipeInteractionCompleted()
DLandscapeEdgeSwipeController.java73 protected void onSwipeInteractionCompleted(LauncherState targetState, int logAction) { in onSwipeInteractionCompleted() argument
74 super.onSwipeInteractionCompleted(targetState, logAction); in onSwipeInteractionCompleted()
75 if (mStartState == NORMAL && targetState == OVERVIEW) { in onSwipeInteractionCompleted()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DNavBarToHomeTouchController.java207 private void onSwipeInteractionCompleted(LauncherState targetState) { in onSwipeInteractionCompleted() argument
209 mLauncher.getStateManager().goToState(targetState, false /* animated */); in onSwipeInteractionCompleted()
210 AccessibilityManagerCompat.sendStateEventToTest(mLauncher, targetState.ordinal); in onSwipeInteractionCompleted()
DQuickSwitchTouchController.java101 protected void onSwipeInteractionCompleted(LauncherState targetState, int logAction) { in onSwipeInteractionCompleted() argument
102 super.onSwipeInteractionCompleted(targetState, logAction); in onSwipeInteractionCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherStateManager.java652 public void setAnimation(AnimatorSet animation, LauncherState targetState) { in setAnimation() argument
654 mTargetState = targetState; in setAnimation()