/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 40 val newTop = maxOf(top, crop.top) in emptyColor() 49 this.top < this.bottom && // now check for containment in RectF() 51 (top <= r.top || abs(top - r.top) < 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() 73 var intersectionTop = this.top in Rect() 80 if (this.top < top) { in Rect() 81 intersectionTop = top in Rect()
|
/platform_testing/scripts/perf-setup/ |
D | c2f2-setup.sh | 28 top=7 31 while [ $((cpu < $top)) -eq 1 ]; do 41 top=4 43 while [ $((cpu < $top)) -eq 1 ]; do 50 top=8 52 while [ $((cpu < $top)) -eq 1 ]; do
|
D | b4s4-setup.sh | 28 top=8 33 while [ $((cpu < $top)) -eq 1 ]; do 42 top=6 45 while [ $((cpu < $top)) -eq 1 ]; do
|
D | b1c1-setup.sh | 28 top=8 35 while [ $((cpu < $top)) -eq 1 ]; do 45 top=4 48 while [ $((cpu < $top)) -eq 1 ]; do
|
D | wahoo-setup.sh | 14 top=8 20 while [ $((cpu < $top)) -eq 1 ]; do 32 top=4 35 while [ $((cpu < $top)) -eq 1 ]; do
|
D | b5r3-setup.sh | 43 top=8 48 while [ $((cpu < $top)) -eq 1 ]; do 59 top=6 61 while [ $((cpu < $top)) -eq 1 ]; do
|
D | sw5100-setup.sh | 43 top=4 47 while [ $((cpu < $top)) -eq 1 ]; do
|
/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() 71 val origTop = inBounds.top in rotateBounds() 76 /* left */ inBounds.top, in rotateBounds() 92 /* right */ parentHeight - inBounds.top, in rotateBounds()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | SeekUtility.java | 119 int top = seekBounds.top + SEEK_BOUNDS_BUFFER; in seek() local 120 clickLocation.y = (int) ((bottom - top) * (1 - targetPercentage) + top); 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() 47 mMarginTop = top in setGestureMargins() 56 ret.top = ret.top + mMarginTop in getVisibleBoundsForGestures()
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | UiObjectUtils.kt | 68 .that(this.stableBounds.top > uiDevice.displayHeight / 2) in assertTopOnBottomSide() 78 .that(this.stableBounds.top < uiDevice.displayHeight / 2) in assertTopOnTopSide() 157 PointF(visibleBounds.exactCenterX(), visibleBounds.top.toFloat() + 1f) in getPointsToScroll() 162 PointF(visibleBounds.exactCenterX(), visibleBounds.top.toFloat() + 1f), in getPointsToScroll()
|
D | SwipeUtils.kt | 41 Point(centerX, bounds.top) to in calculateStartEndPoint() 42 Point(centerX, bounds.top + (bounds.height() * percent).toInt()) in calculateStartEndPoint()
|
/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 167 mTop = top; in Margin()
|
/platform_testing/libraries/car-helpers/ |
D | README.md | 3 Utitily package built on top of Android Auto Embedded platform API's to
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | SplitAppLayerBoundsSnapToDivider.kt | 84 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2 in calculateExpectedDisplaySize() 89 (dividerRegion.bounds.top + dividerRegion.bounds.bottom) / 2, in calculateExpectedDisplaySize()
|
D | SplitAppLayerBoundsBecomesVisible.kt | 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/src/android/tools/traces/parsers/view/ |
D | ViewFrameBuilder.kt | 44 node.top, in parseViewNode() 46 /* bottom */ node.top + node.height in parseViewNode()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/ |
D | RegionSubject.kt | 138 { it.top }, in <lambda>() 161 { it.top }, in <lambda>() 201 { it.top }, in <lambda>() 230 { it.top }, in <lambda>() 279 val verticallyPositionedToTheBottom = other.bounds.top - threshold <= region.bounds.top in <lambda>() 423 assertEquals("top", Region(displayRect)) { it.top } in <lambda>() 481 assertEquals("top", other) { it.top } in <lambda>()
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | OverviewHelper.java | 104 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents() local 106 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents() local
|
D | RecentsTests.java | 116 mDevice.swipe(calcBounds.left, calcBounds.top + calcBounds.height() / 2, in testSwipeItemAwayFromRecents() 117 calcBounds.right, calcBounds.top + calcBounds.height() / 2, 5); in testSwipeItemAwayFromRecents()
|
/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() 246 bounds.top + rect.top, in generateBitmapFromPixelCopy() 248 bounds.top + rect.bottom, in generateBitmapFromPixelCopy() 322 locationInSurface[1] += surfaceInsets.top in reflectivelyGetLocationInSurface()
|
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/ |
D | Filmstrip.kt | 213 val top = y + (tileHeight - screenshotHeight) / 2 in render() constant 215 transform.setTranslate(0f, top) in render() 216 transform.postScale(scale, scale, 0f, top) 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/system-helpers/sysui-helper/src/android/system/helpers/ |
D | OverviewHelper.java | 151 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents() local 153 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents() local
|