Home
last modified time | relevance | path

Searched refs:numButtons (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DShortButtonsTest.java57 final int numButtons = getActivity().getNumButtons(); in testScrollDownToBottomThroughButtons() local
59 for (int i = 0; i < numButtons; i++) { in testScrollDownToBottomThroughButtons()
74 final int numButtons = getActivity().getNumButtons(); in testScrollFromBottomToTopThroughButtons() local
76 final Button lastButton = getActivity().getButtonAt(numButtons - 1); in testScrollFromBottomToTopThroughButtons()
88 for (int i = numButtons - 1; i >= 0; i--) { in testScrollFromBottomToTopThroughButtons()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabelsTest.java148 int numButtons = goToBottomButton(); in testArrowScrollUpToTopElementOnScreen() local
151 for (int i = 0; i < numButtons; i++) { in testArrowScrollUpToTopElementOnScreen()
168 int numButtons = getActivity().getNumButtons(); in goToBottomButton() local
169 Button lastButton = getActivity().getButton(numButtons - 1); in goToBottomButton()
171 for (int i = 0; i < numButtons; i++) { in goToBottomButton()
176 return numButtons; in goToBottomButton()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DScrollViewScenario.java145 public Params addButtons(int numButtons, String textPrefix, float heightRatio) { in addButtons() argument
146 for (int i = 0; i < numButtons; i++) { in addButtons()
171 …public Params addVerticalLLOfButtons(final String prefix, final int numButtons, float heightRatio)… in addVerticalLLOfButtons() argument
182 for (int i = 0; i < numButtons; i++) { in addVerticalLLOfButtons()