Home
last modified time | relevance | path

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

/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()