Searched refs:scrollRange (Results 1 – 4 of 4) sorted by relevance
60 int scrollRange = 0; in getMaxScrollY() local63 scrollRange = Math.max(0, in getMaxScrollY()66 return scrollRange; in getMaxScrollY()
801 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfo() local802 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfo()807 if (isEnabled() && mScrollX < scrollRange) { in onInitializeAccessibilityNodeInfo()825 int scrollRange = 0; in getScrollRange() local828 scrollRange = Math.max(0, in getScrollRange()831 return scrollRange; in getScrollRange()1203 int scrollRange = getChildAt(0).getRight(); in computeHorizontalScrollRange() local1205 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()1207 scrollRange -= scrollX; in computeHorizontalScrollRange()1209 scrollRange += scrollX - overscrollRight; in computeHorizontalScrollRange()[all …]
846 final int scrollRange = getScrollRange(); in onInitializeAccessibilityNodeInfo() local847 if (scrollRange > 0) { in onInitializeAccessibilityNodeInfo()852 if (mScrollY < scrollRange) { in onInitializeAccessibilityNodeInfo()872 int scrollRange = 0; in getScrollRange() local875 scrollRange = Math.max(0, in getScrollRange()878 return scrollRange; in getScrollRange()1217 int scrollRange = getChildAt(0).getBottom(); in computeVerticalScrollRange() local1219 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()1221 scrollRange -= scrollY; in computeVerticalScrollRange()1223 scrollRange += scrollY - overscrollBottom; in computeVerticalScrollRange()[all …]
436 int scrollRange = getScrollRange(); in clampScrollPosition() local437 if (scrollRange < mOwnScrollY) { in clampScrollPosition()438 mOwnScrollY = scrollRange; in clampScrollPosition()1208 int scrollRange = getScrollRange(); in springBack() local1210 boolean overScrolledBottom = mOwnScrollY >= scrollRange; in springBack()1221 newAmount = mOwnScrollY - scrollRange; in springBack()1222 mOwnScrollY = scrollRange; in springBack()1231 int scrollRange = 0; in getScrollRange() local1236 scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight + mBottomStackPeekSize in getScrollRange()1238 if (scrollRange > 0) { in getScrollRange()[all …]