Home
last modified time | relevance | path

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

12

/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.java173 public void scrollMailbox(Direction direction, float amount, boolean scrollToEnd); in scrollMailbox() argument
184 public void scrollEmail(Direction direction, float amount, boolean scrollToEnd); in scrollEmail() argument
254 public default void swipeEmail(Direction direction) { in swipeEmail() argument
DIGoogleMessengerHelper.java50 public void scrollMessages(Direction direction); in scrollMessages() 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/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DBetterScroll.kt31 direction: Direction, in scroll()
34 val (start, stop) = calculateStartEndPoint(rect, direction, percentage) in scroll()
39 Until.scrollFinished(Direction.reverse(direction)), in scroll()
DBetterFling.kt52 direction: Direction, in fling()
58 calculateStartEndPoint(rect, direction, percentage, marginDp.dpToPx().toInt()) in fling()
63 Until.scrollFinished(Direction.reverse(direction)), in fling()
DUiObjectUtils.kt138 direction: Direction = Direction.DOWN, in scrollUntilFound()
141 val (from, to) = getPointsToScroll(direction)
152 private fun UiObject2.getPointsToScroll(direction: Direction): Vector2F { in getPointsToScroll()
153 return when (direction) { in getPointsToScroll()
DSwipeUtils.kt19 direction: Direction, in calculateStartEndPoint()
27 return when (direction) { in calculateStartEndPoint()
/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil2.java50 public boolean pressDPad(Direction direction) { in pressDPad() argument
51 return pressDPad(direction, 1, DPAD_DEFAULT_WAIT_TIME_MS); in pressDPad()
54 public void pressDPad(Direction direction, long repeat) { in pressDPad() argument
55 pressDPad(direction, repeat, DPAD_DEFAULT_WAIT_TIME_MS); in pressDPad()
67 public boolean pressDPad(Direction direction, long repeat, long timeout) { in pressDPad() argument
71 switch (direction) { in pressDPad()
DDPadUtil.java51 public boolean pressDPad(Direction direction) { in pressDPad() argument
52 return pressDPad(direction, 1, DPAD_DEFAULT_WAIT_TIME_MS); in pressDPad()
55 public void pressDPad(Direction direction, long repeat) { in pressDPad() argument
56 pressDPad(direction, repeat, DPAD_DEFAULT_WAIT_TIME_MS); in pressDPad()
68 public boolean pressDPad(Direction direction, long repeat, long timeout) { in pressDPad() argument
72 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/launcherhelper2/
DTvLauncherStrategy.java627 Direction direction = Direction.RIGHT;
628 UiObject2 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
630 direction = Direction.reverse(direction);
631 app = select(appSelector, direction, UI_TRANSITION_WAIT_TIME_MS);
815 public UiObject2 select(final BySelector selector, Direction direction, long timeoutMs) {
823 direction,
827 public UiObject2 select(UiCondition condition, Direction direction, long timeoutMs) {
833 "conditional select: moving a focus from %s to %s", focus, direction));
835 mDPadUtil.pressDPad(direction);
839 mDPadUtil.pressDPad(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 …]
/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
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/apps/
DISettingsAllAppsHelper.java26 void flingAllApps(Direction direction); in flingAllApps() argument
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/display/
DISettingsDisplaySizeAndTextHelper.java26 void flingDisplaySizeAndText(Direction direction); in flingDisplaySizeAndText() argument
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/connected_devices/
DISettingsUsbPreferencesHelper.java26 void flingUsbPreferences(Direction direction); in flingUsbPreferences() argument
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/sound_and_vibration/
DISettingsPhoneRingtoneHelper.java26 void flingPhoneRingtone(Direction direction); in flingPhoneRingtone() argument
DISettingsSoundAndVibrationHelper.java27 void flingSoundAndVibration(Direction direction); in flingSoundAndVibration() argument
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/network_and_internet/
DISettingsInternetHelper.java26 void flingInternet(Direction direction); in flingInternet() argument
DISettingsNetworkAndInternetHelper.java27 void flingNetworkAndInternet(Direction direction); in flingNetworkAndInternet() argument
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/accessibility/
DISettingsAccessibilityHelper.java27 void flingAccessibility(Direction direction); in flingAccessibility() argument
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/storage/
DISettingsStorageHelper.java27 void flingStorage(Direction direction); in flingStorage() argument
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/notifications/
DISettingsNotificationsHelper.java27 void flingNotifications(Direction direction); in flingNotifications() argument
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/
DIFacebookAppHelper.java28 public void scrollNewsfeed(Direction direction, int count); in scrollNewsfeed() argument

12