/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 39 val newLeft = maxOf(left, crop.left) in emptyColor() 48 return this.left < this.right && in RectF() 50 (left <= r.left || abs(left - r.left) < 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() 72 var intersectionLeft = this.left in Rect() 77 if (this.left < left) { in Rect() 78 intersectionLeft = left 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() 70 val origLeft = inBounds.left in rotateBounds()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | SeekUtility.java | 124 int left = seekBounds.left + SEEK_BOUNDS_BUFFER; in seek() local 125 clickLocation.x = (int) ((right - left) * targetPercentage + left); in seek()
|
/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() 46 mMarginLeft = left in setGestureMargins() 55 ret.left = ret.left + mMarginLeft 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 166 mLeft = left; in Margin()
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 33 Point(bounds.left, centerY) to in calculateStartEndPoint() 34 Point(bounds.left + (bounds.width() * percent).toInt(), centerY) in calculateStartEndPoint()
|
D | UiObjectUtils.kt | 102 .that(this.stableBounds.left >= uiDevice.displayWidth / 2) in assertOnTheRightSide() 168 PointF(visibleBounds.left.toFloat() + 1f, visibleBounds.exactCenterY()), in getPointsToScroll() 175 PointF(visibleBounds.left.toFloat() + 1f, visibleBounds.exactCenterY()) in getPointsToScroll()
|
/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()
|
D | SplitAppLayerBoundsBecomesVisible.kt | 102 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in LayerTraceEntrySubject() 107 (dividerRegion.bounds.left + dividerRegion.bounds.right) / 2, in LayerTraceEntrySubject()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/ |
D | ViewFrameBuilder.kt | 43 node.left, in parseViewNode() 45 /* right */ node.left + node.width, in parseViewNode()
|
/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/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | ViewCapture.kt | 221 canvas.translate((-rect.left).toFloat(), (-rect.top).toFloat()) in generateBitmapFromDraw() 245 bounds.left + rect.left, in generateBitmapFromPixelCopy() 247 bounds.left + rect.right, in generateBitmapFromPixelCopy() 321 locationInSurface[0] += surfaceInsets.left in reflectivelyGetLocationInSurface()
|
D | ScreenshotTestRule.kt | 298 for (x in rect.left until rect.right) { in <lambda>() 304 bitmap.setPixel(rect.left, y, color) in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/ |
D | Filmstrip.kt | 162 val left = x + (tileWidth - screenshotWidth) / 2 in render() constant 165 transform.setTranslate(left, 0f) in render() 166 transform.postScale(scale, scale, left, 0f) in render()
|
/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/flicker/src/android/tools/flicker/subject/region/ |
D | RegionSubject.kt | 178 { it.left }, in <lambda>() 278 val horizontallyPositionedToTheRight = other.bounds.left - threshold <= region.bounds.left in <lambda>() 427 assertEquals("left", Region(displayRect)) { it.left } in <lambda>() 475 assertEquals("left", other) { it.left } in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | DataPointTypes.kt | 58 put("left", it.left) in <lambda>()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MediaController.java | 195 endX = bound.left; in swipe() 198 startX = (bound.left + bound.centerX()) / 2; in swipe()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | Transform.kt | 145 val leftTop = multiplyVec2(matrix, rect.left, rect.top) in multiplyRect() 147 val leftBottom = multiplyVec2(matrix, rect.left, rect.bottom) in multiplyRect()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | LockscreenHelper.java | 360 int xCoordinate =(int) (lockPattern.getVisibleBounds().left + in enterInvalidPattern() 361 lockPattern.getVisibleBounds().left*0.16); in enterInvalidPattern() 450 lockPattern.getVisibleBounds().left)*0.16); in calculateCoordinatesForPatternDot() 452 xCoordinate = lockPattern.getVisibleBounds().left + deltaX; in calculateCoordinatesForPatternDot()
|
/platform_testing/libraries/motion/tests/src/platform/test/motion/view/ |
D | DataPointTypesTest.kt | 73 assertThat((dataPoint as ValueDataPoint).value.left).isEqualTo(1) in rect_dataPoint_isImmutable()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | LayersTraceParser.kt | 268 val left = crop.getChild("left")?.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/systemui-helper/src/android/platform/helpers/features/quicksettings/ |
D | UserSelection.java | 133 getUiDevice().click(r.left, r.top); in clickTopLeftCorner()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/ |
D | BitmapMatcher.kt | 112 val startX = region.left.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()
|