Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java858 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
859 if (newScrollY < 0) { in onGenericMotionEvent()
860 newScrollY = 0; in onGenericMotionEvent()
861 } else if (newScrollY > range) { in onGenericMotionEvent()
862 newScrollY = range; in onGenericMotionEvent()
864 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
865 super.scrollTo(getScrollX(), newScrollY); in onGenericMotionEvent() local
916 int newScrollY = scrollY + deltaY; in overScrollByCompat() local
937 if (newScrollY > bottom) { in overScrollByCompat()
938 newScrollY = bottom; in overScrollByCompat()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1010 float newScrollY = mOwnScrollY + scrollAmount; in overScrollUp()
1011 if (newScrollY > range) { in overScrollUp()
1015 setOverScrolledPixels(currentBottomPixels + newScrollY - range, in overScrollUp()
1043 float newScrollY = mOwnScrollY + scrollAmount; in overScrollDown()
1044 if (newScrollY < 0) { in overScrollDown()
1047 setOverScrolledPixels(currentTopPixels - newScrollY, in overScrollDown()
1129 int newScrollY = scrollY + deltaY; in overScrollBy() local
1135 if (newScrollY > bottom) { in overScrollBy()
1136 newScrollY = bottom; in overScrollBy()
1138 } else if (newScrollY < top) { in overScrollBy()
[all …]
/frameworks/base/core/java/android/widget/
DScrollView.java783 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
784 if (newScrollY < 0) { in onGenericMotionEvent()
785 newScrollY = 0; in onGenericMotionEvent()
786 } else if (newScrollY > range) { in onGenericMotionEvent()
787 newScrollY = range; in onGenericMotionEvent()
789 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
790 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
/frameworks/base/core/java/android/view/
DView.java19830 int newScrollY = scrollY + deltaY;
19851 if (newScrollY > bottom) {
19852 newScrollY = bottom;
19854 } else if (newScrollY < top) {
19855 newScrollY = top;
19859 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY);