Searched refs:newScrollY (Results 1 – 3 of 3) sorted by relevance
991 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local999 if (newScrollY < 0) { in onGenericMotionEvent()1001 mEdgeGlowTop.onPullDistance(-(float) newScrollY / getHeight(), 0.5f); in onGenericMotionEvent()1006 newScrollY = 0; in onGenericMotionEvent()1008 } else if (newScrollY > range) { in onGenericMotionEvent()1011 (float) (newScrollY - range) / getHeight(), 0.5f); in onGenericMotionEvent()1016 newScrollY = range; in onGenericMotionEvent()1019 if (newScrollY != oldScrollY) { in onGenericMotionEvent()1020 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()1026 /* isStart= */ newScrollY == 0); in onGenericMotionEvent() local
2051 float newScrollY = mOwnScrollY + scrollAmount;2052 if (newScrollY > range) {2056 setOverScrolledPixels(currentBottomPixels + newScrollY - range,2084 float newScrollY = mOwnScrollY + scrollAmount;2085 if (newScrollY < 0) {2088 setOverScrolledPixels(currentTopPixels - newScrollY,2171 int newScrollY = scrollY + deltaY;2176 if (newScrollY > bottom) {2177 newScrollY = bottom;2179 } else if (newScrollY < top) {[all …]
29619 int newScrollY = scrollY + deltaY; in overScrollBy() local29640 if (newScrollY > bottom) { in overScrollBy()29641 newScrollY = bottom; in overScrollBy()29643 } else if (newScrollY < top) { in overScrollBy()29644 newScrollY = top; in overScrollBy()29648 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()