/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/ |
D | TaplUiObject.kt | 87 fun scroll(direction: Direction, percent: Float, verifyIsScrollable: Boolean = false) { in scroll() 93 require(percent >= 0.0f) { "Percent must be greater than 0.0f" } in scroll() 94 require(percent <= 1.0f) { "Percent must be less than 1.0f" } in scroll() 101 val segment = Math.min(percent, 1.0f) in scroll() 116 percent: Float, in scrollWithFling() 120 fling(Direction.reverse(scrollDirection), percent, verifyIsScrollable) in scrollWithFling() 132 fun fling(gestureDirection: Direction, percent: Float, verifyIsScrollable: Boolean = false) { in fling() 138 require(percent >= 0.0f) { "Percent must be at least 0.0f" } in fling() 139 require(percent <= 1.0f) { "Percent must be at most 1.0f" } in fling() 142 BetterFling.fling(bounds, gestureDirection, percentage = percent) in fling()
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoMapsHelper.java | 110 void swipeUp(float percent, long durationMs); in swipeUp() argument 121 void swipeDown(float percent, long durationMs); in swipeDown() argument 132 void swipeLeft(float percent, long durationMs); in swipeLeft() argument 143 void swipeRight(float percent, long durationMs); in swipeRight() argument 156 void scale(float percent, long durationMs); in scale() argument
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 20 percent: Float = 1.0f, in calculateStartEndPoint() 30 Point(bounds.right - (bounds.width() * percent).toInt(), centerY) in calculateStartEndPoint() 34 Point(bounds.left + (bounds.width() * percent).toInt(), centerY) in calculateStartEndPoint() 38 Point(centerX, bounds.bottom - (bounds.height() * percent).toInt()) in calculateStartEndPoint() 42 Point(centerX, bounds.top + (bounds.height() * percent).toInt()) in calculateStartEndPoint()
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 74 public default void scrollUp(float percent, long durationMs) { in scrollUp() argument 75 scroll(Direction.UP, percent, durationMs); in scrollUp() 110 public default void scrollDown(float percent, long durationMs) { in scrollDown() argument 111 scroll(Direction.DOWN, percent, durationMs); in scrollDown() 200 default void scroll(Direction direction, float percent, long durationMs) { in scroll() argument 213 scrollable.scroll(direction, percent / 100, scrollSpeed); in scroll()
|
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/ |
D | INewsHelper.java | 46 public default void scrollPage(Rect bounds, Direction dir, float percent) { in scrollPage() argument
|
D | IMapsHelper.java | 159 public default void scrollPage(Rect bounds, Direction dir, float percent) { in scrollPage() argument
|
D | IYouTubeHelper.java | 194 public default void swipePage(UiObject2 container, Direction dir, float percent) { in swipePage() argument
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | IPhotosHelper.java | 164 public void scrollPhotosGridBySwiping(UiObject2 container, Direction direction, float percent); in scrollPhotosGridBySwiping() argument
|
D | IChromeHelper.java | 254 public default void scrollPage(Direction dir, float percent) { in scrollPage() argument
|
D | INotificationHelper.java | 455 default void scrollFeed(UiObject2 container, Direction dir, float percent) { in scrollFeed() argument
|