/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 42 val newBottom = minOf(bottom, crop.bottom) in emptyColor() 49 this.top < this.bottom && // now check for containment in RectF() 53 (bottom >= r.bottom || abs(bottom - r.bottom) < 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() 75 var intersectionBottom = this.bottom in Rect() 86 if (this.bottom > bottom) { in Rect() 87 intersectionBottom = bottom 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() 78 /* right */ inBounds.bottom, in rotateBounds() 85 /* top */ parentHeight - inBounds.bottom, in rotateBounds() 90 /* left */ parentHeight - inBounds.bottom, 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 | 103 activeDisplay.layerStackSpace.bottom in LayerTraceEntrySubject() 110 activeDisplay.layerStackSpace.bottom in LayerTraceEntrySubject() 119 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2 in LayerTraceEntrySubject() 124 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2, in LayerTraceEntrySubject() 126 activeDisplay.layerStackSpace.bottom in LayerTraceEntrySubject()
|
D | SplitAppLayerBoundsSnapToDivider.kt | 84 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2 in calculateExpectedDisplaySize() 89 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 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() 49 mMarginBottom = bottom in setGestureMargins() 58 ret.bottom = ret.bottom - mMarginBottom 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 169 mBottom = bottom; in Margin()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | SeekUtility.java | 118 int bottom = seekBounds.bottom - SEEK_BOUNDS_BUFFER; in seek() local 120 clickLocation.y = (int) ((bottom - top) * (1 - targetPercentage) + top); in seek()
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | OverviewHelper.java | 105 int bottom = r.bottom - 200; // bottom edge = bottom & shift up 200px in scrollToTopOfRecents() local 106 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents() local 182 mDevice.drag(xCoordinate, appBounds.bottom, xCoordinate, in undockAppFromMultiwindow()
|
D | MultiWindowTests.java | 104 mDevice.drag(xCoordinate, initialCalcBounds.bottom, in testResizeHandleOnMultiwindow() 116 finalCalcBounds.bottom > initialCalcBounds.bottom); in testResizeHandleOnMultiwindow()
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | SwipeUtils.kt | 37 Point(centerX, bounds.bottom) to in calculateStartEndPoint() 38 Point(centerX, bounds.bottom - (bounds.height() * percent).toInt()) in calculateStartEndPoint()
|
D | UiObjectUtils.kt | 156 PointF(visibleBounds.exactCenterX(), visibleBounds.bottom.toFloat() - 1f), in getPointsToScroll() 163 PointF(visibleBounds.exactCenterX(), visibleBounds.bottom.toFloat() - 1f) 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/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | OverviewHelper.java | 152 int bottom = r.bottom - 200; // bottom edge = bottom & shift up 200px in scrollToTopOfRecents() local 153 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents() local 228 mDevice.drag(xCoordinate, appBounds.bottom, xCoordinate, in undockAppFromMultiwindow()
|
D | LockscreenHelper.java | 364 int y2Coordinate = (int) (lockPattern.getVisibleBounds().bottom - in enterInvalidPattern() 365 lockPattern.getVisibleBounds().bottom*0.16); in enterInvalidPattern() 462 int deltaY = (int) ((lockPattern.getVisibleBounds().bottom - in calculateCoordinatesForPatternDot() 471 yCoordinate = lockPattern.getVisibleBounds().bottom - deltaY; in calculateCoordinatesForPatternDot()
|
/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 | 144 { it.bottom }, in <lambda>() 167 { it.bottom }, in <lambda>() 207 { it.bottom }, in <lambda>() 236 { it.bottom }, in <lambda>() 418 assertEquals("bottom", Region(displayRect)) { it.bottom } in <lambda>() 482 assertEquals("bottom", other) { it.bottom } in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | DataPointTypes.kt | 61 put("bottom", it.bottom) in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | Transform.kt | 147 val leftBottom = multiplyVec2(matrix, rect.left, rect.bottom) 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 | 269 val bottom = crop.getChild("bottom")?.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 | 115 val endY = region.bottom.coerceIn(0, height - 1) in <lambda>()
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/matchers/ |
D | AlmostPerfectMatcherTest.kt | 138 val rowInRange = i >= interestingRegion.top && i <= interestingRegion.bottom in performDiff_sameSize_partialCompare_checkDiffImage()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 571 padYStart = bounds.bottom / 4; in getPointsToSwipe() 579 padYStart = bounds.bottom / 4 * 3; in getPointsToSwipe() 603 yFinish = bounds.bottom - padYFinish; in getPointsToSwipe() 610 yStart = bounds.bottom - padYStart; in getPointsToSwipe()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | ScreenshotTestRule.kt | 300 bitmap.setPixel(x, rect.bottom - 1, color) in <lambda>() 303 for (y in rect.top until rect.bottom) { in <lambda>()
|
D | ViewCapture.kt | 248 bounds.top + rect.bottom, in generateBitmapFromPixelCopy()
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/ |
D | PixelPerfectMatcherTest.kt | 179 val rowInRange = i >= interestingRegion.top && i <= interestingRegion.bottom in performDiff_sameSize_partialCompare_checkDiffImage()
|