Searched defs:SPLINE_POSITION (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DScroller.java105 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in class:Scroller
130 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
144 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
333 final float d_inf = SPLINE_POSITION[index];
334 final float d_sup = SPLINE_POSITION[index + 1];
H A DOverScroller.java597 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in class:OverScroller.SplineOverScroller
620 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;
634 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
920 final float d_inf = SPLINE_POSITION[index];
921 final float d_sup = SPLINE_POSITION[index + 1];

Completed in 121 milliseconds