Lines Matching refs:delta
855 final int delta = mIsRtl ? -1 : 1; in onLayout() local
867 for (int i = startIndex; i != endIndex; i += delta) { in onLayout()
892 int next = i + delta; in onLayout()
1480 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress() local
1486 if ((delta < 0 && !mIsRtl) || (delta > 0 && mIsRtl)) { in getScrollProgress()
1496 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress()
2019 int delta = newX - getUnboundedScrollX(); in snapToPageWithVelocity() local
2033 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize)); in snapToPageWithVelocity()
2045 snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
2069 final int delta = newX - getUnboundedScrollX(); in snapToPage() local
2070 snapToPage(whichPage, delta, duration, immediate, interpolator); in snapToPage()
2073 protected void snapToPage(int whichPage, int delta, int duration) { in snapToPage() argument
2074 snapToPage(whichPage, delta, duration, false, null); in snapToPage()
2077 protected void snapToPage(int whichPage, int delta, int duration, boolean immediate, in snapToPage() argument
2088 duration = Math.abs(delta); in snapToPage()
2101 mScroller.startScroll(getUnboundedScrollX(), 0, delta, 0, duration); in snapToPage() local