/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | RectF.kt | 21 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 …]
|
D | Rect.kt | 21 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()
|
D | Region.kt | 21 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/ |
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/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
|
/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 166 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/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | OverviewHelper.java | 113 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
|
D | RecentsTests.java | 128 mDevice.swipe(calcBounds.left, calcBounds.top + calcBounds.height() / 2, in testSwipeItemAwayFromRecents() 129 calcBounds.right, calcBounds.top + calcBounds.height() / 2, 5); in testSwipeItemAwayFromRecents()
|
D | MultiWindowTests.java | 130 finalGmailBounds.top > initialGmailBounds.top); in testResizeHandleOnMultiwindow()
|
/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/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
|
D | LockscreenHelper.java | 352 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/ |
D | AccessibilityScannerHelper.java | 317 destY = avoidRect.top - 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>()
|