NUM_SAMPLES 68 ui/gfx/android/scroller.cc for (int i = 0; i < NUM_SAMPLES; i++) { NUM_SAMPLES 69 ui/gfx/android/scroller.cc const float alpha = static_cast<float>(i) / NUM_SAMPLES; NUM_SAMPLES 101 ui/gfx/android/scroller.cc spline_position_[NUM_SAMPLES] = spline_time_[NUM_SAMPLES] = 1.0f; NUM_SAMPLES 109 ui/gfx/android/scroller.cc const int index = static_cast<int>(NUM_SAMPLES * t); NUM_SAMPLES 110 ui/gfx/android/scroller.cc if (index < NUM_SAMPLES) { NUM_SAMPLES 111 ui/gfx/android/scroller.cc const float t_inf = static_cast<float>(index) / NUM_SAMPLES; NUM_SAMPLES 112 ui/gfx/android/scroller.cc const float t_sup = static_cast<float>(index + 1) / NUM_SAMPLES; NUM_SAMPLES 125 ui/gfx/android/scroller.cc float spline_position_[NUM_SAMPLES + 1]; NUM_SAMPLES 126 ui/gfx/android/scroller.cc float spline_time_[NUM_SAMPLES + 1];