Home
last modified time | relevance | path

Searched refs:getMaxScrollAmount (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DButtonsWithTallTextViewInBetweenTest.java70 mScrollView.getMaxScrollAmount()); in testPreconditions()
72 …getTopWithinScrollView(mBottomButton)- mScrollView.getBottom() > mScrollView.getMaxScrollAmount()); in testPreconditions()
81 mScrollView.getMaxScrollAmount(), in testPanTopButtonOffScreenLosesFocus()
97 …((getBottomWithinScrollView(mBottomButton) - screenBottom)) / mScrollView.getMaxScrollAmount() + 1; in testScrollDownToBottomButton()
131 maxScroll - mScrollView.getMaxScrollAmount(), in testPanBottomButtonOffScreenLosesFocus()
DMultiPageTextWithPaddingTest.java57 / mScrollView.getMaxScrollAmount()); in testScrollDownToBottom()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfItemsTallerThanScreenTest.java49 amountOffScreen > mListView.getMaxScrollAmount()); in testPreconditions()
68 mListView.getListPaddingTop() - mListView.getMaxScrollAmount() * i, in testScrollDownAcrossItem()
104 assertEquals(topOfPeekingNext - (mListView.getMaxScrollAmount()), next.getTop()); in testScrollDownToNextItem()
110 (mListView.getSelectedView().getHeight() / mListView.getMaxScrollAmount()) + 1; in testScrollFirstItemOffScreen()
191 return (pixelsOffScreen / mListView.getMaxScrollAmount()) + 1; in getNumDownPressesToScrollDownAcrossSelected()
DListItemFocusablesFarApartTest.java75 topOfSecondButton - topOfFirstButton > mListView.getMaxScrollAmount()); in testPreconditions()
106 expectedTop -= mListView.getMaxScrollAmount(); in testPanWhenNextFocusableTooFarDown()
DListOfShortShortTallShortShortTest.java49 firstTwoHeight <= mListView.getMaxScrollAmount()); in testPreconditions()
/frameworks/base/core/java/android/widget/
DListView.java198 public int getMaxScrollAmount() { in getMaxScrollAmount() method in ListView
2758 && (goalBottom - viewToMakeVisible.getTop()) >= getMaxScrollAmount()) { in amountToScroll()
2771 return Math.min(amountToScroll, getMaxScrollAmount()); in amountToScroll()
2795 (viewToMakeVisible.getBottom() - goalTop) >= getMaxScrollAmount()) { in amountToScroll()
2806 return Math.min(amountToScroll, getMaxScrollAmount()); in amountToScroll()
2941 final int maxScrollAmount = getMaxScrollAmount(); in arrowScrollFocused()
DScrollView.java227 public int getMaxScrollAmount() { in getMaxScrollAmount() method in ScrollView
1082 final int maxJump = getMaxScrollAmount(); in arrowScroll()
DHorizontalScrollView.java201 public int getMaxScrollAmount() { in getMaxScrollAmount() method in HorizontalScrollView
1071 final int maxJump = getMaxScrollAmount(); in arrowScroll()
/frameworks/base/api/
Dsystem-current.txt40128 method public int getMaxScrollAmount();
40340 method public int getMaxScrollAmount();
40837 method public int getMaxScrollAmount();
Dcurrent.txt37599 method public int getMaxScrollAmount();
37811 method public int getMaxScrollAmount();
38308 method public int getMaxScrollAmount();