Home
last modified time | relevance | path

Searched refs:scrollable (Results 1 – 9 of 9) sorted by relevance

/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/
DScrollable.java203 UiObject2 scrollable = device.findObject(By.scrollable(true)); in scroll() local
205 if (scrollable != null) { in scroll()
207 scrollable.setGestureMargins( in scroll()
212 int scrollSpeed = calcScrollSpeed(scrollable, durationMs); in scroll()
213 scrollable.scroll(direction, percent / 100, scrollSpeed); in scroll()
232 default int calcScrollSpeed(UiObject2 scrollable, long durationMs) { in calcScrollSpeed() argument
233 Rect bounds = scrollable.getVisibleBounds(); in calcScrollSpeed()
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemAppJankTests.java67 Until.findObject(By.scrollable(true).res(YOUTUBE_PACKAGE, "guide")), LONG_TIMEOUT); in launchYoutube()
86 UiObject2 youtubeScreen = mDevice.wait( Until.findObject(By.scrollable(true) in goToYoutubeContainer()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDateTimeHelperImpl.java323 UiScrollable scrollable = new UiScrollable(selector); in scrollToObjectInPicker() local
324 scrollable.setAsVerticalList(); in scrollToObjectInPicker()
355 scrollable.scrollForward(); in scrollToObjectInPicker()
357 scrollable.scrollBackward(); in scrollToObjectInPicker()
381 scrollable.scrollForward(); in scrollToObjectInPicker()
383 scrollable.scrollBackward(); in scrollToObjectInPicker()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaInstrumentation.java164 … UiObject2 scrollable = mDevice.wait(Until.findObject(By.scrollable(true)), WAIT_TIME_MILLIS); in ensureUMOFullyVisible() local
165 scrollable.scroll( in ensureUMOFullyVisible()
166 Direction.DOWN, (float)distance / scrollable.getVisibleBounds().height(), 100); in ensureUMOFullyVisible()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/
DUiElement.java127 return By.scrollable(mFlag); in getBySelectorForUiElement()
169 s.scrollable(mFlag); in extendBySelectorForUiElement()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java419 UiScrollable scrollable = new UiScrollable( in getShareApp() local
423 scrollable.scrollForward(); in getShareApp()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAutoLauncherStrategy.java60 By.res(Pattern.compile(".*:id/" + APP_LIST_ID)).scrollable(true);
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAutoLauncherStrategy.java59 By.res(Pattern.compile(".*:id/" + APP_LIST_ID)).scrollable(true);
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/
DSpectatioUiUtil.java955 scrollableObject = scrollableObject.findObject(By.scrollable(true)); in validateAndGetScrollableObject()