Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java111 int scrollRange = 0; in getScrollRange() local
114 scrollRange = Math.max(0, in getScrollRange()
117 return scrollRange; in getScrollRange()
/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.java995 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal() local
996 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfoInternal()
1002 if (isEnabled() && mScrollX < scrollRange) { in onInitializeAccessibilityNodeInfoInternal()
1019 int scrollRange = 0; in getScrollRange() local
1022 scrollRange = Math.max(0, in getScrollRange()
1025 return scrollRange; in getScrollRange()
1397 int scrollRange = getChildAt(0).getRight(); in computeHorizontalScrollRange() local
1399 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
1401 scrollRange -= scrollX; in computeHorizontalScrollRange()
1403 scrollRange += scrollX - overscrollRight; in computeHorizontalScrollRange()
[all …]
DScrollView.java1112 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfoInternal() local
1113 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfoInternal()
1120 if (mScrollY < scrollRange) { in onInitializeAccessibilityNodeInfoInternal()
1139 int scrollRange = 0; in getScrollRange() local
1142 scrollRange = Math.max(0, in getScrollRange()
1145 return scrollRange; in getScrollRange()
1484 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange() local
1486 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
1488 scrollRange -= scrollY; in computeVerticalScrollRange()
1490 scrollRange += scrollY - overscrollBottom; in computeVerticalScrollRange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1356 int scrollRange = getScrollRange();
1357 if (scrollRange < mOwnScrollY && !mAmbientState.isClearAllInProgress()) {
1359 boolean animateStackY = scrollRange < getScrollAmountToScrollBoundary()
1361 setOwnScrollY(scrollRange, animateStackY);
2325 int scrollRange = getScrollRange();
2327 boolean overScrolledBottom = mOwnScrollY >= scrollRange;
2338 newAmount = mOwnScrollY - scrollRange;
2339 setOwnScrollY(scrollRange);
2354 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);
2356 scrollRange += Math.min(imeInset, Math.max(0, contentHeight - (getHeight() - imeInset)));
[all …]