Home
last modified time | relevance | path

Searched refs:centerY (Results 1 – 12 of 12) sorted by relevance

/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DSwipeUtils.kt26 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()
DUiObjectUtils.kt31 .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/
DAppWindowHasDesktopModeInitialBoundsAtTheEnd.kt43 displayBounds.centerY() - outBounds.centerY() 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.kt99 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/
DMediaController.java205 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/
DSpectatioUiUtil.java203 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/
DUInputStylus.kt135 var yCoordinate: Int = uiObject.visibleBounds.centerY() * 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/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>()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java289 int origY = bounds.centerY(); in moveScannerCheckButton()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java676 mDevice.swipe(bounds.left, bounds.centerY(), in testChangeBrightness()
677 bounds.right, bounds.centerY(), BRIGHTNESS_SCROLL_STEPS); in testChangeBrightness()