Home
last modified time | relevance | path

Searched refs:visibleRegion (Results 1 – 25 of 42) sorted by relevance

12

/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubjectTest.kt72 .visibleRegion(TestComponents.IMAGINARY) in exceptionContainsDebugInfo()
111 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()
131 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canDetectWindowCoversAtLeastRegion_largerRegion()
136 subject.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(Region(0, 0, 1440, 2961)) in canDetectWindowCoversAtLeastRegion_largerRegion()
146 entry.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversExactly(statusBarRegion) in canDetectWindowCoversExactlyRegion_exactSize()
147 entry.visibleRegion(TestComponents.LAUNCHER).coversExactly(displayBounds) in canDetectWindowCoversExactlyRegion_exactSize()
157 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canDetectWindowCoversExactlyRegion_smallerRegion()
[all …]
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayerTest.kt68 visibleRegion = Region(), in useVisibleRegionIfCompositionStateIsAvailableForVisibility()
77 visibleRegion = Region(0, 0, 100, 100), in useVisibleRegionIfCompositionStateIsAvailableForVisibility()
108 visibleRegion = Region(0, 0, 100, 100), in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility()
120 visibleRegion: Region = Region(), in makeLayerWithDefaults()
129 visibleRegion, in makeLayerWithDefaults()
DLayersTraceTest.kt73 .that(layer?.visibleRegion?.isEmpty) in canTestLayerOccludedByAppLayerHasVisibleRegion()
76 .that(layer?.visibleRegion?.toString()) in canTestLayerOccludedByAppLayerHasVisibleRegion()
83 .that(splashScreenLayer?.visibleRegion?.isEmpty) in canTestLayerOccludedByAppLayerHasVisibleRegion()
86 .that(splashScreenLayer?.visibleRegion?.toString()) in canTestLayerOccludedByAppLayerHasVisibleRegion()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt98 validateVisibleRegion(this.visibleRegion(), trace?.first()?.visibleRegion()) in internalWmCheck()
103 validateVisibleRegion(this.visibleRegion(), trace?.last()?.visibleRegion()) in internalWmCheck()
132 validateVisibleRegion(this.visibleRegion(), trace?.first()?.visibleRegion()) in internalLayersCheck()
137 validateVisibleRegion(this.visibleRegion(), trace?.last()?.visibleRegion()) in internalLayersCheck()
DFullTestRun.kt120 this.visibleRegion(), in doEvaluate()
121 trace?.first()?.visibleRegion() in doEvaluate()
132 this.visibleRegion(), in doEvaluate()
133 trace?.last()?.visibleRegion() in doEvaluate()
173 this.visibleRegion(), in doEvaluate()
174 trace?.first()?.visibleRegion() in doEvaluate()
185 this.visibleRegion(), in doEvaluate()
186 trace?.last()?.visibleRegion() in doEvaluate()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerProperties.kt29 override val visibleRegion: Region = Region(), constant in android.tools.traces.surfaceflinger.LayerProperties
52 var result = visibleRegion.hashCode() in hashCode()
77 return "LayerProperties(visibleRegion=$visibleRegion, activeBuffer=$activeBuffer, " + in toString()
93 if (visibleRegion != other.visibleRegion) return false in equals()
123 visibleRegion: Region, in from()
145 visibleRegion, in from()
DILayerProperties.kt32 val visibleRegion: Region? constant
143 visibleRegion != prevLayerState.visibleRegion || in isAnimating()
DLayer.kt97 val visibleRegion = constant
103 this.visibleRegion ?: Region()
111 else -> !visibleRegion.isEmpty
152 if (visibleRegion?.isEmpty == true) {
235 append(" visible:$visibleRegion") in toString()
256 if (visibleRegion != other.visibleRegion) return false in equals()
280 var result = visibleRegion?.hashCode() ?: 0 in hashCode()
321 visibleRegion: Region, in from()
344 visibleRegion, in from()
/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.kt35 it.visibleRegion(component.build(scenarioInstance)) in doEvaluate()
57 layer(splitScreenDivider)?.visibleRegion?.region in calculateExpectedDisplaySize()
DAppWindowCoversFullScreenAtStart.kt31 visibleRegion(component.build(scenarioInstance)).coversExactly(displayBounds) in doEvaluate()
DAppWindowCoversFullScreenAtEnd.kt31 visibleRegion(component.build(scenarioInstance)).coversExactly(displayBounds) in doEvaluate()
DWindowRemainInsideVisibleBounds.kt34 visibleRegion(component.build(scenarioInstance)).coversAtMost(displayBounds) in doEvaluate()
DEntireScreenCoveredAtEnd.kt33 onDisplays.forEach { display -> visibleRegion().coversAtLeast(display.layerStackSpace) } in <lambda>()
DEntireScreenCoveredAtStart.kt33 onDisplays.forEach { display -> visibleRegion().coversAtLeast(display.layerStackSpace) } in <lambda>()
DLayerRemainInsideVisibleBounds.kt36 it.visibleRegion(component.build(scenarioInstance)).coversAtMost(displayBounds) in doEvaluate()
DEntireScreenCoveredAlways.kt36 entry.visibleRegion().coversAtLeast(display.layerStackSpace) in <lambda>()
DAppLayerRemainInsideDisplayBounds.kt34 .visibleRegion(component.build(scenarioInstance)) in <lambda>()
DAppLayerCoversFullScreenAtStart.kt31 visibleRegion(component.build(scenarioInstance).or(ComponentNameMatcher.LETTERBOX)) in doEvaluate()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayerTraceEntrySubjectTest.kt58 LayersTraceSubject(trace, reader).first().visibleRegion(TestComponents.IMAGINARY) in exceptionContainsDebugInfo()
92 .visibleRegion() in canDetectUncoveredRegion()
106 .visibleRegion(TestComponents.IMAGINARY) in canTestLayerVisibleRegion_layerDoesNotExist()
119 .visibleRegion(TestComponents.DOCKER_STACK_DIVIDER) in canTestLayerVisibleRegion_layerDoesNotHaveExpectedVisibleRegion()
132 .visibleRegion(TestComponents.SIMPLE_APP) in canTestLayerVisibleRegion_layerIsHiddenByParent()
145 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canTestLayerVisibleRegion_incorrectRegionSize()
157 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canTestLayerVisibleRegion()
373 imeActivitySubject.visibleRegion.coversExactly(simpleActivitySubject.visibleRegion.region) in detectOccludedLayerBecauseOfRoundedCorners()
395 val region = subject.visibleRegion(ComponentNameMatcher.IME_SNAPSHOT) in canDetectInvisibleLayerOutOfScreen()
DLayersTraceSubjectTest.kt69 .visibleRegion() in <lambda>()
259 val region = it.layer.visibleRegion ?: Region() in <lambda>()
278 subject.visibleRegion(TestComponents.FIXED_APP).coversExactly(DISPLAY_REGION_ROTATED) in <lambda>()
283 val pipRegion = subject.visibleRegion(TestComponents.PIP_APP).region in <lambda>()
285 subject.visibleRegion(TestComponents.FIXED_APP).coversExactly(expectedWithoutPip) in <lambda>()
294 val pipRegion = subject.visibleRegion(TestComponents.PIP_APP).region in <lambda>()
296 .visibleRegion(TestComponents.FIXED_APP) in <lambda>()
358 snapshotLayers.mapNotNull { snapshotLayer -> snapshotLayer.layer.visibleRegion } in <lambda>()
362 val appVisibleRegion = it.visibleRegion(component) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayersTraceSubject.kt208 fun visibleRegion(): RegionTraceSubject = in <lambda>() method
209 visibleRegion(componentMatcher = null, useCompositionEngineRegionOnly = false) in <lambda>()
212 fun visibleRegion(componentMatcher: IComponentMatcher?): RegionTraceSubject = in <lambda>() method
213 visibleRegion(componentMatcher, useCompositionEngineRegionOnly = false) in <lambda>()
216 override fun visibleRegion( in <lambda>() method in android.tools.flicker.subject.layers.LayersTraceSubject
224 it.visibleRegion(componentMatcher, useCompositionEngineRegionOnly).regionEntry in <lambda>()
DLayerTraceEntrySubject.kt89 fun visibleRegion(): RegionSubject = in <lambda>() method
90 visibleRegion(componentMatcher = null, useCompositionEngineRegionOnly = true) in <lambda>()
93 fun visibleRegion(componentMatcher: IComponentMatcher): RegionSubject = in <lambda>() method
94 visibleRegion(componentMatcher, useCompositionEngineRegionOnly = true) in <lambda>()
97 override fun visibleRegion( in <lambda>() method in android.tools.flicker.subject.layers.LayerTraceEntrySubject
127 val visibleAreas = visibleLayers.mapNotNull { it.layer.visibleRegion } in <lambda>()
DLayerSubject.kt58 val visibleRegion: RegionSubject constant in android.tools.flicker.subject.layers.LayerSubject
59 get() = RegionSubject(layer.visibleRegion, timestamp, reader)

12