/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 3 import android.graphics.Point 22 ): Pair<Point, Point> { in calculateStartEndPoint() 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() 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 | BetterSwipe.kt | 19 import android.graphics.Point in <lambda>() 69 @JvmStatic fun from(start: Point) = Swipe(PointF(start.x.toFloat(), start.y.toFloat())) in <lambda>() 119 end: Point, in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | DataPointTypes.kt | 19 import android.graphics.Point in <lambda>() 27 fun Point.asDataPoint() = DataPointTypes.point.makeDataPoint(this) in <lambda>() method 31 val point: DataPointType<Point> = in <lambda>() 36 Point(getInt("x"), getInt("y")) in <lambda>() 45 ensureImmutable = { Point(it) } in <lambda>()
|
D | ViewFeatureCaptures.kt | 19 import android.graphics.Point in <lambda>() 48 FeatureCapture<View, Point>("pos") { view -> in view() 52 Point() in view()
|
/platform_testing/libraries/motion/tests/src/platform/test/motion/view/ |
D | DataPointTypesTest.kt | 19 import android.graphics.Point 38 assertThat(point).convertsJsonObject(Point(/* x = */ 1, /* y = */ 2), """{"x":1, "y": 2}""") in point_fromToJson() 43 val native = Point(/* x = */ 1, /* y = */ 2) in point_dataPoint_isImmutable()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | SeekUtility.java | 19 import android.graphics.Point; 115 Point clickLocation = new Point(seekBounds.centerX(), seekBounds.centerY()); in seek()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/view/ |
D | ViewNode.kt | 19 import android.graphics.Point 36 val scroll: Point, 93 scroll: Point, in toString()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/ |
D | ViewFrameBuilder.kt | 19 import android.graphics.Point 48 scroll = Point(node.scrollX, node.scrollY), in parseViewNode()
|
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/ |
D | AutomationUtils.kt | 21 import android.graphics.Point 268 Point(0, this.displayWidth / 2) in UiDevice() 270 Point(this.displayWidth / 2, 0) in UiDevice() 290 Point(this.displayWidth, this.displayWidth / 2) in exitSplitScreenFromBottom() 292 Point(this.displayWidth / 2, this.displayHeight) in exitSplitScreenFromBottom()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | LockscreenHelper.java | 25 import android.graphics.Point; 380 Point[] coordinateArray = new Point[unlockPattern.length()]; in unlockDeviceWithPattern() 399 Point[] coordinateArray = new Point[unlockPattern.length()]; in enterPatternLockOnceForSettingLock() 444 private Point calculateCoordinatesForPatternDot(char dotNumber, String lockPatternResId) { in calculateCoordinatesForPatternDot() 473 return new Point(xCoordinate, yCoordinate); in calculateCoordinatesForPatternDot()
|
D | QuickSettingsHelper.java | 25 import android.graphics.Point; 145 Point destination = mDevice.wait(Until.findObject in addQuickSettingTileFromEditMenu()
|
D | OverviewHelper.java | 25 import android.graphics.Point; 190 appObject.drag(new Point(xCoordinate, yCoordinate), 1000); in dockAppToTopMultiwindowSlot()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 20 import android.graphics.Point; 251 public void clickAndWait(Point location) { in clickAndWait() 518 List<Point> swipePoints = getPointsToSwipe(bounds, swipeDirection, swipeFraction); in swipe() 520 Point startPoint = swipePoints.get(0); in swipe() 521 Point finishPoint = swipePoints.get(1); in swipe() 550 private List<Point> getPointsToSwipe( in getPointsToSwipe() 615 List<Point> swipePoints = new ArrayList<>(); in getPointsToSwipe() 617 swipePoints.add(new Point(xStart, yStart)); in getPointsToSwipe() 619 swipePoints.add(new Point(xFinish, yFinish)); in getPointsToSwipe() 625 Point dimensions = mDevice.getDisplaySizeDp(); in getScreenBounds()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/ |
D | UnfoldAnimationTestingUtils.kt | 3 import android.graphics.Point in <lambda>() 102 data class Icon(val name: String, val position: Point) in <lambda>()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 22 import android.graphics.Point; 261 Point dest = calculateDest(origBounds, avoidBounds); in adjustScannerButton() 293 btn.drag(new Point(locX, locY)); in moveScannerCheckButton() 313 private Point calculateDest(Rect origRect, Rect avoidRect) { in calculateDest() 319 return new Point(origRect.centerX(), destY); in calculateDest()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/ |
D | NexusLauncherStrategy.java | 18 import android.graphics.Point; 120 Point start = hotseat.getVisibleCenter(); in openAllApps()
|
D | BaseLauncher3Strategy.java | 18 import android.graphics.Point; 106 Point start = hotseat.getVisibleCenter(); in openAllApps()
|
D | LeanbackLauncherStrategy.java | 22 import android.graphics.Point; 400 Point currentPosition = focusedIcon.getVisibleCenter(); in launchApp() 401 Point targetPosition = appIcon.getVisibleCenter(); in launchApp()
|
D | TvLauncherStrategy.java | 24 import android.graphics.Point; 592 Point currentPosition = focused.getVisibleCenter(); 593 Point targetPosition = expected.getVisibleCenter();
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | NexusLauncherStrategy.java | 18 import android.graphics.Point; 128 Point start = hotseat.getVisibleCenter(); in openAllApps()
|
D | BaseLauncher3Strategy.java | 18 import android.graphics.Point; 113 Point start = hotseat.getVisibleCenter(); in openAllApps()
|
D | LeanbackLauncherStrategy.java | 22 import android.graphics.Point; 438 Point currentPosition = focusedIcon.getVisibleCenter(); in launchApp() 439 Point targetPosition = appIcon.getVisibleCenter(); in launchApp()
|
D | TvLauncherStrategy.java | 24 import android.graphics.Point; 623 Point currentPosition = focused.getVisibleCenter(); 624 Point targetPosition = expected.getVisibleCenter();
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | OverviewHelper.java | 24 import android.graphics.Point; 143 appObject.drag(new Point(xCoordinate, yCoordinate), 1000); in dockAppToTopMultiwindowSlot()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ |
D | CommonUtils.java | 34 import android.graphics.Point; 380 Point sizeDp = getUiDevice().getDisplaySizeDp(); in isLargeScreen()
|