Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/
DListViewCaptureHelper.java93 int scrollAmount = computeScrollAmount(recyclerLocalVisible, adjustedContainerBounds); in onScrollRequested() local
94 if (scrollAmount < 0) { in onScrollRequested()
96 } else if (scrollAmount > 0) { in onScrollRequested()
99 Log.d(TAG, "scrollAmount: " + scrollAmount); in onScrollRequested()
101 View refView = findScrollingReferenceView(listView, scrollAmount); in onScrollRequested()
104 listView.scrollListBy(scrollAmount); in onScrollRequested()
/frameworks/base/core/java/android/widget/
DGallery.java564 int scrollAmount = targetCenter - selectedCenter; in scrollIntoSlots() local
565 if (scrollAmount != 0) { in scrollIntoSlots()
566 mFlingRunnable.startUsingDistance(scrollAmount); in scrollIntoSlots()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java2050 float scrollAmount = newTopAmount < 0 ? -newTopAmount : 0.0f;
2051 float newScrollY = mOwnScrollY + scrollAmount;
2061 scrollAmount = 0.0f;
2063 return scrollAmount;
2083 float scrollAmount = newBottomAmount < 0 ? newBottomAmount : 0.0f;
2084 float newScrollY = mOwnScrollY + scrollAmount;
2092 scrollAmount = 0.0f;
2094 return scrollAmount;
3631 float scrollAmount; in onScrollTouch() local
3638 scrollAmount = overScrollDown(deltaY); in onScrollTouch()
[all …]
/frameworks/base/core/java/android/view/
DView.java18532 final int scrollAmount = -Math.round(axisScrollValue * verticalScrollFactor); in doRotaryProgressForScrollHaptics() local
18535 MotionEvent.AXIS_SCROLL, scrollAmount); in doRotaryProgressForScrollHaptics() local