Searched refs:baseDuration (Results 1 – 2 of 2) sorted by relevance
313 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y)); in handleSwipeUpToHome() local314 long duration = Math.min(MAX_SWIPE_DURATION, 2 * baseDuration); in handleSwipeUpToHome()
1117 long baseDuration = Math.round(Math.abs(distanceToTravel / velocity.y));1118 duration = Math.min(MAX_SWIPE_DURATION, 2 * baseDuration);