Home
last modified time | relevance | path

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

/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/
DScrollable.java202 UiObject2 scrollable = device.findObject(By.scrollable(true)); in scroll() local
204 if (scrollable != null) { in scroll()
206 scrollable.setGestureMargins( in scroll()
211 int scrollSpeed = calcScrollSpeed(scrollable, durationMs); in scroll()
212 scrollable.scroll(direction, percent / 100, scrollSpeed); in scroll()
231 default int calcScrollSpeed(UiObject2 scrollable, long durationMs) { in calcScrollSpeed() argument
232 Rect bounds = scrollable.getVisibleBounds(); in calcScrollSpeed()
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java188 List<UiObject2> scrollableObjects = findUiObjects(By.scrollable(true)); in scroll()
205 UiObject2 scrollable = scrollableObjects.get(index); in scroll() local
206 if (scrollable != null) { in scroll()
207 scrollable.setGestureMargins( in scroll()
208 getScrollableMargin(scrollable, false), // left in scroll()
209 getScrollableMargin(scrollable, true), // top in scroll()
210 getScrollableMargin(scrollable, false), // right in scroll()
211 getScrollableMargin(scrollable, true)); // bottom in scroll()
212 int scrollSpeed = getScrollSpeed(scrollable, timeMs); in scroll()
214 scrollable.scroll(direction, percent / 100, scrollSpeed); in scroll()
[all …]
/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.java255 UiScrollable scrollable = new UiScrollable(selector); in scrollToObjectInPicker() local
256 scrollable.setAsVerticalList(); in scrollToObjectInPicker()
268 scrollable.scrollForward(); in scrollToObjectInPicker()
270 scrollable.scrollBackward(); in scrollToObjectInPicker()
DSettingsSystemHelperImpl.java252 UiScrollable scrollable = new UiScrollable(uiSelector); in getSummeryText() local
254 scrollable.scrollForward(); in getSummeryText()
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/
DMediaCenterHelperImpl.java202 if (!mDevice.hasObject(By.scrollable(true))) { in clickMenuItem()
206 UiScrollable menuList = new UiScrollable(new UiSelector().scrollable(true)); in clickMenuItem()
370 UiScrollable menuList = new UiScrollable(new UiSelector().scrollable(true)); in selectByName()
/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/launcherhelper/
DAutoLauncherStrategy.java59 By.res(Pattern.compile(".*:id/" + APP_LIST_ID)).scrollable(true);