Searched refs:endTarget (Results 1 – 8 of 8) sorted by relevance
867 final GestureEndTarget endTarget = mGestureState.getEndTarget();868 if (endTarget != NEW_TASK) {872 if (endTarget != HOME) {876 switch (endTarget) {893 ActiveGestureLog.INSTANCE.addLog("onSettledOnEndTarget " + endTarget);915 final GestureEndTarget endTarget;933 endTarget = LAST_TASK;936 endTarget = RECENTS;938 endTarget = NEW_TASK;940 endTarget = !reachedOverviewThreshold ? LAST_TASK : HOME;[all …]
97 @Nullable GestureState.GestureEndTarget endTarget) { in onTransitionCancelled() argument103 if (endTarget != null) { in onTransitionCancelled()105 startState = stateFromGestureEndTarget(endTarget); in onTransitionCancelled()363 GestureState.GestureEndTarget endTarget, long duration) { in getParallelAnimationToLauncher() argument364 if (endTarget == RECENTS) { in getParallelAnimationToLauncher()369 STATE_TYPE state = stateFromGestureEndTarget(endTarget); in getParallelAnimationToLauncher()388 public abstract STATE_TYPE stateFromGestureEndTarget(GestureState.GestureEndTarget endTarget); in stateFromGestureEndTarget() argument406 default void setEndTarget(GestureState.GestureEndTarget endTarget) { } in setEndTarget() argument499 public void setEndTarget(GestureState.GestureEndTarget endTarget) { in setEndTarget() argument500 mTargetState = stateFromGestureEndTarget(endTarget); in setEndTarget()
347 void onEndTargetCalculated(GestureState.GestureEndTarget endTarget, in onEndTargetCalculated() argument349 if (endTarget == GestureState.GestureEndTarget.RECENTS) { in onEndTargetCalculated()356 } else if (endTarget == GestureState.GestureEndTarget.HOME) { in onEndTargetCalculated()358 } else if (endTarget == GestureState.GestureEndTarget.NEW_TASK) { in onEndTargetCalculated()371 } else if (endTarget == GestureState.GestureEndTarget.LAST_TASK) { in onEndTargetCalculated()
301 public @Nullable Animator getParallelAnimationToLauncher(GestureEndTarget endTarget, in getParallelAnimationToLauncher() argument304 Animator superAnimator = super.getParallelAnimationToLauncher(endTarget, duration); in getParallelAnimationToLauncher()308 LauncherState toState = stateFromGestureEndTarget(endTarget); in getParallelAnimationToLauncher()344 public LauncherState stateFromGestureEndTarget(GestureEndTarget endTarget) { in stateFromGestureEndTarget() argument345 switch (endTarget) { in stateFromGestureEndTarget()
185 public RecentsState stateFromGestureEndTarget(GestureState.GestureEndTarget endTarget) { in stateFromGestureEndTarget() argument186 switch (endTarget) { in stateFromGestureEndTarget()
93 @Nullable AnimatorSet animatorSet, GestureState.GestureEndTarget endTarget) { in onPrepareGestureEndAnimation() argument94 super.onPrepareGestureEndAnimation(animatorSet, endTarget); in onPrepareGestureEndAnimation()95 if (mHomeTaskInfo != null && endTarget == RECENTS && animatorSet != null) { in onPrepareGestureEndAnimation()
58 optional GestureEndTarget endTarget = 1 [default = UNSET]; field
1752 @Nullable AnimatorSet animatorSet, GestureState.GestureEndTarget endTarget) { in onPrepareGestureEndAnimation() argument1753 if (mSizeStrategy.stateFromGestureEndTarget(endTarget) in onPrepareGestureEndAnimation()1761 mCurrentGestureEndTarget = endTarget; in onPrepareGestureEndAnimation()1762 if (endTarget == GestureState.GestureEndTarget.NEW_TASK in onPrepareGestureEndAnimation()1763 || endTarget == GestureState.GestureEndTarget.LAST_TASK) { in onPrepareGestureEndAnimation()1767 } else if (endTarget == GestureState.GestureEndTarget.RECENTS) { in onPrepareGestureEndAnimation()