Searched refs:getScrollRange (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 568 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent() 659 final int range = getScrollRange(); in onTouchEvent() 709 getScrollRange())) { in onTouchEvent() 719 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onTouchEvent() 771 final int range = getScrollRange(); in onGenericMotionEvent() 803 mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange()); in onOverScrolled() 823 final int targetScrollY = Math.min(mScrollY + viewportHeight, getScrollRange()); in performAccessibilityAction() 846 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfo() 863 final boolean scrollable = getScrollRange() > 0; in onInitializeAccessibilityEvent() 868 event.setMaxScrollY(getScrollRange()); in onInitializeAccessibilityEvent() [all …]
|
D | HorizontalScrollView.java | 522 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent() 604 final int range = getScrollRange(); in onTouchEvent() 650 getScrollRange(), 0, 0)) { in onTouchEvent() 668 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent() 719 final int range = getScrollRange(); in onGenericMotionEvent() 756 mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0); in onOverScrolled() 776 final int targetScrollX = Math.min(mScrollX + viewportWidth, getScrollRange()); in performAccessibilityAction() 801 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfo() 817 event.setScrollable(getScrollRange() > 0); in onInitializeAccessibilityEvent() 820 event.setMaxScrollX(getScrollRange()); in onInitializeAccessibilityEvent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 436 int scrollRange = getScrollRange(); in clampScrollPosition() 829 int range = getScrollRange(); in onScrollTouch() 870 getScrollRange())) { in onScrollTouch() 884 if (mScroller.springBack(mScrollX, mOwnScrollY, 0, 0, 0, getScrollRange())) { in onScrollTouch() 1027 final int range = getScrollRange(); in computeScroll() 1208 int scrollRange = getScrollRange(); in springBack() 1230 private int getScrollRange() { in getScrollRange() method in NotificationStackScrollLayout 1354 int scrollRange = getScrollRange(); in fling() 1961 if (mScroller.springBack(mScrollX, mOwnScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEventScroll() 2018 return mOwnScrollY >= getScrollRange(); in isScrolledToBottom()
|