Home
last modified time | relevance | path

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

/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java907 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
908 if (newScrollY < 0) { in onGenericMotionEvent()
909 newScrollY = 0; in onGenericMotionEvent()
910 } else if (newScrollY > range) { in onGenericMotionEvent()
911 newScrollY = range; in onGenericMotionEvent()
913 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
914 super.scrollTo(getScrollX(), newScrollY); in onGenericMotionEvent() local
966 int newScrollY = scrollY + deltaY; in overScrollByCompat() local
987 if (newScrollY > bottom) { in overScrollByCompat()
988 newScrollY = bottom; in overScrollByCompat()
[all …]
/frameworks/base/core/java/android/widget/
DScrollView.java803 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local
804 if (newScrollY < 0) { in onGenericMotionEvent()
805 newScrollY = 0; in onGenericMotionEvent()
806 } else if (newScrollY > range) { in onGenericMotionEvent()
807 newScrollY = range; in onGenericMotionEvent()
809 if (newScrollY != oldScrollY) { in onGenericMotionEvent()
810 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1417 float newScrollY = mOwnScrollY + scrollAmount; in overScrollUp()
1418 if (newScrollY > range) { in overScrollUp()
1422 setOverScrolledPixels(currentBottomPixels + newScrollY - range, in overScrollUp()
1450 float newScrollY = mOwnScrollY + scrollAmount; in overScrollDown()
1451 if (newScrollY < 0) { in overScrollDown()
1454 setOverScrolledPixels(currentTopPixels - newScrollY, in overScrollDown()
1548 int newScrollY = scrollY + deltaY; in overScrollBy() local
1554 if (newScrollY > bottom) { in overScrollBy()
1555 newScrollY = bottom; in overScrollBy()
1557 } else if (newScrollY < top) { in overScrollBy()
[all …]
/frameworks/base/core/java/android/view/
DView.java21056 int newScrollY = scrollY + deltaY; in overScrollBy() local
21077 if (newScrollY > bottom) { in overScrollBy()
21078 newScrollY = bottom; in overScrollBy()
21080 } else if (newScrollY < top) { in overScrollBy()
21081 newScrollY = top; in overScrollBy()
21085 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()