Home
last modified time | relevance | path

Searched refs:getScrollRange (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java545 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent()
627 final int range = getScrollRange(); in onTouchEvent()
673 getScrollRange(), 0, 0)) { in onTouchEvent()
691 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent()
748 final int range = getScrollRange(); in onGenericMotionEvent()
784 mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0); in onOverScrolled()
806 final int targetScrollX = Math.min(mScrollX + viewportWidth, getScrollRange()); in performAccessibilityActionInternal()
837 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal()
855 event.setScrollable(getScrollRange() > 0); in onInitializeAccessibilityEventInternal()
858 event.setMaxScrollX(getScrollRange()); in onInitializeAccessibilityEventInternal()
[all …]
DScrollView.java594 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent()
685 final int range = getScrollRange(); in onTouchEvent()
735 getScrollRange())) { in onTouchEvent()
745 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onTouchEvent()
803 final int range = getScrollRange(); in onGenericMotionEvent()
834 mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange()); in onOverScrolled()
856 final int targetScrollY = Math.min(mScrollY + viewportHeight, getScrollRange()); in performAccessibilityActionInternal()
885 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal()
905 final boolean scrollable = getScrollRange() > 0; in onInitializeAccessibilityEventInternal()
910 event.setMaxScrollY(getScrollRange()); in onInitializeAccessibilityEventInternal()
[all …]
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java732 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent()
820 final int range = getScrollRange(); in onTouchEvent()
871 getScrollRange())) { in onTouchEvent()
880 getScrollRange())) { in onTouchEvent()
931 final int range = getScrollRange(); in onGenericMotionEvent()
1022 mScroller.springBack(newScrollX, newScrollY, 0, 0, 0, getScrollRange()); in overScrollByCompat()
1030 int getScrollRange() { in getScrollRange() method in NestedScrollView
1463 final int range = getScrollRange(); in computeScroll()
1763 && (scrollY < getScrollRange() || velocityY < 0); in flingWithNestedDispatch()
1835 Math.max(getScrollRange(), scrollY) + height); in draw()
[all …]
/frameworks/support/design/src/android/support/design/widget/
DHeaderScrollingViewBehavior.java84 + getScrollRange(header); in onMeasureChild()
156 int getScrollRange(View v) { in getScrollRange() method in HeaderScrollingViewBehavior
DAppBarLayout.java1466 int getScrollRange(View v) { in getScrollRange() method in AppBarLayout.Behavior.ScrollingViewBehavior
1470 return super.getScrollRange(v); in getScrollRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java688 targetScroll = Math.max(0, Math.min(targetScroll, getScrollRange())); in updateForcedScroll()
711 int scrollRange = getScrollRange(); in clampScrollPosition()
1240 int range = getScrollRange(); in onApplyWindowInsets()
1257 int range = getScrollRange();
1385 final int range = getScrollRange(); in onGenericMotionEvent()
1462 int range = getScrollRange(); in onScrollTouch()
1505 getScrollRange())) { in onScrollTouch()
1518 if (mScroller.springBack(mScrollX, mOwnScrollY, 0, 0, 0, getScrollRange())) { in onScrollTouch()
1665 int range = getScrollRange(); in animateScroll()
1834 int scrollRange = getScrollRange(); in springBack()
[all …]
/frameworks/base/config/
Dboot-image-profile.txt9225 HPLandroid/widget/HorizontalScrollView;->getScrollRange()I
9517 HPLandroid/widget/ScrollView;->getScrollRange()I