Home
last modified time | relevance | path

Searched refs:newScrollX (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java848 int newScrollX = oldScrollX + delta; in onGenericMotionEvent() local
849 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()
/frameworks/base/core/java/android/view/
DView.java26344 int newScrollX = scrollX + deltaX; in overScrollBy() local
26361 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()