Searched refs:mTransitionDragLength (Results 1 – 4 of 4) sorted by relevance
72 protected int mTransitionDragLength; field in SwipeUpAnimationLogic99 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()
699 mAnimationFactory.createActivityInterface(mTransitionDragLength);1110 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor);1111 if (mTransitionDragLength > 0) {1112 float distanceToTravel = (endShift - currentShift) * mTransitionDragLength;
288 .setStartVelocity(-velocity / mTransitionDragLength) in playAtomicAnimation()
307 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleSwipeUpToHome()308 float distanceToTravel = (1 - currentShift) * mTransitionDragLength; in handleSwipeUpToHome()