Searched refs:currScroll (Results 1 – 2 of 2) sorted by relevance
281 int currScroll = getScrollForPage(page); in ensureWithinScrollBounds() local283 while (currScroll < mMinScrollX) { in ensureWithinScrollBounds()285 prevScroll = currScroll; in ensureWithinScrollBounds()286 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()287 if (currScroll <= prevScroll) { in ensureWithinScrollBounds()292 while (currScroll > mMaxScrollX) { in ensureWithinScrollBounds()294 prevScroll = currScroll; in ensureWithinScrollBounds()295 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()296 if (currScroll >= prevScroll) { in ensureWithinScrollBounds()
477 long currScroll = view.getFirstVisiblePosition() * child.getHeight() - child.getBottom(); in onScroll() local481 if (currScroll < mPreviousScrollPosition) { in onScroll()483 } else if (currScroll > mPreviousScrollPosition) { in onScroll()489 mPreviousScrollPosition = currScroll; in onScroll()