Searched refs:newScrollY (Results 1 – 4 of 4) sorted by relevance
858 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local859 if (newScrollY < 0) { in onGenericMotionEvent()860 newScrollY = 0; in onGenericMotionEvent()861 } else if (newScrollY > range) { in onGenericMotionEvent()862 newScrollY = range; in onGenericMotionEvent()864 if (newScrollY != oldScrollY) { in onGenericMotionEvent()865 super.scrollTo(getScrollX(), newScrollY); in onGenericMotionEvent() local916 int newScrollY = scrollY + deltaY; in overScrollByCompat() local937 if (newScrollY > bottom) { in overScrollByCompat()938 newScrollY = bottom; in overScrollByCompat()[all …]
1010 float newScrollY = mOwnScrollY + scrollAmount; in overScrollUp()1011 if (newScrollY > range) { in overScrollUp()1015 setOverScrolledPixels(currentBottomPixels + newScrollY - range, in overScrollUp()1043 float newScrollY = mOwnScrollY + scrollAmount; in overScrollDown()1044 if (newScrollY < 0) { in overScrollDown()1047 setOverScrolledPixels(currentTopPixels - newScrollY, in overScrollDown()1129 int newScrollY = scrollY + deltaY; in overScrollBy() local1135 if (newScrollY > bottom) { in overScrollBy()1136 newScrollY = bottom; in overScrollBy()1138 } else if (newScrollY < top) { in overScrollBy()[all …]
783 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local784 if (newScrollY < 0) { in onGenericMotionEvent()785 newScrollY = 0; in onGenericMotionEvent()786 } else if (newScrollY > range) { in onGenericMotionEvent()787 newScrollY = range; in onGenericMotionEvent()789 if (newScrollY != oldScrollY) { in onGenericMotionEvent()790 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
19830 int newScrollY = scrollY + deltaY;19851 if (newScrollY > bottom) {19852 newScrollY = bottom;19854 } else if (newScrollY < top) {19855 newScrollY = top;19859 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY);