Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java933 float newScrollY = mOwnScrollY + scrollAmount; in overScrollUp()
934 if (newScrollY > range) { in overScrollUp()
938 setOverScrolledPixels(currentBottomPixels + newScrollY - range, in overScrollUp()
966 float newScrollY = mOwnScrollY + scrollAmount; in overScrollDown()
967 if (newScrollY < 0) { in overScrollDown()
970 setOverScrolledPixels(currentTopPixels - newScrollY, in overScrollDown()
1052 int newScrollY = scrollY + deltaY; in overScrollBy() local
1058 if (newScrollY > bottom) { in overScrollBy()
1059 newScrollY = bottom; in overScrollBy()
1061 } else if (newScrollY < top) { in overScrollBy()
[all …]
/frameworks/base/core/java/android/widget/
DScrollView.java773 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
774 if (newScrollY < 0) { in onGenericMotionEvent()
775 newScrollY = 0; in onGenericMotionEvent()
776 } else if (newScrollY > range) { in onGenericMotionEvent()
777 newScrollY = range; in onGenericMotionEvent()
779 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
780 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
/frameworks/base/core/java/android/view/
DView.java18578 int newScrollY = scrollY + deltaY;
18599 if (newScrollY > bottom) {
18600 newScrollY = bottom;
18602 } else if (newScrollY < top) {
18603 newScrollY = top;
18607 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY);