Searched refs:centerY (Results 1 – 12 of 12) sorted by relevance
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 26 val centerY = bounds.centerY() in calculateStartEndPoint() constant 29 Point(bounds.right, centerY) to in calculateStartEndPoint() 30 Point(bounds.right - (bounds.width() * percent).toInt(), centerY) in calculateStartEndPoint() 33 Point(bounds.left, centerY) to in calculateStartEndPoint() 34 Point(bounds.left + (bounds.width() * percent).toInt(), centerY) in calculateStartEndPoint()
|
D | UiObjectUtils.kt | 31 .that(this.stableBounds.centerY()) in <lambda>() 48 .that(this.stableBounds.centerY() > uiDevice.displayHeight / 2) in assertCentreOnBottomSide() 58 .that(this.stableBounds.centerY() < uiDevice.displayHeight / 2) in assertCentreOnTopSide()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | AppWindowHasDesktopModeInitialBoundsAtTheEnd.kt | 43 displayBounds.centerY() - outBounds.centerY() in doEvaluate()
|
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/ |
D | YouTubeAppHelper.kt | 69 uiDevice.click(playerRect.centerX(), playerRect.centerY()) in displayControls() 79 uiDevice.click(playerRect.centerX(), playerRect.centerY()) in displayControls()
|
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/ |
D | AutomationUtils.kt | 99 val startY = navBarVisibleBounds.centerY() in openQuickstep() 107 endY = navBarVisibleBounds.centerY() in openQuickstep() 313 divider.visibleBounds.centerY(), in resizeSplitScreen()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MediaController.java | 205 return mDevice.swipe(startX, bound.centerY(), endX, bound.centerY(), 10); in swipe()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 203 int yCenter = bounds.centerY(); in longPressScreenCenter() 575 padYStart = bounds.centerY(); in getPointsToSwipe() 588 yStart = bounds.centerY(); in getPointsToSwipe() 589 yFinish = bounds.centerY(); in getPointsToSwipe() 595 yStart = bounds.centerY(); in getPointsToSwipe() 596 yFinish = bounds.centerY(); in getPointsToSwipe()
|
/platform_testing/libraries/uinput-device-test-helper/src/android/platform/helpers/uinput/ |
D | UInputStylus.kt | 135 var yCoordinate: Int = uiObject.visibleBounds.centerY() * SCALING_FACTOR in tapOnObject()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | SeekUtility.java | 115 Point clickLocation = new Point(seekBounds.centerX(), seekBounds.centerY()); in seek()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/ |
D | RegionSubject.kt | 305 if (!other.contains(region.bounds.centerX(), region.bounds.centerY())) { in <lambda>() 306 val center = Point(region.bounds.centerX(), region.bounds.centerY()) in <lambda>()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 289 int origY = bounds.centerY(); in moveScannerCheckButton()
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
D | SystemUiJankTests.java | 676 mDevice.swipe(bounds.left, bounds.centerY(), in testChangeBrightness() 677 bounds.right, bounds.centerY(), BRIGHTNESS_SCROLL_STEPS); in testChangeBrightness()
|