Searched refs:baseDuration (Results 1 – 2 of 2) sorted by relevance
365 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y)); in handleSwipeUpToHome() local366 long duration = Math.min(MAX_SWIPE_DURATION, 2 * baseDuration); in handleSwipeUpToHome()
1373 long baseDuration = Math.round(Math.abs(distanceToTravel / velocityPxPerMs.y));1374 duration = Math.min(MAX_SWIPE_DURATION, 2 * baseDuration);