Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 26) sorted by relevance

12

/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionSubject.kt17 package android.tools.flicker.subject.region in <lambda>()
32 import android.tools.traces.region.RegionEntry in <lambda>()
47 region: Region?, in <lambda>()
50 ) : this(RegionEntry(region ?: Region(), timestamp), timestamp, reader) in <lambda>()
73 val region = regionEntry.region in <lambda>() constant
84 if (!regionEntry.region.isEmpty) { in <lambda>()
90 .setActual(regionEntry.region) in <lambda>()
101 if (regionEntry.region.isEmpty) { in <lambda>()
107 .setActual(regionEntry.region) in <lambda>()
114 val remainingRegion = Region(this.region) in <lambda>()
[all …]
DRegionTraceSubject.kt17 package android.tools.flicker.subject.region
23 import android.tools.traces.region.RegionTrace
DIRegionSubject.kt17 package android.tools.flicker.subject.region
/platform_testing/libraries/flicker/utils/src/android/tools/traces/region/
DRegionEntry.kt17 package android.tools.traces.region
31 class RegionEntry(val region: Region, override val timestamp: Timestamp) : TraceEntry constant in android.tools.traces.region.RegionEntry
DRegionTrace.kt17 package android.tools.traces.region
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DBitmapMatcher.kt111 regionsSanitised.forEach { region -> in <lambda>() method
112 val startX = region.left.coerceIn(0, width - 1) in <lambda>()
113 val endX = region.right.coerceIn(0, width - 1) in <lambda>()
114 val startY = region.top.coerceIn(0, height - 1) in <lambda>()
115 val endY = region.bottom.coerceIn(0, height - 1) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayersTraceSubjectTest.kt26 import android.tools.flicker.subject.region.RegionSubject in <lambda>()
259 val region = it.layer.visibleRegion ?: Region() in <lambda>() constant
260 val bounds = region.bounds in <lambda>()
283 val pipRegion = subject.visibleRegion(TestComponents.PIP_APP).region in <lambda>()
294 val pipRegion = subject.visibleRegion(TestComponents.PIP_APP).region in <lambda>()
361 if (!snapshotRegion.region.isEmpty) { in <lambda>()
363 snapshotRegion.coversExactly(appVisibleRegion.region) in <lambda>()
DLayerTraceEntrySubjectTest.kt373 imeActivitySubject.visibleRegion.coversExactly(simpleActivitySubject.visibleRegion.region) in detectOccludedLayerBecauseOfRoundedCorners()
395 val region = subject.visibleRegion(ComponentNameMatcher.IME_SNAPSHOT) in canDetectInvisibleLayerOutOfScreen() constant
396 region.isEmpty() in canDetectInvisibleLayerOutOfScreen()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DLayerReduces.kt31 current.visibleRegion.notBiggerThan(previous.visibleRegion.region) in <lambda>()
DAppLayerReduces.kt32 current.visibleRegion.coversAtMost(previous.visibleRegion.region) in <lambda>()
DSplitAppLayerBoundsSnapToDivider.kt57 layer(splitScreenDivider)?.visibleRegion?.region in calculateExpectedDisplaySize()
DSplitAppLayerBoundsBecomesVisible.kt90 layer(splitScreenDivider)?.visibleRegion?.region in LayerTraceEntrySubject()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt32 import android.tools.flicker.subject.region.RegionSubject
164 actual?.coversExactly(expected?.region ?: Region()) in validateVisibleRegion()
166 val failure: Result<Any?> = runCatching { actual?.isHigher(expected?.region ?: Region()) } in validateVisibleRegion()
DFullTestRun.kt39 import android.tools.flicker.subject.region.RegionSubject
210 actual?.coversExactly(expected?.region ?: Region()) in validateVisibleRegion()
213 actual?.isHigher(expected?.region ?: Region()) in validateVisibleRegion()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowStateSubject.kt22 import android.tools.flicker.subject.region.RegionSubject
DWindowManagerTraceSubject.kt21 import android.tools.flicker.subject.region.RegionTraceSubject in <lambda>()
25 import android.tools.traces.region.RegionTrace in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DFlickerTest.kt22 import android.tools.flicker.subject.region.RegionTraceSubject
DBaseFlickerTest.kt22 import android.tools.flicker.subject.region.RegionTraceSubject
DAssertionFactory.kt25 import android.tools.flicker.subject.region.RegionTraceSubject
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayerSubject.kt22 import android.tools.flicker.subject.region.RegionSubject
DLayersTraceSubject.kt23 import android.tools.flicker.subject.region.RegionTraceSubject in <lambda>()
29 import android.tools.traces.region.RegionTrace in <lambda>()
DLayerTraceEntrySubject.kt29 import android.tools.flicker.subject.region.RegionSubject in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt280 private fun newRegion(region: Args?): Region? { in <lambda>()
281 if (region == null) { in <lambda>()
285 val rects = region.getChildren("rect")?.map { newRect(it) } ?: emptyList() in <lambda>()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DScreenshotTestRule.kt280 for (region in regions) { in <lambda>() constant
282 Rect(region).apply { in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/region/
DRegionSubjectTest.kt17 package android.tools.flicker.subject.region

12