Home
last modified time | relevance | path

Searched defs:distanceRatio (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1696 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize)); in snapToPageWithVelocity() local
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt3606 val distanceRatio = delta / width in calculateDuration() constant