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.java183 UiObject2 scrollable = device.findObject(By.scrollable(true)); in scroll() local
185 if (scrollable != null) { in scroll()
187 scrollable.setGestureMargins( in scroll()
192 int scrollSpeed = calcScrollSpeed(scrollable, durationMs); in scroll()
193 scrollable.scroll(direction, percent / 100, scrollSpeed); in scroll()
212 default int calcScrollSpeed(UiObject2 scrollable, long durationMs) { in calcScrollSpeed() argument
213 Rect bounds = scrollable.getVisibleBounds(); in calcScrollSpeed()
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java184 List<UiObject2> scrollableObjects = findUiObjects(By.scrollable(true)); in scroll()
201 UiObject2 scrollable = scrollableObjects.get(index); in scroll() local
202 if (scrollable != null) { in scroll()
203 scrollable.setGestureMargins( in scroll()
204 getScrollableMargin(scrollable, false), // left in scroll()
205 getScrollableMargin(scrollable, true), // top in scroll()
206 getScrollableMargin(scrollable, false), // right in scroll()
207 getScrollableMargin(scrollable, true)); // bottom in scroll()
208 int scrollSpeed = getScrollSpeed(scrollable, timeMs); in scroll()
210 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.java201 if (!mDevice.hasObject(By.scrollable(true))) { in clickMenuItem()
205 UiScrollable menuList = new UiScrollable(new UiSelector().scrollable(true)); in clickMenuItem()
367 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/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DWatchFaceHelper.java135 UiScrollable watchFacePickerAllList = new UiScrollable(new UiSelector().scrollable(true)); in selectWatchFaceFromFullList()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAutoLauncherStrategy.java59 By.res(Pattern.compile(".*:id/" + APP_LIST_ID)).scrollable(true);