Home
last modified time | relevance | path

Searched refs:coversAtLeast (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubjectTest.kt111 entry.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversAtLeast(statusBarRegion) in canDetectWindowCoversAtLeastRegion_exactSize()
112 entry.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(displayBounds) in canDetectWindowCoversAtLeastRegion_exactSize()
120 entry.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversAtLeast(Region(0, 0, 100, 100)) in canDetectWindowCoversAtLeastRegion_smallerRegion()
121 entry.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(Region(0, 0, 100, 100)) in canDetectWindowCoversAtLeastRegion_smallerRegion()
132 .coversAtLeast(Region(0, 0, 1441, 171)) in canDetectWindowCoversAtLeastRegion_largerRegion()
136 subject.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(Region(0, 0, 1440, 2961)) in canDetectWindowCoversAtLeastRegion_largerRegion()
174 .coversAtLeast(Region(0, 0, 1441, 171)) in canDetectWindowCoversExactlyRegion_largerRegion()
178 subject.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(Region(0, 0, 1440, 2961)) in canDetectWindowCoversExactlyRegion_largerRegion()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionTraceSubject.kt111 override fun coversAtLeast(other: Region): RegionTraceSubject = apply { in <lambda>() method in android.tools.flicker.subject.region.RegionTraceSubject
112 addAssertion("coversAtLeast($other, $componentsAsString)") { it.coversAtLeast(other) } in <lambda>()
116 override fun coversAtLeast(other: Rect): RegionTraceSubject = this.coversAtLeast(Region(other)) in coversAtLeast() method in android.tools.flicker.subject.region.RegionTraceSubject
DIRegionSubject.kt160 fun coversAtLeast(other: Region): IRegionSubject method
169 fun coversAtLeast(other: Rect): IRegionSubject method
DRegionSubject.kt24 import android.tools.datatypes.coversAtLeast in <lambda>()
319 override fun coversAtLeast(other: Region): RegionSubject = apply { in <lambda>() method in android.tools.flicker.subject.region.RegionSubject
320 if (!region.coversAtLeast(other)) { in <lambda>()
333 override fun coversAtLeast(other: Rect): RegionSubject = coversAtLeast(Region(other)) in <lambda>() method in android.tools.flicker.subject.region.RegionSubject
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DEntireScreenCoveredAtEnd.kt33 onDisplays.forEach { display -> visibleRegion().coversAtLeast(display.layerStackSpace) } in <lambda>()
DEntireScreenCoveredAtStart.kt33 onDisplays.forEach { display -> visibleRegion().coversAtLeast(display.layerStackSpace) } in <lambda>()
DEntireScreenCoveredAlways.kt36 entry.visibleRegion().coversAtLeast(display.layerStackSpace) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/region/
DRegionSubjectTest.kt102 RegionSubject(rectA, timestamp = Timestamps.empty()).coversAtLeast(rectA) in detectCoversAtLeast()
103 RegionSubject(rectB, timestamp = Timestamps.empty()).coversAtLeast(rectA) in detectCoversAtLeast()
105 RegionSubject(rectA, timestamp = Timestamps.empty()).coversAtLeast(rectB) in detectCoversAtLeast()
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DUtils.kt108 fun Region.coversAtLeast(testRegion: Region): Boolean { in coversAtLeast() method
124 return coversAtLeast(testRegion) && !Region(this).minus(testRegion).isEmpty in coversMoreThan()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayerTraceEntrySubjectTest.kt93 .coversAtLeast(expectedRegion) in canDetectUncoveredRegion()
DLayersTraceSubjectTest.kt70 .coversAtLeast(DISPLAY_REGION) in <lambda>()