Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScroller.java571 VISCOUS_FLUID_NORMALIZE = 1.0f / viscousFluid(1.0f);
573 VISCOUS_FLUID_OFFSET = 1.0f - VISCOUS_FLUID_NORMALIZE * viscousFluid(1.0f);
576 private static float viscousFluid(float x) { in viscousFluid() method in Scroller.ViscousFluidInterpolator
590 final float interpolated = VISCOUS_FLUID_NORMALIZE * viscousFluid(input); in getInterpolation()