Home
last modified time | relevance | path

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

/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIPhotosHelper.java125 public boolean scrollPicture(Direction direction); in scrollPicture() argument
135 public boolean scrollPage(Direction direction); in scrollPage() argument
151 UiObject2 container, Direction direction, float percentOfPhotoSize, int speed); in scrollPhotosGrid() argument
164 public void scrollPhotosGridBySwiping(UiObject2 container, Direction direction, float percent); in scrollPhotosGridBySwiping() 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
252 default public void swipeEmail(Direction direction) { in swipeEmail() argument
DIGoogleMessengerHelper.java50 public void scrollMessages(Direction direction); in scrollMessages() argument
DIGoogleCameraHelper.java270 public void scrollAlbum(Direction direction); in scrollAlbum() argument
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java164 public UiObject2 select(BySelector selector, Direction direction, long timeoutMs) { in select() argument
167 Log.d(TAG, String.format("select: moving a focus from %s to %s", focus, direction)); in select()
169 mDPadUtil.pressDPad(direction); in select()
173 mDPadUtil.pressDPad(direction); in select()
189 public UiObject2 selectBidirect(BySelector selector, Direction direction) { in selectBidirect() argument
190 Log.d(TAG, String.format("selectBidirect [direction]%s", direction)); in selectBidirect()
191 UiObject2 object = select(selector, direction, SHORT_TIMEOUT); in selectBidirect()
193 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.java659 Direction direction = Direction.RIGHT;
660 UiObject2 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
662 direction = Direction.reverse(direction);
663 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
839 public UiObject2 select(final BySelector selector, Direction direction, long timeoutMs) {
845 }, direction, timeoutMs);
848 public UiObject2 select(UiCondition condition, Direction direction, long timeoutMs) {
852 focus, direction));
854 mDPadUtil.pressDPad(direction);
858 mDPadUtil.pressDPad(direction);
[all …]
DLeanbackLauncherStrategy.java606 protected UiObject2 findNotificationCard(BySelector selector, Direction direction) { in findNotificationCard() argument
607 if (direction != Direction.RIGHT && direction != Direction.LEFT) { in findNotificationCard()
631 mDPadUtil.pressDPad(direction); in findNotificationCard()
678 protected UiObject2 findRow(BySelector row, Direction direction) { in findRow() argument
679 if (direction != Direction.DOWN && direction != Direction.UP) { in findRow()
692 mDPadUtil.pressDPad(direction); in findRow()
723 protected UiObject2 findSettingInRow(BySelector selector, Direction direction) { in findSettingInRow() argument
724 if (direction != Direction.RIGHT && direction != Direction.LEFT) { in findSettingInRow()
739 mDPadUtil.pressDPad(direction); in findSettingInRow()
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/
DIYouTubeHelper.java165 public void scrollHomePage(Direction direction); in scrollHomePage() argument
174 public void scrollLibraryPage(Direction direction); in scrollLibraryPage() argument
DIContactsHelper.java73 public default void flingPage(Direction direction) { in flingPage() argument
DINewsHelper.java29 public void scrollPage(Direction direction); in scrollPage() argument
DIMapsHelper.java141 public default void swipeStreetView(Direction direction) { in swipeStreetView() argument
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/
DIFacebookAppHelper.java28 public void scrollNewsfeed(Direction direction, int count); in scrollNewsfeed() argument
DFacebookAppHelperImpl.java143 public void scrollNewsfeed(Direction direction, int count) { in scrollNewsfeed() argument
149 newsfeedList.fling(direction); in scrollNewsfeed()
/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()
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java170 private boolean scroll(Direction direction, float percent, long timeMs, int index) { in scroll() argument
195 if (direction == Direction.UP) { in scroll()
197 } else if (direction == Direction.DOWN) { in scroll()
210 scrollable.scroll(direction, percent / 100, scrollSpeed); in scroll()