Home
last modified time | relevance | path

Searched refs:container (Results 1 – 5 of 5) 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.java387 UiObject2 container; in launchApp() local
389 container = selectGamesRow(); in launchApp()
391 container = launcherStrategy.openAllApps(false); in launchApp()
393 UiObject2 appIcon = container.findObject(app); in launchApp()
396 UiObject2 focused = container.wait(Until.findObject(By.focused(true)), SHORT_WAIT_TIME); in launchApp()
407 appIcon = findApp(container, focusedIcon, app); in launchApp()
621 protected UiObject2 findApp(UiObject2 container, UiObject2 focusedIcon, BySelector app) { in findApp() argument
629 appIcon = container.findObject(app); in findApp()
633 nextText = container.findObject(By.focused(true)).findObject( in findApp()
641 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/tests/jank/webview/src/com/android/webview/chromium/tests/jank/
DWebViewFlingTest.java88 UiObject2 container = mDevice.findObject(By.res(RES_PACKAGE, "container")); in beforeLoop() local
91 while (container.fling(Direction.UP)) { in beforeLoop()
/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()