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.java1260 int scrollRange = getScrollRange();
1261 if (scrollRange < mOwnScrollY) {
1262 setOwnScrollY(scrollRange);
2224 int scrollRange = getScrollRange();
2226 boolean overScrolledBottom = mOwnScrollY >= scrollRange;
2237 newAmount = mOwnScrollY - scrollRange;
2238 setOwnScrollY(scrollRange);
2255 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);
2257 scrollRange += Math.min(imeInset, Math.max(0, contentHeight - (getHeight() - imeInset)));
2258 return scrollRange;
[all …]