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");
362 .hasDescendant(By.focused(true))), UI_WAIT_TIME_MS); in getFocusedItemIndexInRow()
460 selectBidirect(getAppsRowSelector().hasDescendant(By.focused(true)), in selectAppsRow()
485 UiObject2 focused = selectBidirect( in selectChannelRow() local
492 return focused; in selectChannelRow()
532 Until.findObject(getSearchRowSelector().hasDescendant(By.focused(true))),
541 return selectBidirect(By.copy(SELECTOR_NOTIFICATIONS_ROW).hasDescendant(By.focused(true)),
550 return select(By.copy(SELECTOR_CONFIG_CHANNELS_ROW).hasDescendant(By.focused(true)),
595 UiObject2 focused = null;
598 focused = mDevice.wait(Until.findObject(By.focused(true)), UI_WAIT_TIME_MS);
[all …]
DLeanbackLauncherStrategy.java265 getNotificationRowSelector().hasDescendant(By.focused(true), 3)), SHORT_WAIT_TIME); in selectNotificationRow()
278 getSearchRowSelector().hasDescendant(By.focused(true))), SHORT_WAIT_TIME); in selectSearchRow()
396 UiObject2 focused = container.wait(Until.findObject(By.focused(true)), SHORT_WAIT_TIME); in launchApp() local
397 if (focused == null) { in launchApp()
403 UiObject2 focusedIcon = focused.findObject( in launchApp()
510 return row.hasObject(By.focused(true)); in isSearchRowSelected()
518 return row.hasObject(By.focused(true)); in isAppsRowSelected()
526 return row.hasObject(By.focused(true)); in isGamesRowSelected()
534 return row.hasObject(By.focused(true)); in isNotificationRowSelected()
606 By.res(getSupportedLauncherPackage(), "card").focused(true)); in findNotificationCard()
[all …]
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java72 Assert.assertNotNull(select(SELECTOR_TOP_ROW.hasDescendant(By.focused(true)), Direction.UP, in goTopRow()
96 selectBidirect(By.res(TVLAUNCHER_PACKAGE, "settings").focused(true), Direction.RIGHT)); in goToSettingsButton()
159 UiObject2 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
162 UiObject2 focused = focus; in select() local
164 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
168 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
171 if (focused.equals(focus)) { in select()