Home
last modified time | relevance | path

Searched refs:top (Results 1 – 19 of 19) 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()
78 var intersectionTop = this.top in intersection()
85 if (this.top < top) { in intersection()
86 intersectionTop = top 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 …]
/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.java147 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
166 mTop = top; in Margin()
/platform_testing/libraries/car-helpers/
DREADME.md3 Utitily package built on top of Android Auto Embedded platform API's to
/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/flicker/src/com/android/server/wm/traces/parser/
DExtensions.kt35 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/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/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.kt581 private fun RectProto.toRect() = Rect(this.left, this.top, this.right, this.bottom) in <lambda>()