Home
last modified time | relevance | path

Searched refs:scrollAmount (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java834 float scrollAmount; in onScrollTouch() local
836 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() local
933 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 …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java553 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()
DStaggeredGridLayoutManagerTest.java342 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()
/frameworks/base/core/java/android/widget/
DGallery.java543 int scrollAmount = targetCenter - selectedCenter; in scrollIntoSlots() local
544 if (scrollAmount != 0) { in scrollIntoSlots()
545 mFlingRunnable.startUsingDistance(scrollAmount); in scrollIntoSlots()