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.java801 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfo() local
802 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfo()
807 if (isEnabled() && mScrollX < scrollRange) { in onInitializeAccessibilityNodeInfo()
825 int scrollRange = 0; in getScrollRange() local
828 scrollRange = Math.max(0, in getScrollRange()
831 return scrollRange; in getScrollRange()
1203 int scrollRange = getChildAt(0).getRight(); in computeHorizontalScrollRange() local
1205 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
1207 scrollRange -= scrollX; in computeHorizontalScrollRange()
1209 scrollRange += scrollX - overscrollRight; in computeHorizontalScrollRange()
[all …]
DScrollView.java846 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfo() local
847 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfo()
852 if (mScrollY < scrollRange) { in onInitializeAccessibilityNodeInfo()
872 int scrollRange = 0; in getScrollRange() local
875 scrollRange = Math.max(0, in getScrollRange()
878 return scrollRange; in getScrollRange()
1217 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange() local
1219 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
1221 scrollRange -= scrollY; in computeVerticalScrollRange()
1223 scrollRange += scrollY - overscrollBottom; in computeVerticalScrollRange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java436 int scrollRange = getScrollRange(); in clampScrollPosition() local
437 if (scrollRange < mOwnScrollY) { in clampScrollPosition()
438 mOwnScrollY = scrollRange; in clampScrollPosition()
1208 int scrollRange = getScrollRange(); in springBack() local
1210 boolean overScrolledBottom = mOwnScrollY >= scrollRange; in springBack()
1221 newAmount = mOwnScrollY - scrollRange; in springBack()
1222 mOwnScrollY = scrollRange; in springBack()
1231 int scrollRange = 0; in getScrollRange() local
1236 scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight + mBottomStackPeekSize in getScrollRange()
1238 if (scrollRange > 0) { in getScrollRange()
[all …]