Home
last modified time | relevance | path

Searched refs:scrollableView (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/cts/tests/tests/preference/src/android/preference/cts/
H A DTestUtils.java208 UiObject2 scrollableView = appArea.findObject(By.scrollable(true)); in scrollToTextForSecondaryDisplay() local
209 if (scrollableView == null) { in scrollToTextForSecondaryDisplay()
213 scrollableView.setGestureMarginPercentage(0.25f); in scrollToTextForSecondaryDisplay()
215 scrollableView.scroll(Direction.UP, 1.0f); in scrollToTextForSecondaryDisplay()
216 scrollableView.scrollUntil(Direction.DOWN, Until.findObject(By.text(text))); in scrollToTextForSecondaryDisplay()
/aosp_15_r20/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
H A DUiAutomatorUtils2.java254 UiObject2 scrollableView = scrollableViews.get(i); in waitFindObjectOrNullOnDisplay() local
256 scrollableView.setGestureMarginPercentage((float) getSwipeDeadZonePct()); in waitFindObjectOrNullOnDisplay()
258 scrollableView.scroll(Direction.UP, 1.0f); in waitFindObjectOrNullOnDisplay()
259 scrollableView.scrollUntil(Direction.DOWN, Until.findObject(selector)); in waitFindObjectOrNullOnDisplay()