Searched refs:centerX (Results 1 – 11 of 11) sorted by relevance
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 25 val centerX = bounds.centerX() in calculateStartEndPoint() constant 37 Point(centerX, bounds.bottom) to in calculateStartEndPoint() 38 Point(centerX, bounds.bottom - (bounds.height() * percent).toInt()) in calculateStartEndPoint() 41 Point(centerX, bounds.top) to in calculateStartEndPoint() 42 Point(centerX, bounds.top + (bounds.height() * percent).toInt()) in calculateStartEndPoint()
|
D | UiObjectUtils.kt | 38 .that(this.stableBounds.centerX()) in assertInHorizontalCentre() 85 .that(this.stableBounds.centerX() > uiDevice.displayWidth / 2) in assertCenterOnTheRightSide() 92 .that(this.stableBounds.centerX() < uiDevice.displayWidth / 2) in assertCenterOnTheLeftSide()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | AppWindowHasDesktopModeInitialBoundsAtTheEnd.kt | 42 displayBounds.centerX() - outBounds.centerX(), 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 | 98 val startX = navBarVisibleBounds.centerX() in openQuickstep() 111 endX = navBarVisibleBounds.centerX() in openQuickstep() 312 divider.visibleBounds.centerX(), in resizeSplitScreen()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MediaController.java | 194 startX = (bound.right + bound.centerX()) / 2; in swipe() 198 startX = (bound.left + bound.centerX()) / 2; in swipe()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 202 int xCenter = bounds.centerX(); in longPressScreenCenter() 574 padXStart = bounds.centerX(); in getPointsToSwipe() 600 xStart = bounds.centerX(); in getPointsToSwipe() 601 xFinish = bounds.centerX(); in getPointsToSwipe() 608 xStart = bounds.centerX(); in getPointsToSwipe() 609 xFinish = bounds.centerX(); in getPointsToSwipe()
|
/platform_testing/libraries/uinput-device-test-helper/src/android/platform/helpers/uinput/ |
D | UInputStylus.kt | 134 var xCoordinate: Int = uiObject.visibleBounds.centerX() * 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/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 288 int origX = bounds.centerX(); in moveScannerCheckButton() 319 return new Point(origRect.centerX(), destY); in calculateDest()
|
/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>()
|