Searched refs:selector (Results 1 – 4 of 4) sorted by relevance
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/ |
D | AbstractLeanbackAppHelper.java | 252 public UiObject2 select(UiObject2 container, final BySelector selector, Direction direction) { in select() argument 256 return focus.hasObject(selector); in select() 270 public UiObject2 selectBidirect(final BySelector selector, UiObject2 container, 275 return focus.hasObject(selector); 318 BySelector selector = By.res(getPackage(), "guidedactions_item_title").text(action); 319 UiObject2 focused = select(container, selector, Direction.DOWN); 323 focused = select(container, selector, Direction.UP); 430 BySelector selector = getMainActivitySelector(); 431 if (selector == null) { 434 while (!mDevice.wait(Until.hasObject(selector), MAIN_ACTIVITY_WAIT_TIME_MS)
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
D | SystemUiJankTests.java | 158 public UiObject2 select(BySelector selector, Direction direction, long timeoutMs) { in select() argument 160 while (!mDevice.wait(Until.hasObject(selector), timeoutMs)) { in select() 183 public UiObject2 selectBidirect(BySelector selector, Direction direction) { in selectBidirect() argument 185 UiObject2 object = select(selector, direction, SHORT_TIMEOUT); in selectBidirect() 187 object = select(selector, Direction.reverse(direction), SHORT_TIMEOUT); in selectBidirect()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | LeanbackLauncherStrategy.java | 567 protected UiObject2 findNotificationCard(BySelector selector) { in findNotificationCard() argument 571 if ((card = findNotificationCard(selector, Direction.RIGHT)) != null) { in findNotificationCard() 574 if ((card = findNotificationCard(selector, Direction.LEFT)) != null) { in findNotificationCard() 587 protected UiObject2 findNotificationCard(BySelector selector, Direction direction) { in findNotificationCard() argument 609 if (currentFocus.hasObject(selector)) { in findNotificationCard() 704 protected UiObject2 findSettingInRow(BySelector selector, Direction direction) { in findSettingInRow() argument 716 if ((setting = currentFocused.findObject(selector)) != null) { in findSettingInRow()
|
D | TvLauncherStrategy.java | 827 public UiObject2 select(final BySelector selector, Direction direction, long timeoutMs) { 831 return mDevice.hasObject(selector); 862 public UiObject2 selectBidirect(BySelector selector, Direction direction) { 864 UiObject2 object = select(selector, direction, UI_TRANSITION_WAIT_TIME_MS); 866 object = select(selector, Direction.reverse(direction), UI_TRANSITION_WAIT_TIME_MS);
|