Searched refs:mTransitionDragLength (Results 1 – 4 of 4) sorted by relevance
69 protected int mTransitionDragLength; field in SwipeUpAnimationLogic95 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()
525 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()
213 .setStartVelocity(-velocity / mTransitionDragLength) in playAtomicAnimation()
197 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleSwipeUpToHome()198 float distanceToTravel = (1 - currentShift) * mTransitionDragLength; in handleSwipeUpToHome()