Searched refs:travelDistance (Results 1 – 1 of 1) sorted by relevance
592 final double travelDistance = Math.sqrt(translateX * translateX + translateY * translateY); in createReturnAnimationLocked() local595 final long duration = MIN_ANIMATION_DURATION_MS + (long) (travelDistance / displayDiagonal in createReturnAnimationLocked()