Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScroller.java105 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in 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;
321 final float d_inf = SPLINE_POSITION[index]; in computeScrollOffset()
322 final float d_sup = SPLINE_POSITION[index + 1]; in computeScrollOffset()
DOverScroller.java597 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in 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;
928 final float d_inf = SPLINE_POSITION[index]; in update()
929 final float d_sup = SPLINE_POSITION[index + 1]; in update()