Searched refs:scrollable (Results 1 – 9 of 9) sorted by relevance
203 UiObject2 scrollable = device.findObject(By.scrollable(true)); in scroll() local205 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() argument233 Rect bounds = scrollable.getVisibleBounds(); in calcScrollSpeed()
67 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()
323 UiScrollable scrollable = new UiScrollable(selector); in scrollToObjectInPicker() local324 scrollable.setAsVerticalList(); in scrollToObjectInPicker()355 scrollable.scrollForward(); in scrollToObjectInPicker()357 scrollable.scrollBackward(); in scrollToObjectInPicker()381 scrollable.scrollForward(); in scrollToObjectInPicker()383 scrollable.scrollBackward(); in scrollToObjectInPicker()
164 … UiObject2 scrollable = mDevice.wait(Until.findObject(By.scrollable(true)), WAIT_TIME_MILLIS); in ensureUMOFullyVisible() local165 scrollable.scroll( in ensureUMOFullyVisible()166 Direction.DOWN, (float)distance / scrollable.getVisibleBounds().height(), 100); in ensureUMOFullyVisible()
127 return By.scrollable(mFlag); in getBySelectorForUiElement()169 s.scrollable(mFlag); in extendBySelectorForUiElement()
419 UiScrollable scrollable = new UiScrollable( in getShareApp() local423 scrollable.scrollForward(); in getShareApp()
60 By.res(Pattern.compile(".*:id/" + APP_LIST_ID)).scrollable(true);
59 By.res(Pattern.compile(".*:id/" + APP_LIST_ID)).scrollable(true);
955 scrollableObject = scrollableObject.findObject(By.scrollable(true)); in validateAndGetScrollableObject()