Searched refs:currScroll (Results 1 – 2 of 2) sorted by relevance
455 val currScroll: Long = (view.getFirstVisiblePosition() * child.getHeight() - in onScroll() constant460 mIsScrollingUp = if (currScroll < mPreviousScrollPosition) { in onScroll()462 } else if (currScroll > mPreviousScrollPosition) { in onScroll()467 mPreviousScrollPosition = currScroll in onScroll()
407 int currScroll = getScrollForPage(page); in ensureWithinScrollBounds() local409 while (currScroll < mMinScroll) { in ensureWithinScrollBounds()411 prevScroll = currScroll; in ensureWithinScrollBounds()412 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()413 if (currScroll <= prevScroll) { in ensureWithinScrollBounds()418 while (currScroll > mMaxScroll) { in ensureWithinScrollBounds()420 prevScroll = currScroll; in ensureWithinScrollBounds()421 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()422 if (currScroll >= prevScroll) { in ensureWithinScrollBounds()