Searched refs:newScrollY (Results 1 – 3 of 3) sorted by relevance
958 int newScrollY = oldScrollY - delta; in onGenericMotionEvent() local966 if (newScrollY < 0) { in onGenericMotionEvent()968 mEdgeGlowTop.onPullDistance(-(float) newScrollY / getHeight(), 0.5f); in onGenericMotionEvent()973 newScrollY = 0; in onGenericMotionEvent()974 } else if (newScrollY > range) { in onGenericMotionEvent()977 (float) (newScrollY - range) / getHeight(), 0.5f); in onGenericMotionEvent()982 newScrollY = range; in onGenericMotionEvent()984 if (newScrollY != oldScrollY) { in onGenericMotionEvent()985 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
1939 if (newScrollY > range) {1972 if (newScrollY < 0) {2058 int newScrollY = scrollY + deltaY;2063 if (newScrollY > bottom) {2064 newScrollY = bottom;2066 } else if (newScrollY < top) {2067 newScrollY = top;2071 onCustomOverScrolled(newScrollY, clampedY);3515 if (newScrollY < 0) { in onGenericMotionEvent()3516 newScrollY = 0; in onGenericMotionEvent()[all …]
28548 int newScrollY = scrollY + deltaY; in overScrollBy() local28569 if (newScrollY > bottom) { in overScrollBy()28570 newScrollY = bottom; in overScrollBy()28572 } else if (newScrollY < top) { in overScrollBy()28573 newScrollY = top; in overScrollBy()28577 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()