Searched refs:scrollRange (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ObservableScrollView.java | 60 int scrollRange = 0; in getMaxScrollY() local 63 scrollRange = Math.max(0, in getMaxScrollY() 66 return scrollRange; in getMaxScrollY()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 837 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal() local 838 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfoInternal() 844 if (isEnabled() && mScrollX < scrollRange) { in onInitializeAccessibilityNodeInfoInternal() 863 int scrollRange = 0; in getScrollRange() local 866 scrollRange = Math.max(0, in getScrollRange() 869 return scrollRange; in getScrollRange() 1241 int scrollRange = getChildAt(0).getRight(); in computeHorizontalScrollRange() local 1243 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange() 1245 scrollRange -= scrollX; in computeHorizontalScrollRange() 1247 scrollRange += scrollX - overscrollRight; in computeHorizontalScrollRange() [all …]
|
D | ScrollView.java | 885 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal() local 886 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfoInternal() 893 if (mScrollY < scrollRange) { in onInitializeAccessibilityNodeInfoInternal() 914 int scrollRange = 0; in getScrollRange() local 917 scrollRange = Math.max(0, in getScrollRange() 920 return scrollRange; in getScrollRange() 1259 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange() local 1261 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange() 1263 scrollRange -= scrollY; in computeVerticalScrollRange() 1265 scrollRange += scrollY - overscrollBottom; in computeVerticalScrollRange() [all …]
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | NestedScrollView.java | 1031 int scrollRange = 0; in getScrollRange() local 1034 scrollRange = Math.max(0, in getScrollRange() 1037 return scrollRange; in getScrollRange() 1372 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange() local 1374 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange() 1376 scrollRange -= scrollY; in computeVerticalScrollRange() 1378 scrollRange += scrollY - overscrollBottom; in computeVerticalScrollRange() 1381 return scrollRange; in computeVerticalScrollRange() 1685 final int scrollRange = Math.max(0, in onLayout() local 1689 if (getScrollY() > scrollRange) { in onLayout() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | FastScroller.java | 480 private int scrollTo(float oldDragPos, float newDragPos, int[] scrollbarRange, int scrollRange, in scrollTo() argument 487 int totalPossibleOffset = scrollRange - viewLength; in scrollTo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 700 int scrollRange = getScrollRange(); in clampScrollPosition() local 701 if (scrollRange < mOwnScrollY) { in clampScrollPosition() 702 setOwnScrollY(scrollRange); in clampScrollPosition() 1805 int scrollRange = getScrollRange(); in springBack() local 1807 boolean overScrolledBottom = mOwnScrollY >= scrollRange; in springBack() 1818 newAmount = mOwnScrollY - scrollRange; in springBack() 1819 setOwnScrollY(scrollRange); in springBack() 1829 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight); in getScrollRange() local 1831 scrollRange += Math.min(imeInset, Math.max(0, in getScrollRange() 1833 return scrollRange; in getScrollRange() [all …]
|