HomeSort by relevance Sort by last modified time
    Searched full:nb_samples (Results 1 - 6 of 6) sorted by null

  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java 69 private static final int NB_SAMPLES = 100;
70 private static final float[] SPLINE = new float[NB_SAMPLES + 1];
77 for (int i = 0; i <= NB_SAMPLES; i++) {
78 final float t = (float) i / NB_SAMPLES;
92 SPLINE[NB_SAMPLES] = 1.0f;
271 final int index = (int) (NB_SAMPLES * t);
272 final float t_inf = (float) index / NB_SAMPLES;
273 final float t_sup = (float) (index + 1) / NB_SAMPLES;
OverScroller.java 598 private static final int NB_SAMPLES = 100;
599 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1];
600 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1];
609 for (int i = 0; i < NB_SAMPLES; i++) {
610 final float alpha = (float) i / NB_SAMPLES;
636 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
674 final int index = (int) (NB_SAMPLES * x);
675 if (index < NB_SAMPLES) {
676 final float x_inf = (float) index / NB_SAMPLES;
    [all...]
  /frameworks/base/core/java/android/widget/
OverScroller.java 596 private static final int NB_SAMPLES = 100;
597 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1];
598 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1];
607 for (int i = 0; i < NB_SAMPLES; i++) {
608 final float alpha = (float) i / NB_SAMPLES;
634 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
669 final int index = (int) (NB_SAMPLES * x);
670 if (index < NB_SAMPLES) {
671 final float x_inf = (float) index / NB_SAMPLES;
    [all...]
Scroller.java 104 private static final int NB_SAMPLES = 100;
105 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1];
106 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1];
117 for (int i = 0; i < NB_SAMPLES; i++) {
118 final float alpha = (float) i / NB_SAMPLES;
144 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
327 final int index = (int) (NB_SAMPLES * t);
330 if (index < NB_SAMPLES) {
331 final float t_inf = (float) index / NB_SAMPLES;
    [all...]
  /external/qemu/audio/
fmodaudio.c 46 int nb_samples; member in struct:__anon13133
52 .nb_samples = 2048 * 2,
353 conf.nb_samples, /* length */
378 hw->samples = conf.nb_samples;
419 conf.nb_samples, /* length */
436 hw->samples = conf.nb_samples;
643 .valp = &conf.nb_samples,
winaudio.c 47 int nb_samples; member in struct:__anon13143
206 samples_size = format.nBlockAlign * conf.nb_samples;
243 hw->samples = conf.nb_samples*2;
450 samples_size = format.nBlockAlign * conf.nb_samples;
494 hw->samples = conf.nb_samples*2;
634 {"SAMPLES", AUD_OPT_INT, &conf.nb_samples,

Completed in 608 milliseconds