Lines Matching refs:delta
792 final int delta = mIsRtl ? -1 : 1; in onLayout() local
804 for (int i = startIndex; i != endIndex; i += delta) { in onLayout()
827 int next = i + delta; in onLayout()
1274 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress() local
1280 if ((delta < 0 && !mIsRtl) || (delta > 0 && mIsRtl)) { in getScrollProgress()
1290 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress()
1837 int delta = newX - getUnboundedScrollX(); in snapToPageWithVelocity() local
1851 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize)); in snapToPageWithVelocity()
1863 snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
1887 final int delta = newX - getUnboundedScrollX(); in snapToPage() local
1888 snapToPage(whichPage, delta, duration, immediate, interpolator); in snapToPage()
1891 protected void snapToPage(int whichPage, int delta, int duration) { in snapToPage() argument
1892 snapToPage(whichPage, delta, duration, false, null); in snapToPage()
1895 protected void snapToPage(int whichPage, int delta, int duration, boolean immediate, in snapToPage() argument
1905 duration = Math.abs(delta); in snapToPage()
1922 mScroller.startScroll(getUnboundedScrollX(), 0, delta, 0, duration); in snapToPage() local