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()
604 private static final int NB_SAMPLES = 100; field in OverScroller.SplineOverScroller605 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1];606 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1];615 for (int i = 0; i < NB_SAMPLES; i++) {616 final float alpha = (float) i / NB_SAMPLES;642 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;677 final int index = (int) (NB_SAMPLES * x); in adjustDuration()678 if (index < NB_SAMPLES) { in adjustDuration()679 final float x_inf = (float) index / NB_SAMPLES; in adjustDuration()680 final float x_sup = (float) (index + 1) / NB_SAMPLES; in adjustDuration()[all …]
82939 Landroid/widget/OverScroller$SplineOverScroller;->NB_SAMPLES:I83868 Landroid/widget/Scroller;->NB_SAMPLES:I