/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubjectTest.kt | 72 .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/ |
D | LayerTest.kt | 68 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()
|
D | LayersTraceTest.kt | 73 .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/ |
D | FullLegacyTestRun.kt | 98 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()
|
D | FullTestRun.kt | 120 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/ |
D | LayerProperties.kt | 29 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()
|
D | ILayerProperties.kt | 32 val visibleRegion: Region? constant 143 visibleRegion != prevLayerState.visibleRegion || in isAnimating()
|
D | Layer.kt | 97 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/ |
D | LayerReduces.kt | 31 current.visibleRegion.notBiggerThan(previous.visibleRegion.region) in <lambda>()
|
D | AppLayerReduces.kt | 32 current.visibleRegion.coversAtMost(previous.visibleRegion.region) in <lambda>()
|
D | SplitAppLayerBoundsSnapToDivider.kt | 35 it.visibleRegion(component.build(scenarioInstance)) in doEvaluate() 57 layer(splitScreenDivider)?.visibleRegion?.region in calculateExpectedDisplaySize()
|
D | AppWindowCoversFullScreenAtStart.kt | 31 visibleRegion(component.build(scenarioInstance)).coversExactly(displayBounds) in doEvaluate()
|
D | AppWindowCoversFullScreenAtEnd.kt | 31 visibleRegion(component.build(scenarioInstance)).coversExactly(displayBounds) in doEvaluate()
|
D | WindowRemainInsideVisibleBounds.kt | 34 visibleRegion(component.build(scenarioInstance)).coversAtMost(displayBounds) in doEvaluate()
|
D | EntireScreenCoveredAtEnd.kt | 33 onDisplays.forEach { display -> visibleRegion().coversAtLeast(display.layerStackSpace) } in <lambda>()
|
D | EntireScreenCoveredAtStart.kt | 33 onDisplays.forEach { display -> visibleRegion().coversAtLeast(display.layerStackSpace) } in <lambda>()
|
D | LayerRemainInsideVisibleBounds.kt | 36 it.visibleRegion(component.build(scenarioInstance)).coversAtMost(displayBounds) in doEvaluate()
|
D | EntireScreenCoveredAlways.kt | 36 entry.visibleRegion().coversAtLeast(display.layerStackSpace) in <lambda>()
|
D | AppLayerRemainInsideDisplayBounds.kt | 34 .visibleRegion(component.build(scenarioInstance)) in <lambda>()
|
D | AppLayerCoversFullScreenAtStart.kt | 31 visibleRegion(component.build(scenarioInstance).or(ComponentNameMatcher.LETTERBOX)) in doEvaluate()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/ |
D | LayerTraceEntrySubjectTest.kt | 58 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()
|
D | LayersTraceSubjectTest.kt | 69 .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/ |
D | LayersTraceSubject.kt | 208 fun visibleRegion(): RegionTraceSubject = in <lambda>() method 209 visibleRegion(componentMatcher = null, useCompositionEngineRegionOnly = false) in <lambda>() 212 fun visibleRegion(componentMatcher: IComponentMatcher?): RegionTraceSubject = in <lambda>() method in android.tools.flicker.subject.layers.LayersTraceSubject 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>()
|
D | LayerTraceEntrySubject.kt | 89 fun visibleRegion(): RegionSubject = in <lambda>() method 90 visibleRegion(componentMatcher = null, useCompositionEngineRegionOnly = true) in <lambda>() 93 fun visibleRegion(componentMatcher: IComponentMatcher): RegionSubject = in <lambda>() method in android.tools.flicker.subject.layers.LayerTraceEntrySubject 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>()
|
D | LayerSubject.kt | 58 val visibleRegion: RegionSubject constant in android.tools.flicker.subject.layers.LayerSubject 59 get() = RegionSubject(layer.visibleRegion, timestamp, reader)
|