Home
last modified time | relevance | path

Searched refs:maxScroll (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/java/android/view/
H A DRoundScrollbarRenderer.java69 float maxScroll = mParent.computeVerticalScrollRange(); in drawRoundScrollbars() local
71 if (scrollExtent <= 0 || maxScroll <= scrollExtent) { in drawRoundScrollbars()
84 float sweepAngle = (linearThumbLength / maxScroll) * SCROLLBAR_ANGLE_RANGE; in drawRoundScrollbars()
88 / (maxScroll - linearThumbLength) - SCROLLBAR_ANGLE_RANGE / 2; in drawRoundScrollbars()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DScrollViewFunctionalTest.java63 int maxScroll = childHeight - mScrollView.getHeight(); in testScrollAfterFlingBottom() local
64 mScrollView.scrollTo(0, maxScroll - 100); in testScrollAfterFlingBottom()
68 assertEquals(maxScroll, mScrollView.getScrollY()); in testScrollAfterFlingBottom()
H A DHorizontalScrollViewFunctionalTest.java73 int maxScroll = childWidth - mHorizontalScrollView.getWidth(); in testScrollAfterFlingRight() local
74 mActivityRule.runOnUiThread(() -> mHorizontalScrollView.scrollTo(maxScroll - 100, 0)); in testScrollAfterFlingRight()
79 assertEquals(maxScroll, mHorizontalScrollView.getScrollX()); in testScrollAfterFlingRight()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DButtonsWithTallTextViewInBetweenTest.java121 final int maxScroll = getActivity().getLinearLayout().getHeight() in testPanBottomButtonOffScreenLosesFocus() local
124 maxScroll, in testPanBottomButtonOffScreenLosesFocus()
131 maxScroll - mScrollView.getMaxScrollAmount(), in testPanBottomButtonOffScreenLosesFocus()
/aosp14/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1791 int maxScroll = Math.max(0, right - width); in fling() local
1800 } else if (mScrollX == maxScroll && !mEdgeGlowRight.isFinished()) { in fling()
1811 maxScroll, 0, 0, width / 2, 0); in fling()
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java2112 final int maxScroll = getMaxDragScroll(recyclerView); in interpolateOutOfBoundsScroll() local
2117 final int cappedScroll = (int) (direction * maxScroll in interpolateOutOfBoundsScroll()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java1911 final int maxScroll = (int) (MAX_SCROLL_FACTOR * mOrientationHelper.getTotalSpace()); in onFocusSearchFailed() local
1912 updateLayoutState(layoutDir, maxScroll, false, state); in onFocusSearchFailed()