Home
last modified time | relevance | path

Searched refs:centerX (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DSwipeUtils.kt25 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()
DUiObjectUtils.kt38 .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/
DAppWindowHasDesktopModeInitialBoundsAtTheEnd.kt42 displayBounds.centerX() - outBounds.centerX(), in doEvaluate()
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/
DYouTubeAppHelper.kt69 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/
DAutomationUtils.kt98 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/
DMediaController.java194 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/
DSpectatioUiUtil.java202 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/
DUInputStylus.kt134 var xCoordinate: Int = uiObject.visibleBounds.centerX() * SCALING_FACTOR in tapOnObject()
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/
DSeekUtility.java115 Point clickLocation = new Point(seekBounds.centerX(), seekBounds.centerY()); in seek()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java288 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/
DRegionSubject.kt305 if (!other.contains(region.bounds.centerX(), region.bounds.centerY())) { in <lambda>()
306 val center = Point(region.bounds.centerX(), region.bounds.centerY()) in <lambda>()