Home
last modified time | relevance | path

Searched refs:displayRect (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionTraceSubject.kt154 override fun hasSameLeftPosition(displayRect: Rect): RegionTraceSubject = apply { in <lambda>()
155 addAssertion("hasSameLeftPosition($displayRect") { it.hasSameLeftPosition(displayRect) } in <lambda>()
158 override fun hasSameBottomPosition(displayRect: Rect): RegionTraceSubject = apply { in <lambda>()
159 addAssertion("hasSameBottomPosition($displayRect") { it.hasSameBottomPosition(displayRect) } in <lambda>()
162 override fun hasSameRightPosition(displayRect: Rect): RegionTraceSubject = apply { in <lambda>()
163 addAssertion("hasSameRightPosition($displayRect") { it.hasSameRightPosition(displayRect) } in <lambda>()
166 override fun hasSameTopPosition(displayRect: Rect): RegionTraceSubject = apply { in <lambda>()
167 addAssertion("hasSameTopPosition($displayRect") { it.hasSameTopPosition(displayRect) } in <lambda>()
DIRegionSubject.kt233 fun hasSameTopPosition(displayRect: Rect): IRegionSubject
241 fun hasSameBottomPosition(displayRect: Rect): IRegionSubject
249 fun hasSameRightPosition(displayRect: Rect): IRegionSubject
257 fun hasSameLeftPosition(displayRect: Rect): IRegionSubject
DRegionSubject.kt417 override fun hasSameBottomPosition(displayRect: Rect): RegionSubject = apply { in <lambda>()
418 assertEquals("bottom", Region(displayRect)) { it.bottom } in <lambda>()
422 override fun hasSameTopPosition(displayRect: Rect): RegionSubject = apply { in <lambda>()
423 assertEquals("top", Region(displayRect)) { it.top } in <lambda>()
426 override fun hasSameLeftPosition(displayRect: Rect): RegionSubject = apply { in <lambda>()
427 assertEquals("left", Region(displayRect)) { it.left } in <lambda>()
430 override fun hasSameRightPosition(displayRect: Rect): RegionSubject = apply { in <lambda>()
431 assertEquals("right", Region(displayRect)) { it.right } in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DDisplayContent.kt39 val displayRect: Rect, in <lambda>() constant in android.tools.traces.wm.DisplayContent
59 dpiFromPx(min(displayRect.width().toFloat(), displayRect.height().toFloat()), dpi) in <lambda>()
111 return "${this::class.simpleName} #$displayId: name=$title mDisplayRect=$displayRect " + in <lambda>()
126 if (displayRect != other.displayRect) return false in <lambda>()
152 result = 31 * result + displayRect.hashCode() in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DAppWindowRemainInsideDisplayBounds.kt35 .coversAtMost(display.displayRect) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DWindowUtils.kt98 return Region(0, 0, display.displayRect.width(), height) in getExpectedStatusBarPosition()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt185 displayRect = in <lambda>()