Home
last modified time | relevance | path

Searched refs:container (Results 1 – 9 of 9) sorted by relevance

/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DCommonLauncherHelper.java68 public void scrollBackToBeginning(UiObject2 container, Direction backDirection) { in scrollBackToBeginning() argument
69 scrollBackToBeginning(container, backDirection, MAX_SCROLL_ATTEMPTS); in scrollBackToBeginning()
78 … public void scrollBackToBeginning(UiObject2 container, Direction backDirection, int maxAttempts) { in scrollBackToBeginning() argument
80 while (container.scroll(backDirection, 0.25f)) { in scrollBackToBeginning()
96 private void ensureIconVisible(BySelector app, UiObject2 container, Direction dir) { in ensureIconVisible() argument
103 Rect containerR = container.getVisibleBounds(); in ensureIconVisible()
120 container.scroll(dir, pct); in ensureIconVisible()
159 UiObject2 container = launcherStrategy.openAllApps(false); in launchApp() local
163 scrollBackToBeginning(container, Direction.reverse(dir)); in launchApp()
165 while (!mDevice.hasObject(app) && container.scroll(dir, 0.8f)) { in launchApp()
[all …]
DLeanbackLauncherStrategy.java406 UiObject2 container; in launchApp() local
408 container = selectGamesRow(); in launchApp()
410 container = launcherStrategy.openAllApps(false); in launchApp()
412 UiObject2 appIcon = container.findObject(app); in launchApp()
415 UiObject2 focused = container.wait(Until.findObject(By.focused(true)), SHORT_WAIT_TIME); in launchApp()
426 appIcon = findApp(container, focusedIcon, app); in launchApp()
640 protected UiObject2 findApp(UiObject2 container, UiObject2 focusedIcon, BySelector app) { in findApp() argument
648 appIcon = container.findObject(app); in findApp()
652 nextText = container.findObject(By.focused(true)).findObject( in findApp()
660 appIcon = container.findObject(app); in findApp()
[all …]
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/
DAbstractLeanbackAppHelper.java227 public UiObject2 select(SelectCondition condition, UiObject2 container, Direction direction) { in select() argument
228 UiObject2 focus = findFocus(container, FOCUS_WAIT_TIME_MS); in select()
234 focus = findFocus(container, FOCUS_WAIT_TIME_MS); in select()
252 public UiObject2 select(UiObject2 container, final BySelector selector, Direction direction) { in select() argument
258 }, container, direction); in select()
261 public UiObject2 selectBidirect(SelectCondition condition, UiObject2 container,
263 UiObject2 object = select(condition, container, direction);
265 object = select(condition, container, Direction.reverse(direction));
270 public UiObject2 selectBidirect(final BySelector selector, UiObject2 container,
277 }, container, direction);
[all …]
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIPhotosHelper.java151 UiObject2 container, Direction direction, float percentOfPhotoSize, int speed); in scrollPhotosGrid() argument
164 public void scrollPhotosGridBySwiping(UiObject2 container, Direction direction, float percent); in scrollPhotosGridBySwiping() argument
DINotificationHelper.java300 default void flingFeed(UiObject2 container, Direction dir) { in flingFeed() argument
313 default void flingFeed(UiObject2 container, Direction dir, int speed) { in flingFeed() argument
335 default void scrollFeed(UiObject2 container, Direction dir, float percent) { in scrollFeed() argument
DIGoogleHelper.java174 public void flingFeed(UiObject2 container, Direction dir); in flingFeed() argument
185 public void scrollFeed(UiObject2 container, Direction dir, int speed); in scrollFeed() argument
/platform_testing/tests/jank/webview/src/com/android/webview/chromium/tests/jank/
DWebViewFlingTest.java86 UiObject2 container = mDevice.findObject(By.res(RES_PACKAGE, "container")); in beforeLoop() local
89 while (container.fling(Direction.UP)) { in beforeLoop()
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/
DIYouTubeHelper.java194 public default void swipePage(UiObject2 container, Direction dir, float percent) { in swipePage() argument
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTests.java79 UiObject2 container = mDevice.wait(Until.findObject( in testScroll() local
81 container.scroll(Direction.UP, 1.0f); in testScroll()
83 container.scroll(Direction.DOWN, 1.0f); in testScroll()