Home
last modified time | relevance | path

Searched refs:endTarget (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DAbsSwipeUpHandler.java867 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 …]
DBaseActivityInterface.java97 @Nullable GestureState.GestureEndTarget endTarget) { in onTransitionCancelled() argument
103 if (endTarget != null) { in onTransitionCancelled()
105 startState = stateFromGestureEndTarget(endTarget); in onTransitionCancelled()
363 GestureState.GestureEndTarget endTarget, long duration) { in getParallelAnimationToLauncher() argument
364 if (endTarget == RECENTS) { in getParallelAnimationToLauncher()
369 STATE_TYPE state = stateFromGestureEndTarget(endTarget); in getParallelAnimationToLauncher()
388 public abstract STATE_TYPE stateFromGestureEndTarget(GestureState.GestureEndTarget endTarget); in stateFromGestureEndTarget() argument
406 default void setEndTarget(GestureState.GestureEndTarget endTarget) { } in setEndTarget() argument
499 public void setEndTarget(GestureState.GestureEndTarget endTarget) { in setEndTarget() argument
500 mTargetState = stateFromGestureEndTarget(endTarget); in setEndTarget()
DRotationTouchHelper.java347 void onEndTargetCalculated(GestureState.GestureEndTarget endTarget, in onEndTargetCalculated() argument
349 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()
DLauncherActivityInterface.java301 public @Nullable Animator getParallelAnimationToLauncher(GestureEndTarget endTarget, in getParallelAnimationToLauncher() argument
304 Animator superAnimator = super.getParallelAnimationToLauncher(endTarget, duration); in getParallelAnimationToLauncher()
308 LauncherState toState = stateFromGestureEndTarget(endTarget); in getParallelAnimationToLauncher()
344 public LauncherState stateFromGestureEndTarget(GestureEndTarget endTarget) { in stateFromGestureEndTarget() argument
345 switch (endTarget) { in stateFromGestureEndTarget()
DFallbackActivityInterface.java185 public RecentsState stateFromGestureEndTarget(GestureState.GestureEndTarget endTarget) { in stateFromGestureEndTarget() argument
186 switch (endTarget) { in stateFromGestureEndTarget()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsView.java93 @Nullable AnimatorSet animatorSet, GestureState.GestureEndTarget endTarget) { in onPrepareGestureEndAnimation() argument
94 super.onPrepareGestureEndAnimation(animatorSet, endTarget); in onPrepareGestureEndAnimation()
95 if (mHomeTaskInfo != null && endTarget == RECENTS && animatorSet != null) { in onPrepareGestureEndAnimation()
/packages/apps/Launcher3/protos/
Dlauncher_trace.proto58 optional GestureEndTarget endTarget = 1 [default = UNSET]; field
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java1752 @Nullable AnimatorSet animatorSet, GestureState.GestureEndTarget endTarget) { in onPrepareGestureEndAnimation() argument
1753 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()