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()
1819 float newScrollY = mOwnScrollY + scrollAmount;1820 if (newScrollY > range) {1824 setOverScrolledPixels(currentBottomPixels + newScrollY - range,1872 float newScrollY = mOwnScrollY + scrollAmount;1873 if (newScrollY < 0) {1876 setOverScrolledPixels(currentTopPixels - newScrollY,2009 int newScrollY = scrollY + deltaY;2014 if (newScrollY > bottom) {2015 newScrollY = bottom;2017 } else if (newScrollY < top) {[all …]
26349 int newScrollY = scrollY + deltaY; in overScrollBy() local26370 if (newScrollY > bottom) { in overScrollBy()26371 newScrollY = bottom; in overScrollBy()26373 } else if (newScrollY < top) { in overScrollBy()26374 newScrollY = top; in overScrollBy()26378 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()