Searched refs:NB_SAMPLES (Results 1 – 3 of 3) sorted by relevance
109 private static final int NB_SAMPLES = 100; field in Scroller110 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1];111 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1];124 for (int i = 0; i < NB_SAMPLES; i++) {125 final float alpha = (float) i / NB_SAMPLES;151 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;322 final int index = (int) (NB_SAMPLES * t); in computeScrollOffset()325 if (index < NB_SAMPLES) { in computeScrollOffset()326 final float t_inf = (float) index / NB_SAMPLES; in computeScrollOffset()327 final float t_sup = (float) (index + 1) / NB_SAMPLES; in computeScrollOffset()
591 private static final int NB_SAMPLES = 100; field in OverScroller.SplineOverScroller602 for (int i = 0; i < NB_SAMPLES; i++) {603 final float alpha = (float) i / NB_SAMPLES;629 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;664 final int index = (int) (NB_SAMPLES * x); in adjustDuration()665 if (index < NB_SAMPLES) { in adjustDuration()666 final float x_inf = (float) index / NB_SAMPLES; in adjustDuration()667 final float x_sup = (float) (index + 1) / NB_SAMPLES; in adjustDuration()918 final int index = (int) (NB_SAMPLES * t); in update()921 if (index < NB_SAMPLES) { in update()[all …]
68510 Landroid/widget/OverScroller$SplineOverScroller;->NB_SAMPLES:I69439 Landroid/widget/Scroller;->NB_SAMPLES:I