Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java445 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1]; field in OverScroller.SplineOverScroller
493 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
495 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
537 final float t_inf = SPLINE_TIME[index]; in adjustDuration()
538 final float t_sup = SPLINE_TIME[index + 1]; in adjustDuration()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java597 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1]; field in OverScroller.SplineOverScroller
631 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
633 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
675 final float t_inf = SPLINE_TIME[index]; in adjustDuration()
676 final float t_sup = SPLINE_TIME[index + 1]; in adjustDuration()