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.java1819 float newScrollY = mOwnScrollY + scrollAmount;
1820 if (newScrollY > range) {
1824 setOverScrolledPixels(currentBottomPixels + newScrollY - range,
1872 float newScrollY = mOwnScrollY + scrollAmount;
1873 if (newScrollY < 0) {
1876 setOverScrolledPixels(currentTopPixels - newScrollY,
2009 int newScrollY = scrollY + deltaY;
2014 if (newScrollY > bottom) {
2015 newScrollY = bottom;
2017 } else if (newScrollY < top) {
[all …]
/frameworks/base/core/java/android/view/
DView.java26349 int newScrollY = scrollY + deltaY; in overScrollBy() local
26370 if (newScrollY > bottom) { in overScrollBy()
26371 newScrollY = bottom; in overScrollBy()
26373 } else if (newScrollY < top) { in overScrollBy()
26374 newScrollY = top; in overScrollBy()
26378 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()