Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1425 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize)); in snapToPageWithVelocity() local
1427 distanceInfluenceForSnapDuration(distanceRatio); in snapToPageWithVelocity()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3973 float distanceRatio = delta / width; in calculateDuration() local
3974 float distanceInfluenceForSnapDuration = distanceInfluenceForSnapDuration(distanceRatio); in calculateDuration()
3989 + distanceRatio + " distance:" + distance + " velocity:" + velocity in calculateDuration()