Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java444 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in OverScroller.SplineOverScroller
481 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
495 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
823 final float d_inf = SPLINE_POSITION[index]; in update()
824 final float d_sup = SPLINE_POSITION[index + 1]; in update()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java596 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in OverScroller.SplineOverScroller
619 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
633 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
922 final float d_inf = SPLINE_POSITION[index]; in update()
923 final float d_sup = SPLINE_POSITION[index + 1]; in update()