Searched refs:mFinalX (Results 1 – 3 of 3) sorted by relevance
39 private int mFinalX; field in Scroller231 return mFinalX; in getFinalX()277 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()287 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()295 mCurrX = mFinalX; in computeScrollOffset()340 mFinalX = startX + dx; in startScroll()372 float dx = mFinalX - mStartX; in fling()411 mFinalX = startX + Math.round(totalDistance * coeffX); in fling()413 mFinalX = Math.min(mFinalX, mMaxX); in fling()414 mFinalX = Math.max(mFinalX, mMinX); in fling()[all …]
36 private int mFinalX; field in LauncherScroller261 return mFinalX; in getFinalX()313 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()323 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()331 mCurrX = mFinalX; in computeScrollOffset()377 mFinalX = startX + dx; in startScroll()409 float dx = (float) (mFinalX - mStartX); in fling()447 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()449 mFinalX = Math.min(mFinalX, mMaxX); in fling()450 mFinalX = Math.max(mFinalX, mMinX); in fling()[all …]
42 private int mFinalX, mFinalY; field in FlingScroller48 return mFinalX; in getFinalX()103 mFinalX = getX(1.0f); in fling()