Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 29) sorted by relevance

12

/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DUtils.kt41 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/
DRotationUtils.kt38 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/
DSplitAppLayerBoundsBecomesVisible.kt102 (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()
DSplitAppLayerBoundsSnapToDivider.kt67 (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/
DTaplUiObject.kt45 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/
DScrollable.java148 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/
DSeekUtility.java123 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/
DSwipeUtils.kt29 Point(bounds.right, centerY) to in calculateStartEndPoint()
30 Point(bounds.right - (bounds.width() * percent).toInt(), centerY) in calculateStartEndPoint()
DUiObjectUtils.kt112 .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/
DHookWidget.java108 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/
DSimpleSurfaceGLActivity.java49 view.setPadding(insets.left, insets.top, insets.right, insets.bottom); in onCreate()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DDataPointTypes.kt60 put("right", it.right) in <lambda>()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaController.java194 startX = (bound.right + bound.centerX()) / 2; in swipe()
199 endX = bound.right; in swipe()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DTransform.kt146 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/
DLayersTraceParser.kt267 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/
DBitmapMatcher.kt113 val endX = region.right.coerceIn(0, width - 1) in <lambda>()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/matchers/
DAlmostPerfectMatcherTest.kt139 val colInRange = j >= interestingRegion.left && j <= interestingRegion.right in performDiff_sameSize_partialCompare_checkDiffImage()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionSubject.kt184 { 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/
DSpectatioUiUtil.java570 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/
DScreenshotTestRule.kt298 for (x in rect.left until rect.right) { in <lambda>()
305 bitmap.setPixel(rect.right - 1, y, color) in <lambda>()
DViewCapture.kt247 bounds.left + rect.right, in generateBitmapFromPixelCopy()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DRecentsTests.java117 calcBounds.right, calcBounds.top + calcBounds.height() / 2, 5); in testSwipeItemAwayFromRecents()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DPixelPerfectMatcherTest.kt180 val colInRange = j >= interestingRegion.left && j <= interestingRegion.right in performDiff_sameSize_partialCompare_checkDiffImage()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DLockscreenHelper.java449 int deltaX = (int) ((lockPattern.getVisibleBounds().right - in calculateCoordinatesForPatternDot()
458 xCoordinate = lockPattern.getVisibleBounds().right - deltaX; in calculateCoordinatesForPatternDot()
/platform_testing/tests/bettertogether/betocq/
DCHANGELOG.md72 * BetoCQ test suite: improved test coverage with the right quality bar taking into

12