Home
last modified time | relevance | path

Searched refs:newScrollY (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/core/java/android/widget/
H A DScrollView.java958 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
966 if (newScrollY < 0) { in onGenericMotionEvent()
968 mEdgeGlowTop.onPullDistance(-(float) newScrollY / getHeight(), 0.5f); in onGenericMotionEvent()
973 newScrollY = 0; in onGenericMotionEvent()
974 } else if (newScrollY > range) { in onGenericMotionEvent()
977 (float) (newScrollY - range) / getHeight(), 0.5f); in onGenericMotionEvent()
982 newScrollY = range; in onGenericMotionEvent()
984 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
985 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayout.java1939 if (newScrollY > range) {
1972 if (newScrollY < 0) {
2058 int newScrollY = scrollY + deltaY;
2063 if (newScrollY > bottom) {
2064 newScrollY = bottom;
2066 } else if (newScrollY < top) {
2067 newScrollY = top;
2071 onCustomOverScrolled(newScrollY, clampedY);
3515 if (newScrollY < 0) { in onGenericMotionEvent()
3516 newScrollY = 0; in onGenericMotionEvent()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A DView.java28548 int newScrollY = scrollY + deltaY; in overScrollBy() local
28569 if (newScrollY > bottom) { in overScrollBy()
28570 newScrollY = bottom; in overScrollBy()
28572 } else if (newScrollY < top) { in overScrollBy()
28573 newScrollY = top; in overScrollBy()
28577 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()