Searched refs:newScrollY (Results 1 – 3 of 3) sorted by relevance
940 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local941 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()
1750 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 …]
27106 int newScrollY = scrollY + deltaY; in overScrollBy() local27127 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()