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/
DLauncherScroller.java73 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in LauncherScroller
98 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
112 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
305 final float d_inf = SPLINE_POSITION[index]; in computeScrollOffset()
306 final float d_sup = SPLINE_POSITION[index + 1]; in computeScrollOffset()
/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()