Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java911 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
912 if (newScrollY < 0) { in onGenericMotionEvent()
913 newScrollY = 0; in onGenericMotionEvent()
914 } else if (newScrollY > range) { in onGenericMotionEvent()
915 newScrollY = range; in onGenericMotionEvent()
917 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
918 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1908 float newScrollY = mOwnScrollY + scrollAmount;
1909 if (newScrollY > range) {
1913 setOverScrolledPixels(currentBottomPixels + newScrollY - range,
1961 float newScrollY = mOwnScrollY + scrollAmount;
1962 if (newScrollY < 0) {
1965 setOverScrolledPixels(currentTopPixels - newScrollY,
2098 int newScrollY = scrollY + deltaY;
2103 if (newScrollY > bottom) {
2104 newScrollY = bottom;
2106 } else if (newScrollY < top) {
[all …]
/frameworks/base/core/java/android/view/
DView.java26753 int newScrollY = scrollY + deltaY; in overScrollBy() local
26774 if (newScrollY > bottom) { in overScrollBy()
26775 newScrollY = bottom; in overScrollBy()
26777 } else if (newScrollY < top) { in overScrollBy()
26778 newScrollY = top; in overScrollBy()
26782 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()