Searched refs:scrollable (Results 1 – 9 of 9) sorted by relevance
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 183 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/ |
D | AbstractAutoStandardAppHelper.java | 184 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/ |
D | SystemAppJankTests.java | 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()
|
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/ |
D | SettingsDateTimeHelperImpl.java | 255 UiScrollable scrollable = new UiScrollable(selector); in scrollToObjectInPicker() local 256 scrollable.setAsVerticalList(); in scrollToObjectInPicker() 268 scrollable.scrollForward(); in scrollToObjectInPicker() 270 scrollable.scrollBackward(); in scrollToObjectInPicker()
|
D | SettingsSystemHelperImpl.java | 252 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/ |
D | MediaCenterHelperImpl.java | 201 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/ |
D | AccessibilityScannerHelper.java | 419 UiScrollable scrollable = new UiScrollable( in getShareApp() local 423 scrollable.scrollForward(); in getShareApp()
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | WatchFaceHelper.java | 135 UiScrollable watchFacePickerAllList = new UiScrollable(new UiSelector().scrollable(true)); in selectWatchFaceFromFullList()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | AutoLauncherStrategy.java | 59 By.res(Pattern.compile(".*:id/" + APP_LIST_ID)).scrollable(true);
|