/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 41 val newRight = minOf(right, crop.right) in emptyColor() 48 return this.left < this.right && in RectF() 52 (right >= r.right || abs(right - r.right) < threshold) && in RectF() 56 fun Rect.intersection(r: Rect): Rect = intersection(r.left, r.top, r.right, r.bottom) in Rect() 70 fun Rect.intersection(left: Int, top: Int, right: Int, bottom: Int): Rect { in Rect() 71 if (this.left < right && left < this.right && this.top <= bottom && top <= this.bottom) { in Rect() 74 var intersectionRight = this.right in Rect() 83 if (this.right > right) { in Rect() 84 intersectionRight = right in Rect()
|
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/ |
D | RotationUtils.kt | 38 Insets.of(insets.top, insets.right, insets.bottom, insets.left) in rotateInsets() 40 Insets.of(insets.right, insets.bottom, insets.left, insets.top) in rotateInsets() 42 Insets.of(insets.bottom, insets.left, insets.top, insets.right) in rotateInsets() 77 /* top */ parentWidth - inBounds.right, in rotateBounds() 83 /* left */ parentWidth - inBounds.right, in rotateBounds() 91 /* bottom */ inBounds.right, in rotateBounds() 104 rotateBounds(inBounds, parentBounds.right, parentBounds.bottom, rotation) in rotateBounds()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | SplitAppLayerBoundsBecomesVisible.kt | 102 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in LayerTraceEntrySubject() 107 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in LayerTraceEntrySubject() 109 activeDisplay.layerStackSpace.right, in LayerTraceEntrySubject() 118 activeDisplay.layerStackSpace.right, in LayerTraceEntrySubject() 125 activeDisplay.layerStackSpace.right, in LayerTraceEntrySubject()
|
D | SplitAppLayerBoundsSnapToDivider.kt | 67 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in calculateExpectedDisplaySize() 72 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in calculateExpectedDisplaySize()
|
/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/ |
D | TaplUiObject.kt | 45 fun setGestureMargins(left: Int, top: Int, right: Int, bottom: Int) { in setGestureMargins() 48 mMarginRight = right in setGestureMargins() 57 ret.right = ret.right - mMarginRight in getVisibleBoundsForGestures()
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 148 public default void setScrollableMargin(int left, int top, int right, int bottom) { in setScrollableMargin() argument 165 public Margin(int left, int top, int right, int bottom) { in Margin() argument 168 mRight = right; in Margin()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | SeekUtility.java | 123 int right = seekBounds.right - SEEK_BOUNDS_BUFFER; in seek() local 125 clickLocation.x = (int) ((right - left) * targetPercentage + left); in seek()
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 29 Point(bounds.right, centerY) to in calculateStartEndPoint() 30 Point(bounds.right - (bounds.width() * percent).toInt(), centerY) in calculateStartEndPoint()
|
D | UiObjectUtils.kt | 112 .that(this.stableBounds.right <= uiDevice.displayWidth / 2) in assertOnTheLeftSide() 169 PointF(visibleBounds.right.toFloat() - 1f, visibleBounds.exactCenterY()) in getPointsToScroll() 174 PointF(visibleBounds.right.toFloat() - 1f, visibleBounds.exactCenterY()), in getPointsToScroll()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/test/widgets/ |
D | HookWidget.java | 108 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument 110 super.onLayout(changed, left, top, right, bottom); in onLayout()
|
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/ |
D | SimpleSurfaceGLActivity.java | 49 view.setPadding(insets.left, insets.top, insets.right, insets.bottom); in onCreate()
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | DataPointTypes.kt | 60 put("right", it.right) in <lambda>()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MediaController.java | 194 startX = (bound.right + bound.centerX()) / 2; in swipe() 199 endX = bound.right; in swipe()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | Transform.kt | 146 val rightTop = multiplyVec2(matrix, rect.right, rect.top) in multiplyRect() 148 val rightBottom = multiplyVec2(matrix, rect.right, rect.bottom) in multiplyRect()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | LayersTraceParser.kt | 267 val right = crop.getChild("right")?.getInt() ?: 0 in <lambda>() constant 273 if (right == -1 && left == 0 && bottom == -1 && top == 0) { in <lambda>() 277 return RectF(left.toFloat(), top.toFloat(), right.toFloat(), bottom.toFloat()) in <lambda>()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/ |
D | BitmapMatcher.kt | 113 val endX = region.right.coerceIn(0, width - 1) in <lambda>()
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/matchers/ |
D | AlmostPerfectMatcherTest.kt | 139 val colInRange = j >= interestingRegion.left && j <= interestingRegion.right in performDiff_sameSize_partialCompare_checkDiffImage()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/ |
D | RegionSubject.kt | 184 { it.right }, in <lambda>() 431 assertEquals("right", Region(displayRect)) { it.right } in <lambda>() 476 assertEquals("right", other) { it.right } in <lambda>()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 570 padXStart = bounds.right / 4; in getPointsToSwipe() 578 padXStart = bounds.right / 4 * 3; in getPointsToSwipe() 587 xFinish = bounds.right - padXFinish; in getPointsToSwipe() 593 xStart = bounds.right - padXStart; in getPointsToSwipe()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | ScreenshotTestRule.kt | 298 for (x in rect.left until rect.right) { in <lambda>() 305 bitmap.setPixel(rect.right - 1, y, color) in <lambda>()
|
D | ViewCapture.kt | 247 bounds.left + rect.right, in generateBitmapFromPixelCopy()
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | RecentsTests.java | 117 calcBounds.right, calcBounds.top + calcBounds.height() / 2, 5); in testSwipeItemAwayFromRecents()
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/ |
D | PixelPerfectMatcherTest.kt | 180 val colInRange = j >= interestingRegion.left && j <= interestingRegion.right in performDiff_sameSize_partialCompare_checkDiffImage()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | LockscreenHelper.java | 449 int deltaX = (int) ((lockPattern.getVisibleBounds().right - in calculateCoordinatesForPatternDot() 458 xCoordinate = lockPattern.getVisibleBounds().right - deltaX; in calculateCoordinatesForPatternDot()
|
/platform_testing/tests/bettertogether/betocq/ |
D | CHANGELOG.md | 72 * BetoCQ test suite: improved test coverage with the right quality bar taking into
|