Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java940 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
941 if (newScrollY < 0) { in onGenericMotionEvent()
942 newScrollY = 0; in onGenericMotionEvent()
943 } else if (newScrollY > range) { in onGenericMotionEvent()
944 newScrollY = range; in onGenericMotionEvent()
946 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
947 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1750 float newScrollY = mOwnScrollY + scrollAmount;
1751 if (newScrollY > range) {
1755 setOverScrolledPixels(currentBottomPixels + newScrollY - range,
1784 float newScrollY = mOwnScrollY + scrollAmount;
1785 if (newScrollY < 0) {
1788 setOverScrolledPixels(currentTopPixels - newScrollY,
1876 int newScrollY = scrollY + deltaY;
1881 if (newScrollY > bottom) {
1882 newScrollY = bottom;
1884 } else if (newScrollY < top) {
[all …]
/frameworks/base/core/java/android/view/
DView.java27106 int newScrollY = scrollY + deltaY; in overScrollBy() local
27127 if (newScrollY > bottom) { in overScrollBy()
27128 newScrollY = bottom; in overScrollBy()
27130 } else if (newScrollY < top) { in overScrollBy()
27131 newScrollY = top; in overScrollBy()
27135 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()