Searched refs:scrollable (Results 1 – 10 of 10) sorted by relevance
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 202 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/ |
D | AbstractAutoStandardAppHelper.java | 197 List<UiObject2> scrollableObjects = findUiObjects(By.scrollable(true)); in scroll() 214 UiObject2 scrollable = scrollableObjects.get(index); in scroll() local 215 if (scrollable != null) { in scroll() 216 scrollable.setGestureMargins( in scroll() 217 getScrollableMargin(scrollable, false), // left in scroll() 218 getScrollableMargin(scrollable, true), // top in scroll() 219 getScrollableMargin(scrollable, false), // right in scroll() 220 getScrollableMargin(scrollable, true)); // bottom in scroll() 221 int scrollSpeed = getScrollSpeed(scrollable, timeMs); in scroll() 223 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 | 290 UiScrollable scrollable = new UiScrollable(selector); in scrollToObjectInPicker() local 291 scrollable.setAsVerticalList(); in scrollToObjectInPicker() 324 scrollable.scrollForward(); in scrollToObjectInPicker() 326 scrollable.scrollBackward(); in scrollToObjectInPicker() 352 scrollable.scrollForward(); in scrollToObjectInPicker() 354 scrollable.scrollBackward(); in scrollToObjectInPicker()
|
D | SettingsSystemHelperImpl.java | 253 UiScrollable scrollable = new UiScrollable(uiSelector); in getSummeryText() local 255 scrollable.scrollForward(); in getSummeryText()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MediaInstrumentation.java | 161 … UiObject2 scrollable = mDevice.wait(Until.findObject(By.scrollable(true)), WAIT_TIME_MILLIS); in ensureUMOFullyVisible() local 162 scrollable.scroll( in ensureUMOFullyVisible() 163 Direction.DOWN, (float)distance / scrollable.getVisibleBounds().height(), 100); in ensureUMOFullyVisible()
|
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/ |
D | MediaCenterHelperImpl.java | 202 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/ |
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);
|