/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 23 val bounds = Rect(rawBound) in calculateStartEndPoint() constant 24 bounds.inset(marginPx, marginPx) in calculateStartEndPoint() 25 val centerX = bounds.centerX() in calculateStartEndPoint() 26 val centerY = bounds.centerY() 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() [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/inputmethod/ |
D | SoftInputWindow.kt | 28 val bounds: Rect, constant in android.tools.traces.inputmethod.SoftInputWindow 32 return "${this::class.simpleName}: {windowState: $windowState, bounds: $bounds" in toString() 39 if (bounds != other.bounds) return false in equals() 47 result = 31 * result + bounds.hashCode() in hashCode()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | WindowConfiguration.kt | 30 val bounds: Rect = Rect(), constant in android.tools.traces.wm.WindowConfiguration 38 bounds.isEmpty && 50 if (bounds != other.bounds) return false in equals() 60 result = 31 * result + bounds.hashCode() in hashCode() 71 bounds: Rect?, in from() 78 bounds ?: Rect(), in from()
|
D | WindowContainerImpl.kt | 55 override val bounds: Rect = Rect() constant 96 if (bounds != other.bounds) return false in equals() 109 result = 31 * result + bounds.hashCode() in hashCode()
|
D | Task.kt | 31 override val bounds: Rect, in <lambda>() constant in android.tools.traces.wm.Task 122 return "${this::class.simpleName}: {$token $title} id=$taskId bounds=$bounds" in <lambda>() 131 if (bounds != other.bounds) return false in <lambda>() 152 result = 31 * result + bounds.hashCode() in <lambda>()
|
D | WindowContainer.kt | 44 val bounds: Rect constant
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | SplitAppLayerBoundsSnapToDivider.kt | 67 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in calculateExpectedDisplaySize() 72 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in calculateExpectedDisplaySize() 84 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2 in calculateExpectedDisplaySize() 89 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2, in calculateExpectedDisplaySize()
|
D | SplitAppLayerBoundsBecomesVisible.kt | 102 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in LayerTraceEntrySubject() 107 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in LayerTraceEntrySubject() 119 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2 in LayerTraceEntrySubject() 124 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2, in LayerTraceEntrySubject()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockLayerTraceEntryBuilder.kt | 29 private val bounds = Rect(0, 0, 1080, 1920) constant 45 MockLayerBuilder("Display").setAbsoluteBounds(bounds).addChildren(rootLayers).build() in <lambda>() 53 size = Size.from(bounds.width(), bounds.height()), in <lambda>() 54 layerStackSpace = bounds, in <lambda>()
|
D | MockLayerBuilder.kt | 61 fun setAbsoluteBounds(bounds: Rect): MockLayerBuilder = apply { this.absoluteBounds = bounds } in <lambda>() 79 bounds = absoluteBounds.toRectF(), in <lambda>()
|
D | MockLayerTraceBuilderTest.kt | 50 Truth.assertThat(mockLayer.children.first().bounds).isEqualTo(mockLayer.bounds) in childrenLayerInheritsParentBounds()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/view/ |
D | ViewNode.kt | 35 val bounds: Rect, constant in android.tools.traces.view.ViewNode 53 if (bounds != other.bounds) return false in equals() 71 result = 31 * result + bounds.hashCode() in hashCode() 85 "ViewNode(classNameIndex=$classNameIndex, hashCode=$hashcode, id='$id', bounds=$bounds)" in toString() 92 bounds: Rect, in toString() 107 bounds, in toString()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 201 Rect bounds = getScreenBounds(); in longPressScreenCenter() local 202 int xCenter = bounds.centerX(); in longPressScreenCenter() 203 int yCenter = bounds.centerY(); in longPressScreenCenter() 516 Rect bounds = getScreenBounds(); in swipe() local 518 List<Point> swipePoints = getPointsToSwipe(bounds, swipeDirection, swipeFraction); in swipe() 551 Rect bounds, SwipeDirection swipeDirection, SwipeFraction swipeFraction) { in getPointsToSwipe() argument 570 padXStart = bounds.right / 4; in getPointsToSwipe() 571 padYStart = bounds.bottom / 4; in getPointsToSwipe() 574 padXStart = bounds.centerX(); in getPointsToSwipe() 575 padYStart = bounds.centerY(); in getPointsToSwipe() [all …]
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/ |
D | LayerTest.kt | 90 bounds = RectF(), in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility() 99 bounds = RectF(0f, 0f, 100f, 100f), in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility() 109 bounds = RectF(), in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility() 121 bounds: RectF = RectF(), in makeLayerWithDefaults() 132 bounds, in makeLayerWithDefaults()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | LayerProperties.kt | 32 override val bounds: RectF = RectF(), constant in android.tools.traces.surfaceflinger.LayerProperties 55 result = 31 * result + bounds.hashCode() in hashCode() 78 "flags=$flags, bounds=$bounds, color=$color, _isOpaque=$_isOpaque, " + in toString() 96 if (bounds != other.bounds) return false in equals() 126 bounds: RectF, in from() 148 bounds, in from()
|
D | Layer.kt | 101 Region(this.bounds.toRect()) 139 if (bounds.isEmpty) reasons.add("Bounds is 0x0") 140 if (bounds.isEmpty && crop.isEmpty) reasons.add("Crop is 0x0") 259 if (bounds != other.bounds) return false in equals() 283 result = 31 * result + bounds.hashCode() in hashCode() 324 bounds: RectF, in from() 347 bounds, in from()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | ViewCapture.kt | 241 var bounds = getBoundsInSurface() in generateBitmapFromPixelCopy() variable 243 bounds = in generateBitmapFromPixelCopy() 245 bounds.left + rect.left, in generateBitmapFromPixelCopy() 246 bounds.top + rect.top, in generateBitmapFromPixelCopy() 247 bounds.left + rect.right, in generateBitmapFromPixelCopy() 248 bounds.top + rect.bottom, in generateBitmapFromPixelCopy() 261 bounds, in generateBitmapFromPixelCopy() 288 val bounds = Rect(x, y, x + width, y + height) in getBoundsInSurface() constant 290 Log.d("ViewCapture", "getBoundsInSurface $bounds") in getBoundsInSurface() 292 return bounds in getBoundsInSurface()
|
/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/ |
D | TaplUiObject.kt | 100 val bounds: Rect = getVisibleBoundsForGestures() in scroll() constant 102 BetterScroll.scroll(bounds, swipeDirection, segment) in scroll() 141 val bounds: Rect = getVisibleBoundsForGestures() in fling() constant 142 BetterFling.fling(bounds, gestureDirection, percentage = percent) in fling()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/ |
D | RegionSubject.kt | 260 val testArea = other.bounds.area in <lambda>() 261 val area = region.bounds.area in <lambda>() 278 val horizontallyPositionedToTheRight = other.bounds.left - threshold <= region.bounds.left in <lambda>() 279 val verticallyPositionedToTheBottom = other.bounds.top - threshold <= region.bounds.top in <lambda>() 305 if (!other.contains(region.bounds.centerX(), region.bounds.centerY())) { in <lambda>() 306 val center = Point(region.bounds.centerX(), region.bounds.centerY()) in <lambda>() 396 val thisBounds = this.region.bounds in <lambda>() 397 val otherBounds = other.bounds in <lambda>() 453 val thisValue = valueProvider(region.bounds) in <lambda>() 454 val otherValue = valueProvider(other.bounds) in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | DrawableFeatureCaptures.kt | 28 val bounds = FeatureCapture<Drawable, Rect>("bounds") { it.bounds.asDataPoint() } in <lambda>() constant
|
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/ |
D | INewsHelper.java | 46 public default void scrollPage(Rect bounds, Direction dir, float percent) { in scrollPage() argument
|
D | IMapsHelper.java | 159 public default void scrollPage(Rect bounds, Direction dir, float percent) { in scrollPage() argument
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 233 Rect bounds = scrollable.getVisibleBounds(); in calcScrollSpeed() local 235 int scrollSpeed = (int) (bounds.height() / durationSeconds); in calcScrollSpeed()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 287 Rect bounds = btn.getVisibleBounds(); in moveScannerCheckButton() local 288 int origX = bounds.centerX(); in moveScannerCheckButton() 289 int origY = bounds.centerY(); in moveScannerCheckButton() 290 int buttonWidth = bounds.width(); in moveScannerCheckButton() 291 int buttonHeight = bounds.height(); in moveScannerCheckButton()
|
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 95 val testRect = testRegion.bounds in Region() 118 val testRect = testRegion.bounds in Region()
|