Home
last modified time | relevance | path

Searched refs:mTransitionDragLength (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DSwipeUpAnimationLogic.java72 protected int mTransitionDragLength; field in SwipeUpAnimationLogic
99 mTransitionDragLength = mGestureState.getActivityInterface().getSwipeUpDestinationAndLength( in initTransitionEndpoints()
102 mDragLengthFactor = (float) dp.heightPx / mTransitionDragLength; in initTransitionEndpoints()
105 PendingAnimation pendingAnimation = new PendingAnimation(mTransitionDragLength * 2); in initTransitionEndpoints()
125 if (displacement > mTransitionDragLength * mDragLengthFactor && mTransitionDragLength > 0) { in updateDisplacement()
129 shift = mTransitionDragLength == 0 ? 0 : translation / mTransitionDragLength; in updateDisplacement()
H A DAbsSwipeUpHandler.java699 mAnimationFactory.createActivityInterface(mTransitionDragLength);
1110 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor);
1111 if (mTransitionDragLength > 0) {
1112 float distanceToTravel = (endShift - currentShift) * mTransitionDragLength;
H A DFallbackSwipeHandler.java288 .setStartVelocity(-velocity / mTransitionDragLength) in playAtomicAnimation()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
H A DSwipeUpGestureTutorialController.java307 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleSwipeUpToHome()
308 float distanceToTravel = (1 - currentShift) * mTransitionDragLength; in handleSwipeUpToHome()