Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DSwipeUpAnimationLogic.java69 protected int mTransitionDragLength; field in SwipeUpAnimationLogic
95 mTransitionDragLength = mGestureState.getActivityInterface().getSwipeUpDestinationAndLength( in initTransitionEndpoints()
101 mDragLengthFactor = (float) dp.heightPx / mTransitionDragLength; in initTransitionEndpoints()
112 PendingAnimation pa = new PendingAnimation(mTransitionDragLength * 2); in initTransitionEndpoints()
122 if (displacement > mTransitionDragLength * mDragLengthFactor && mTransitionDragLength > 0) { in updateDisplacement()
126 shift = mTransitionDragLength == 0 ? 0 : translation / mTransitionDragLength; in updateDisplacement()
DBaseSwipeUpHandlerV2.java525 mAnimationFactory.createActivityInterface(mTransitionDragLength); in buildAnimationController()
825 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleNormalGestureEnd()
828 if (Math.abs(endVelocity) > minFlingVelocity && mTransitionDragLength > 0) { in handleNormalGestureEnd()
832 mTransitionDragLength, mContext); in handleNormalGestureEnd()
838 float distanceToTravel = (endShift - currentShift) * mTransitionDragLength; in handleNormalGestureEnd()
DFallbackSwipeHandler.java213 .setStartVelocity(-velocity / mTransitionDragLength) in playAtomicAnimation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java197 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleSwipeUpToHome()
198 float distanceToTravel = (1 - currentShift) * mTransitionDragLength; in handleSwipeUpToHome()