Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 12 of 12) sorted by relevance

/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIPhotosHelper.java122 public boolean scrollPicture(Direction direction); in scrollPicture() argument
132 public boolean scrollPage(Direction direction); in scrollPage() argument
DIGmailHelper.java171 public void scrollMailbox(Direction direction, float amount, boolean scrollToEnd); in scrollMailbox() argument
182 public void scrollEmail(Direction direction, float amount, boolean scrollToEnd); in scrollEmail() argument
238 default public void swipeEmail(Direction direction) { in swipeEmail() argument
DIGoogleMessengerHelper.java50 public void scrollMessages(Direction direction); in scrollMessages() argument
DIGoogleCameraHelper.java226 public void scrollAlbum(Direction direction); in scrollAlbum() argument
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java158 public UiObject2 select(BySelector selector, Direction direction, long timeoutMs) { in select() argument
161 Log.d(TAG, String.format("select: moving a focus from %s to %s", focus, direction)); in select()
163 mDPadUtil.pressDPad(direction); in select()
167 mDPadUtil.pressDPad(direction); in select()
183 public UiObject2 selectBidirect(BySelector selector, Direction direction) { in selectBidirect() argument
184 Log.d(TAG, String.format("selectBidirect [direction]%s", direction)); in selectBidirect()
185 UiObject2 object = select(selector, direction, SHORT_TIMEOUT); in selectBidirect()
187 object = select(selector, Direction.reverse(direction), SHORT_TIMEOUT); in selectBidirect()
/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil.java49 public boolean pressDPad(Direction direction) { in pressDPad() argument
50 return pressDPad(direction, 1, DPAD_DEFAULT_WAIT_TIME_MS); in pressDPad()
53 public void pressDPad(Direction direction, long repeat) { in pressDPad() argument
54 pressDPad(direction, repeat, DPAD_DEFAULT_WAIT_TIME_MS); in pressDPad()
66 public boolean pressDPad(Direction direction, long repeat, long timeout) { in pressDPad() argument
70 switch (direction) { in pressDPad()
/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
231 direction, focus.toString())); in select()
233 mDPadUtil.pressDPad(direction); in select()
252 public UiObject2 select(UiObject2 container, final BySelector selector, Direction direction) { in select() argument
258 }, container, direction); in select()
262 Direction direction) {
263 UiObject2 object = select(condition, container, direction);
265 object = select(condition, container, Direction.reverse(direction));
271 Direction direction) {
277 }, container, direction);
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DTvLauncherStrategy.java647 Direction direction = Direction.RIGHT;
648 UiObject2 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
650 direction = Direction.reverse(direction);
651 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
827 public UiObject2 select(final BySelector selector, Direction direction, long timeoutMs) {
833 }, direction, timeoutMs);
836 public UiObject2 select(UiCondition condition, Direction direction, long timeoutMs) {
840 focus, direction));
842 mDPadUtil.pressDPad(direction);
846 mDPadUtil.pressDPad(direction);
[all …]
DLeanbackLauncherStrategy.java587 protected UiObject2 findNotificationCard(BySelector selector, Direction direction) { in findNotificationCard() argument
588 if (direction != Direction.RIGHT && direction != Direction.LEFT) { in findNotificationCard()
612 mDPadUtil.pressDPad(direction); in findNotificationCard()
659 protected UiObject2 findRow(BySelector row, Direction direction) { in findRow() argument
660 if (direction != Direction.DOWN && direction != Direction.UP) { in findRow()
673 mDPadUtil.pressDPad(direction); in findRow()
704 protected UiObject2 findSettingInRow(BySelector selector, Direction direction) { in findSettingInRow() argument
705 if (direction != Direction.RIGHT && direction != Direction.LEFT) { in findSettingInRow()
720 mDPadUtil.pressDPad(direction); in findSettingInRow()
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/
DINewsHelper.java27 public void scrollPage(Direction direction); in scrollPage() argument
DIMapsHelper.java121 public default void swipeStreetView(Direction direction) { in swipeStreetView() argument
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/
DScrollable.java180 default void scroll(Direction direction, float percent, long durationMs) { in scroll() argument
193 scrollable.scroll(direction, percent / 100, scrollSpeed); in scroll()