Searched refs:newScrollY (Results 1 – 4 of 4) sorted by relevance
907 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local908 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() local966 int newScrollY = scrollY + deltaY; in overScrollByCompat() local987 if (newScrollY > bottom) { in overScrollByCompat()988 newScrollY = bottom; in overScrollByCompat()[all …]
803 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local804 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()
1417 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() local1554 if (newScrollY > bottom) { in overScrollBy()1555 newScrollY = bottom; in overScrollBy()1557 } else if (newScrollY < top) { in overScrollBy()[all …]
21056 int newScrollY = scrollY + deltaY; in overScrollBy() local21077 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()