Home
last modified time | relevance | path

Searched refs:newScrollY (Results 1 – 2 of 2) 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.java1776 float newScrollY = mOwnScrollY + scrollAmount;
1777 if (newScrollY > range) {
1781 setOverScrolledPixels(currentBottomPixels + newScrollY - range,
1829 float newScrollY = mOwnScrollY + scrollAmount;
1830 if (newScrollY < 0) {
1833 setOverScrolledPixels(currentTopPixels - newScrollY,
1966 int newScrollY = scrollY + deltaY;
1971 if (newScrollY > bottom) {
1972 newScrollY = bottom;
1974 } else if (newScrollY < top) {
[all …]