Home
last modified time | relevance | path

Searched refs:scrollRange (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java60 int scrollRange = 0; in getMaxScrollY() local
63 scrollRange = Math.max(0, in getMaxScrollY()
66 return scrollRange; in getMaxScrollY()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java935 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal() local
936 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfoInternal()
942 if (isEnabled() && mScrollX < scrollRange) { in onInitializeAccessibilityNodeInfoInternal()
961 int scrollRange = 0; in getScrollRange() local
964 scrollRange = Math.max(0, in getScrollRange()
967 return scrollRange; in getScrollRange()
1339 int scrollRange = getChildAt(0).getRight(); in computeHorizontalScrollRange() local
1341 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
1343 scrollRange -= scrollX; in computeHorizontalScrollRange()
1345 scrollRange += scrollX - overscrollRight; in computeHorizontalScrollRange()
[all …]
DScrollView.java991 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal() local
992 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfoInternal()
999 if (mScrollY < scrollRange) { in onInitializeAccessibilityNodeInfoInternal()
1020 int scrollRange = 0; in getScrollRange() local
1023 scrollRange = Math.max(0, in getScrollRange()
1026 return scrollRange; in getScrollRange()
1365 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange() local
1367 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
1369 scrollRange -= scrollY; in computeVerticalScrollRange()
1371 scrollRange += scrollY - overscrollBottom; in computeVerticalScrollRange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1237 int scrollRange = getScrollRange();
1238 if (scrollRange < mOwnScrollY) {
1239 setOwnScrollY(scrollRange);
2183 int scrollRange = getScrollRange();
2185 boolean overScrolledBottom = mOwnScrollY >= scrollRange;
2196 newAmount = mOwnScrollY - scrollRange;
2197 setOwnScrollY(scrollRange);
2214 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);
2216 scrollRange += Math.min(imeInset, Math.max(0, contentHeight - (getHeight() - imeInset)));
2217 return scrollRange;
[all …]