Searched refs:distanceToTravel (Results 1 – 2 of 2) sorted by relevance
360 float distanceToTravel = (1 - currentShift) * mTransitionDragLength; in handleSwipeUpToHome() local365 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y)); in handleSwipeUpToHome()
1368 float distanceToTravel = (endShift - currentShift) * mTransitionDragLength;1373 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y));