Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DOverScroller.java35 private final SplineOverScroller mScrollerX; field in OverScroller
82 mScrollerX = new SplineOverScroller(context); in OverScroller()
140 mScrollerX.setFriction(friction); in setFriction()
151 return mScrollerX.mFinished && mScrollerY.mFinished; in isFinished()
163 mScrollerX.mFinished = mScrollerY.mFinished = finished; in forceFinished()
172 return mScrollerX.mCurrentPosition; in getCurrX()
190 return (float) Math.hypot(mScrollerX.mCurrVelocity, mScrollerY.mCurrVelocity); in getCurrVelocity()
199 return mScrollerX.mStart; in getStartX()
217 return mScrollerX.mFinal; in getFinalX()
240 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration); in getDuration()
[all …]