/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | RectF.kt | 23 val bottom: Float = 0f constant in com.android.server.wm.traces.common.RectF 25 val height: Float get() = bottom - top 42 return Rect(left.toInt(), top.toInt(), right.toInt(), bottom.toInt()) in toRect() 55 return this.left < this.right && this.top < this.bottom && // now check for containment in contains() 56 left <= r.left && top <= r.top && right >= r.right && bottom >= r.bottom in contains() 75 fun intersection(left: Float, top: Float, right: Float, bottom: Float): RectF { in intersection() 76 if (this.left < right && left < this.right && this.top <= bottom && top <= this.bottom) { in intersection() 80 var intersectionBottom = this.bottom in intersection() 91 if (this.bottom > bottom) { in intersection() 92 intersectionBottom = bottom in intersection() [all …]
|
D | Rect.kt | 23 val bottom: Int = 0 constant in com.android.server.wm.traces.common.Rect 25 val height: Int get() = bottom - top 28 fun centerY(): Int = top + bottom / 2 in centerX() 40 return RectF(left.toFloat(), top.toFloat(), right.toFloat(), bottom.toFloat()) in centerX() 80 result = 31 * result + bottom in hashCode()
|
D | Region.kt | 23 rects.map { it.bottom }.maxOrNull() ?: 0 in <lambda>() 29 bottom: Int 30 ) : this(Rect(left, top, right, bottom))
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | RegionSubjectTest.kt | 56 val rectA = Rect(left = 0, top = 0, right = 1, bottom = 1) in detectPositionChangeHigher() 57 val rectB = Rect(left = 0, top = 1, right = 1, bottom = 2) in detectPositionChangeHigher() 70 val rectA = Rect(left = 0, top = 2, right = 1, bottom = 3) in detectPositionChangeLower() 71 val rectB = Rect(left = 0, top = 0, right = 1, bottom = 1) in detectPositionChangeLower() 84 val rectA = Rect(left = 0, top = 1, right = 1, bottom = 0) in detectPositionChangeEqualHigherLower() 85 val rectB = Rect(left = 1, top = 1, right = 2, bottom = 0) in detectPositionChangeEqualHigherLower() 98 val rectA = Rect(left = 0, top = 1, right = 2, bottom = 2) in detectPositionChangeInvalid() 99 val rectB = Rect(left = 1, top = 1, right = 2, bottom = 2) in detectPositionChangeInvalid() 100 val rectC = Rect(left = 0, top = 1, right = 3, bottom = 1) in detectPositionChangeInvalid() 107 val rectA = Rect(left = 1, top = 1, right = 2, bottom = 2) in detectCoversAtLeast() [all …]
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 147 public default void setScrollableMargin(int left, int top, int right, int bottom) { in setScrollableMargin() argument 164 public Margin(int left, int top, int right, int bottom) { in Margin() argument 168 mBottom = bottom; in Margin()
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | OverviewHelper.java | 114 int bottom = r.bottom - 200; // bottom edge = bottom & shift up 200px in scrollToTopOfRecents() local 115 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents() local 191 mDevice.drag(xCoordinate, appBounds.bottom, xCoordinate, in undockAppFromMultiwindow()
|
D | MultiWindowTests.java | 116 mDevice.drag(xCoordinate, initialCalcBounds.bottom, in testResizeHandleOnMultiwindow() 128 finalCalcBounds.bottom > initialCalcBounds.bottom); in testResizeHandleOnMultiwindow()
|
/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 | 354 int y2Coordinate = (int) (lockPattern.getVisibleBounds().bottom - in enterInvalidPattern() 355 lockPattern.getVisibleBounds().bottom*0.16); in enterInvalidPattern() 444 int deltaY = (int) ((lockPattern.getVisibleBounds().bottom - in calculateCoordinatesForPatternDot() 453 yCoordinate = lockPattern.getVisibleBounds().bottom - deltaY; in calculateCoordinatesForPatternDot()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/ |
D | Extensions.kt | 35 return android.graphics.Region(left, top, right, bottom) in <lambda>() 39 return android.graphics.Rect(left, top, right, bottom) in Rect()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 315 int destY = avoidRect.bottom + bufferY + origRect.height()/2; in calculateDest()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/ |
D | WindowManagerTraceParser.kt | 581 private fun RectProto.toRect() = Rect(this.left, this.top, this.right, this.bottom) in <lambda>()
|