Searched refs:newScrollX (Results 1 – 3 of 3) sorted by relevance
884 int newScrollX = oldScrollX + delta; in onGenericMotionEvent() local892 if (newScrollX < 0) { in onGenericMotionEvent()894 mEdgeGlowLeft.onPullDistance(-(float) newScrollX / getWidth(), in onGenericMotionEvent()900 newScrollX = 0; in onGenericMotionEvent()901 } else if (newScrollX > range) { in onGenericMotionEvent()904 (float) (newScrollX - range) / getWidth(), 0.5f); in onGenericMotionEvent()909 newScrollX = range; in onGenericMotionEvent()911 if (newScrollX != oldScrollX) { in onGenericMotionEvent()912 super.scrollTo(newScrollX, mScrollY); in onGenericMotionEvent()
299 val newScrollX = scrollView.scrollX + dx in onTouch() constant302 mainExecutor.execute { scrollView.smoothScrollTo(newScrollX, scrollView.scrollY) } in onTouch()
29614 int newScrollX = scrollX + deltaX; in overScrollBy() local29631 if (newScrollX > right) { in overScrollBy()29632 newScrollX = right; in overScrollBy()29634 } else if (newScrollX < left) { in overScrollBy()29635 newScrollX = left; in overScrollBy()29648 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()