Home
last modified time | relevance | path

Searched refs:focused (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/
DAbstractLeanbackAppHelper.java232 UiObject2 focused = focus; in select() local
236 if (focused.equals(focus)) { in select()
288 UiObject2 focused;
290 focused = mDevice.wait(Until.findObject(By.focused(true)), timeoutMs);
292 focused = fromObject.wait(Until.findObject(By.focused(true)), timeoutMs);
294 return focused;
315 By.res(getPackage(), "guidedactions_list").hasChild(By.focused(true))),
319 UiObject2 focused = select(container, selector, Direction.DOWN);
320 if (focused != null) {
321 return focused;
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DTvLauncherStrategy.java65 By.res(PACKAGE_LAUNCHER, "channel_logo").focused(true).descContains("Apps");
374 .hasDescendant(By.focused(true))), UI_WAIT_TIME_MS); in getFocusedItemIndexInRow()
472 selectBidirect(getAppsRowSelector().hasDescendant(By.focused(true)), in selectAppsRow()
497 UiObject2 focused = selectBidirect( in selectChannelRow() local
504 return focused; in selectChannelRow()
544 Until.findObject(getSearchRowSelector().hasDescendant(By.focused(true))),
553 return selectBidirect(By.copy(SELECTOR_NOTIFICATIONS_ROW).hasDescendant(By.focused(true)),
562 return select(By.copy(SELECTOR_CONFIG_CHANNELS_ROW).hasDescendant(By.focused(true)),
607 UiObject2 focused = null;
610 focused = mDevice.wait(Until.findObject(By.focused(true)), UI_WAIT_TIME_MS);
[all …]
DLeanbackLauncherStrategy.java278 getNotificationRowSelector().hasDescendant(By.focused(true), 3)), SHORT_WAIT_TIME); in selectNotificationRow()
291 getSearchRowSelector().hasDescendant(By.focused(true))), SHORT_WAIT_TIME); in selectSearchRow()
415 UiObject2 focused = container.wait(Until.findObject(By.focused(true)), SHORT_WAIT_TIME); in launchApp() local
416 if (focused == null) { in launchApp()
422 UiObject2 focusedIcon = focused.findObject( in launchApp()
529 return row.hasObject(By.focused(true)); in isSearchRowSelected()
537 return row.hasObject(By.focused(true)); in isAppsRowSelected()
545 return row.hasObject(By.focused(true)); in isGamesRowSelected()
553 return row.hasObject(By.focused(true)); in isNotificationRowSelected()
625 By.res(getSupportedLauncherPackage(), "card").focused(true)); in findNotificationCard()
[all …]
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java73 Assert.assertNotNull(select(SELECTOR_TOP_ROW.hasDescendant(By.focused(true)), Direction.UP, in goTopRow()
97 selectBidirect(By.res(TVLAUNCHER_PACKAGE, "settings").focused(true), Direction.RIGHT)); in goToSettingsButton()
165 UiObject2 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
168 UiObject2 focused = focus; in select() local
170 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
174 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
177 if (focused.equals(focus)) { in select()