Searched refs:newScrollX (Results 1 – 2 of 2) sorted by relevance
848 int newScrollX = oldScrollX + delta; in onGenericMotionEvent() local849 if (newScrollX < 0) { in onGenericMotionEvent()850 newScrollX = 0; in onGenericMotionEvent()851 } else if (newScrollX > range) { in onGenericMotionEvent()852 newScrollX = range; in onGenericMotionEvent()854 if (newScrollX != oldScrollX) { in onGenericMotionEvent()855 super.scrollTo(newScrollX, mScrollY); in onGenericMotionEvent()
26344 int newScrollX = scrollX + deltaX; in overScrollBy() local26361 if (newScrollX > right) { in overScrollBy()26362 newScrollX = right; in overScrollBy()26364 } else if (newScrollX < left) { in overScrollBy()26365 newScrollX = left; in overScrollBy()26378 onOverScrolled(newScrollX, newScrollY, clampedX, clampedY); in overScrollBy()