Home
last modified time | relevance | path

Searched refs:travelDistance (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java349 float travelDistance = Math.max(0.2f, progressNeeded); in calculateDuration() local
350 long duration = (long) Math.max(100, ANIMATION_DURATION / velocityDivisor * travelDistance); in calculateDuration()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java652 final double travelDistance = Math.sqrt(translateX * translateX + translateY * translateY); in createReturnAnimationLocked() local
655 final long duration = MIN_ANIMATION_DURATION_MS + (long) (travelDistance / displayDiagonal in createReturnAnimationLocked()