Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java626 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / height);
628 distanceInfluenceForSnapDuration(distanceRatio);
DViewPager.java793 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width); in smoothScrollTo() local
795 distanceInfluenceForSnapDuration(distanceRatio); in smoothScrollTo()
DRecyclerView.java4934 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); in computeScrollDuration() local
4936 * distanceInfluenceForSnapDuration(distanceRatio); in computeScrollDuration()