Searched refs:scrollAmount (Results 1 – 4 of 4) sorted by relevance
834 float scrollAmount; in onScrollTouch() local836 scrollAmount = overScrollDown(deltaY); in onScrollTouch()838 scrollAmount = overScrollUp(deltaY, range); in onScrollTouch()843 if (scrollAmount != 0.0f) { in onScrollTouch()846 overScrollBy(0, (int) scrollAmount, 0, mOwnScrollY, in onScrollTouch()932 float scrollAmount = newTopAmount < 0 ? -newTopAmount : 0.0f; in overScrollUp() local933 float newScrollY = mOwnScrollY + scrollAmount; in overScrollUp()943 scrollAmount = 0.0f; in overScrollUp()945 return scrollAmount; in overScrollUp()965 float scrollAmount = newBottomAmount < 0 ? newBottomAmount : 0.0f; in overScrollDown() local[all …]
553 int scrollAmount = Integer.MAX_VALUE; in scrollBackAndPreservePositionsTest()554 while (!shouldTest.isEmpty() && scrollAmount != 0) { in scrollBackAndPreservePositionsTest()578 scrollAmount = mGlm.scrollBy(-scrollStep, in scrollBackAndPreservePositionsTest()580 globalScrollPosition += scrollAmount; in scrollBackAndPreservePositionsTest()
342 int scrollAmount = Integer.MAX_VALUE; in scrollBackAndPreservePositionsTest()343 while (!shouldTest.isEmpty() && scrollAmount != 0) { in scrollBackAndPreservePositionsTest()362 scrollAmount = mLayoutManager.scrollBy(-scrollStep, in scrollBackAndPreservePositionsTest()364 globalScrollPosition += scrollAmount; in scrollBackAndPreservePositionsTest()
543 int scrollAmount = targetCenter - selectedCenter; in scrollIntoSlots() local544 if (scrollAmount != 0) { in scrollIntoSlots()545 mFlingRunnable.startUsingDistance(scrollAmount); in scrollIntoSlots()