Searched refs:newScrollY (Results 1 – 3 of 3) sorted by relevance
911 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local912 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()
1908 float newScrollY = mOwnScrollY + scrollAmount;1909 if (newScrollY > range) {1913 setOverScrolledPixels(currentBottomPixels + newScrollY - range,1961 float newScrollY = mOwnScrollY + scrollAmount;1962 if (newScrollY < 0) {1965 setOverScrolledPixels(currentTopPixels - newScrollY,2098 int newScrollY = scrollY + deltaY;2103 if (newScrollY > bottom) {2104 newScrollY = bottom;2106 } else if (newScrollY < top) {[all …]
26753 int newScrollY = scrollY + deltaY; in overScrollBy() local26774 if (newScrollY > bottom) { in overScrollBy()26775 newScrollY = bottom; in overScrollBy()26777 } else if (newScrollY < top) { in overScrollBy()26778 newScrollY = top; in overScrollBy()26782 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()