Home
last modified time | relevance | path

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

/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DCommonLauncherHelper.java78 public void scrollBackToBeginning(UiObject2 container, Direction backDirection) { in scrollBackToBeginning() argument
79 scrollBackToBeginning(container, backDirection, MAX_SCROLL_ATTEMPTS); in scrollBackToBeginning()
90 UiObject2 container, Direction backDirection, int maxAttempts) { in scrollBackToBeginning() argument
92 while (container.scroll(backDirection, 0.25f)) { in scrollBackToBeginning()
109 private void ensureIconVisible(BySelector app, UiObject2 container, Direction dir) { in ensureIconVisible() argument
116 Rect containerR = container.getVisibleBounds(); in ensureIconVisible()
133 container.scroll(dir, pct); in ensureIconVisible()
176 UiObject2 container = launcherStrategy.openAllApps(false); in launchApp() local
180 scrollBackToBeginning(container, Direction.reverse(dir)); in launchApp()
182 while (!mDevice.hasObject(app) && container.scroll(dir, 0.8f)) { in launchApp()
[all …]
DLeanbackLauncherStrategy.java368 UiObject2 container; in launchApp() local
370 container = selectGamesRow(); in launchApp()
372 container = launcherStrategy.openAllApps(false); in launchApp()
374 UiObject2 appIcon = container.findObject(app); in launchApp()
377 UiObject2 focused = container.wait(Until.findObject(By.focused(true)), SHORT_WAIT_TIME); in launchApp()
388 appIcon = findApp(container, focusedIcon, app); in launchApp()
610 protected UiObject2 findApp(UiObject2 container, UiObject2 focusedIcon, BySelector app) { in findApp() argument
618 appIcon = container.findObject(app); in findApp()
623 container in findApp()
632 appIcon = container.findObject(app); in findApp()
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DCommonLauncherHelper.java76 public void scrollBackToBeginning(UiObject2 container, Direction backDirection) { in scrollBackToBeginning() argument
77 scrollBackToBeginning(container, backDirection, MAX_SCROLL_ATTEMPTS); in scrollBackToBeginning()
86 … public void scrollBackToBeginning(UiObject2 container, Direction backDirection, int maxAttempts) { in scrollBackToBeginning() argument
88 while (container.scroll(backDirection, 0.25f)) { in scrollBackToBeginning()
104 private void ensureIconVisible(BySelector app, UiObject2 container, Direction dir) { in ensureIconVisible() argument
111 Rect containerR = container.getVisibleBounds(); in ensureIconVisible()
128 container.scroll(dir, pct); in ensureIconVisible()
167 UiObject2 container = launcherStrategy.openAllApps(false); in launchApp() local
171 scrollBackToBeginning(container, Direction.reverse(dir)); in launchApp()
173 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
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
DINotificationHelper.java415 default void flingFeed(UiObject2 container, Direction dir) { in flingFeed() argument
428 default void flingFeed(UiObject2 container, Direction dir, int speed) { in flingFeed() argument
455 default void scrollFeed(UiObject2 container, Direction dir, float percent) { in scrollFeed() argument
/platform_testing/libraries/flag-helpers/libflagtest/
Dandroid.test.myflags.aconfig2 container: "system"
DAndroid.bp25 container: "system",
/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.java80 UiObject2 container = mDevice.wait(Until.findObject( in testScroll() local
82 container.scroll(Direction.UP, 1.0f); in testScroll()
84 container.scroll(Direction.DOWN, 1.0f); in testScroll()