Lines Matching refs:Scroller
5 #include "ui/gfx/android/scroller.h"
14 // Default scroll duration from android.widget.Scroller.
158 Scroller::Config::Config()
162 Scroller::Scroller(const Config& config)
188 Scroller::~Scroller() {}
190 void Scroller::StartScroll(float start_x,
203 void Scroller::StartScroll(float start_x,
222 void Scroller::Fling(float start_x,
275 bool Scroller::ComputeScrollOffset(base::TimeTicks time) {
336 void Scroller::ExtendDuration(base::TimeDelta extend) {
343 void Scroller::SetFinalX(float new_x) {
349 void Scroller::SetFinalY(float new_y) {
355 void Scroller::AbortAnimation() {
363 void Scroller::ForceFinished(bool finished) { finished_ = finished; }
365 bool Scroller::IsFinished() const { return finished_; }
367 base::TimeDelta Scroller::GetTimePassed() const {
371 base::TimeDelta Scroller::GetDuration() const { return duration_; }
373 float Scroller::GetCurrX() const { return curr_x_; }
375 float Scroller::GetCurrY() const { return curr_y_; }
377 float Scroller::GetCurrVelocity() const {
385 float Scroller::GetCurrVelocityX() const {
389 float Scroller::GetCurrVelocityY() const {
393 float Scroller::GetStartX() const { return start_x_; }
395 float Scroller::GetStartY() const { return start_y_; }
397 float Scroller::GetFinalX() const { return final_x_; }
399 float Scroller::GetFinalY() const { return final_y_; }
401 bool Scroller::IsScrollingInDirection(float xvel, float yvel) const {
406 void Scroller::RecomputeDeltas() {
419 double Scroller::GetSplineDeceleration(float velocity) const {
424 base::TimeDelta Scroller::GetSplineFlingDuration(float velocity) const {
432 double Scroller::GetSplineFlingDistance(float velocity) const {