Home
last modified time | relevance | path

Searched refs:NB_SAMPLES (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DScroller.java109 private static final int NB_SAMPLES = 100; field in Scroller
110 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()
DOverScroller.java593 private static final int NB_SAMPLES = 100; field in OverScroller.SplineOverScroller
594 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1];
595 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1];
604 for (int i = 0; i < NB_SAMPLES; i++) {
605 final float alpha = (float) i / NB_SAMPLES;
631 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
669 final int index = (int) (NB_SAMPLES * x); in adjustDuration()
670 if (index < NB_SAMPLES) { in adjustDuration()
671 final float x_inf = (float) index / NB_SAMPLES; in adjustDuration()
672 final float x_sup = (float) (index + 1) / NB_SAMPLES; in adjustDuration()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt67867 Landroid/widget/OverScroller$SplineOverScroller;->NB_SAMPLES:I
68796 Landroid/widget/Scroller;->NB_SAMPLES:I