Home
last modified time | relevance | path

Searched refs:top (Results 1 – 23 of 23) sorted by relevance

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DRectF.kt21 val top: 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()
85 if (this.top < top) { in intersection()
86 intersectionTop = top in intersection()
108 fun intersection(r: RectF): RectF = intersection(r.left, r.top, r.right, r.bottom) in intersection()
[all …]
DRect.kt21 val top: 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()
78 result = 31 * result + top in hashCode()
DRegion.kt21 rects.map { it.top }.minOrNull() ?: 0, in <lambda>()
27 top: 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.kt75 top = index.toFloat(), in <lambda>()
/platform_testing/scripts/perf-setup/
Dc2f2-setup.sh28 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
Db4s4-setup.sh28 top=8
33 while [ $((cpu < $top)) -eq 1 ]; do
42 top=6
45 while [ $((cpu < $top)) -eq 1 ]; do
Db1c1-setup.sh28 top=8
35 while [ $((cpu < $top)) -eq 1 ]; do
45 top=4
48 while [ $((cpu < $top)) -eq 1 ]; do
Dwahoo-setup.sh14 top=8
20 while [ $((cpu < $top)) -eq 1 ]; do
32 top=4
35 while [ $((cpu < $top)) -eq 1 ]; do
Db5r3-setup.sh43 top=8
48 while [ $((cpu < $top)) -eq 1 ]; do
59 top=6
61 while [ $((cpu < $top)) -eq 1 ]; do
/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
147 mTop = top; 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/libraries/car-helpers/
DREADME.md3 Utitily package built on top of Android Auto Embedded platform API's to
/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.kt129 val leftTop = multiplyVec2(matrix, rect.left, rect.top) in prettyPrint()
130 val rightTop = multiplyVec2(matrix, rect.right, rect.top) in prettyPrint()
136 top = arrayOf(leftTop.y, rightTop.y, leftBottom.y, rightBottom.y).minOrNull() ?: 0f, in prettyPrint()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DOverviewHelper.java113 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents() local
115 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents() local
DRecentsTests.java128 mDevice.swipe(calcBounds.left, calcBounds.top + calcBounds.height() / 2, in testSwipeItemAwayFromRecents()
129 calcBounds.right, calcBounds.top + calcBounds.height() / 2, 5); in testSwipeItemAwayFromRecents()
DMultiWindowTests.java130 finalGmailBounds.top > initialGmailBounds.top); in testResizeHandleOnMultiwindow()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java151 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
DLockscreenHelper.java352 int y1Coordinate = (int) (lockPattern.getVisibleBounds().top + in enterInvalidPattern()
353 lockPattern.getVisibleBounds().top*0.16); in enterInvalidPattern()
445 lockPattern.getVisibleBounds().top)*0.16); in calculateCoordinatesForPatternDot()
447 yCoordinate = lockPattern.getVisibleBounds().top + deltaY; in calculateCoordinatesForPatternDot()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/
DRegionSubject.kt40 get() = check(MSG_ERROR_TOP_POSITION).that(region.bounds.top) in <lambda>()
126 topPositionSubject.isAtMost(other.bounds.top) in <lambda>()
168 topPositionSubject.isAtLeast(other.bounds.top) in <lambda>()
207 topPositionSubject.isLessThan(other.bounds.top) in <lambda>()
246 topPositionSubject.isGreaterThan(other.bounds.top) in <lambda>()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java317 destY = avoidRect.top - 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>()