Searched refs:SPLINE_POSITION (Results 1 – 2 of 2) sorted by relevance
105 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in Scroller130 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()
597 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1]; field in OverScroller.SplineOverScroller620 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()