Home
last modified time | relevance | path

Searched refs:bottom (Results 1 – 16 of 16) sorted by relevance

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DRectF.kt23 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()
91 if (this.bottom > bottom) { in intersection()
92 intersectionBottom = bottom in intersection()
108 fun intersection(r: RectF): RectF = intersection(r.left, r.top, r.right, r.bottom) in intersection()
[all …]
DRect.kt23 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()
DRegion.kt23 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/
DRegionSubjectTest.kt56 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 …]
DWindowManagerStateHelperTest.kt77 bottom = index.toFloat() + 1 in <lambda>()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/
DScrollable.java128 public default void setScrollableMargin(int left, int top, int right, int bottom) { in setScrollableMargin() argument
145 public Margin(int left, int top, int right, int bottom) { in Margin() argument
149 mBottom = bottom; in Margin()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/layers/
DLayersTraceParser.kt191 RectF(left = left, top = top, right = right, bottom = bottom) in toRectF()
216 crop.right == -1 && crop.left == 0 && crop.bottom == -1 && crop.top == 0 -> in getCrop()
218 (crop.right - crop.left) <= 0 || (crop.bottom - crop.top) <= 0 -> in getCrop()
222 crop.left, crop.top, crop.right, crop.bottom) in getCrop()
243 ((this.right - this.left) <= 0 || (this.bottom - this.top) <= 0)) { in toRect()
247 this.left, this.top, this.right, this.bottom) in toRect()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DOverviewHelper.java114 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()
DMultiWindowTests.java116 mDevice.drag(xCoordinate, initialCalcBounds.bottom, in testResizeHandleOnMultiwindow()
128 finalCalcBounds.bottom > initialCalcBounds.bottom); in testResizeHandleOnMultiwindow()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/
DExtensions.kt31 return android.graphics.Region(left, top, right, bottom) in <lambda>()
35 return android.graphics.Rect(left, top, right, bottom) in Rect()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/layers/
DTransform.kt131 val leftBottom = multiplyVec2(matrix, rect.left, rect.bottom) in prettyPrint()
132 val rightBottom = multiplyVec2(matrix, rect.right, rect.bottom) in prettyPrint()
138 bottom = arrayOf(leftTop.y, rightTop.y, leftBottom.y, rightBottom.y).minOrNull() ?: 0f in prettyPrint()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java152 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()
DLockscreenHelper.java354 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/flicker/traces/
DRegionSubject.kt42 get() = check(MSG_ERROR_BOTTOM_POSITION).that(region.bounds.bottom) in <lambda>()
127 bottomPositionSubject.isAtMost(other.bounds.bottom) in <lambda>()
169 bottomPositionSubject.isAtLeast(other.bounds.bottom) in <lambda>()
208 bottomPositionSubject.isLessThan(other.bounds.bottom) in <lambda>()
247 bottomPositionSubject.isGreaterThan(other.bounds.bottom) in <lambda>()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java315 int destY = avoidRect.bottom + bufferY + origRect.height()/2; in calculateDest()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/
DWindowManagerTraceParser.kt553 private fun RectProto.toRect() = Rect(this.left, this.top, this.right, this.bottom) in <lambda>()