/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/ |
D | LayerSubject.kt | 54 val layer: Layer?, in <lambda>() constant 56 ) : FlickerSubject(fm, layer) { in <lambda>() 57 val isEmpty: Boolean get() = layer == null in <lambda>() 59 val isVisible: Boolean get() = layer?.isVisible == true in <lambda>() 60 val isInvisible: Boolean get() = layer?.isVisible == false in <lambda>() 61 val name: String get() = layer?.name ?: "" in <lambda>() 67 RegionSubject.assertThat(layer?.visibleRegion, this) in <lambda>() 73 RegionSubject.assertThat(layer?.screenBounds, this) in <lambda>() 75 override val selfFacts = if (layer != null) { in <lambda>() 76 listOf(Fact.fact("Frame", layer.currFrame), Fact.fact("Layer", layer.name)) in <lambda>() [all …]
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/layers/ |
D | LayerTraceEntryBuilder.kt | 37 layers.forEach { layer -> in <lambda>() method 38 val id = layer.id in <lambda>() 42 result[id] = layer in <lambda>() 73 for (layer in layers.values) { in <lambda>() method 74 val parentId = layer.parentId in <lambda>() 78 orphans.add(layer) in <lambda>() 81 parentLayer.addChild(layer) in <lambda>() 82 layer.parent = parentLayer in <lambda>() 92 for (layer in layers.values) { in <lambda>() method 93 val parentId = layer.zOrderRelativeOfId in <lambda>() [all …]
|
D | LayerTraceEntry.kt | 50 val layer = roots.removeAt(0) in <lambda>() constant 51 layers.add(layer) in <lambda>() 52 roots.addAll(layer.children) in <lambda>() 83 traversalList.forEach { layer -> in <lambda>() method 84 val visible = layer.isVisible in <lambda>() 88 .filter { it.contains(layer) && !it.hasRoundedCorners }.toTypedArray() in <lambda>() 89 layer.addOccludedBy(occludedBy) in <lambda>() 91 .filter { it.overlaps(layer) && it !in layer.occludedBy } in <lambda>() 93 layer.addPartiallyOccludedBy(partiallyOccludedBy) in <lambda>() 94 val coveredBy = transparentLayers.filter { it.overlaps(layer) }.toTypedArray() in <lambda>() [all …]
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/layers/ |
D | LayersTraceTest.kt | 84 val layer = entry.getLayerWithBuffer( in <lambda>() constant 87 .that(layer?.visibleRegion?.isEmpty).isFalse() in <lambda>() 89 .that(layer?.visibleRegion?.toString()) in <lambda>() 95 .that(layer?.visibleRegion?.isEmpty).isFalse() in <lambda>() 97 .that(layer?.visibleRegion?.toString()) in <lambda>() 106 val layer = entry.getLayerWithBuffer(layerName) in <lambda>() constant 107 val occludedBy = layer?.occludedBy ?: emptyArray() in <lambda>() 108 val partiallyOccludedBy = layer?.partiallyOccludedBy ?: emptyArray() in <lambda>()
|
D | LayerSubjectTest.kt | 41 .layer("ImaginaryLayer", 0) in exceptionContainsDebugInfoImaginary() 77 .layer("SoundVizWallpaperV2", 26033) in canTestAssertionsOnLayer() 82 .layer("DoesntExist", 1) in canTestAssertionsOnLayer()
|
D | LayersTraceEntryTest.kt | 139 val layer = entry.flattenedLayers.first { it.name == layerName } in testCanParseNonCroppedLayerWithHWC() constant 141 .that(layer.visibilityReason) in testCanParseNonCroppedLayerWithHWC()
|
D | LayersTraceSubjectTest.kt | 235 val region = it.layer?.visibleRegion ?: Region() in <lambda>()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | WindowManagerConditionsFactory.kt | 181 layers.any { layer -> layer.color.a == 1.0f } in <lambda>() method 188 val layer = it.layerState.getLayerById(layerId) in <lambda>() constant 189 layer?.color?.a == 1.0f in <lambda>() 199 layers.any { layer -> isTransformFlagSet(layer, transform) } in <lambda>() method 207 val layer = it.layerState.getLayerById(layerId) in <lambda>() constant 208 layer?.transform?.type?.isFlagSet(transform) ?: false in <lambda>() 220 private fun isTransformFlagSet(layer: Layer, transform: Int): Boolean = in <lambda>() 221 layer.transform.type?.isFlagSet(transform) ?: false in <lambda>()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/assertors/ |
D | TransitionAssertor.kt | 84 val layer = assertion.getFailureLayer(tag, wmSubject, layerSubject) in <lambda>() constant 92 layerId = layer?.id ?: 0, in <lambda>()
|
D | BaseAssertion.kt | 89 failureSubject.layer in getFailureLayer()
|
/platform_testing/libraries/flicker/ |
D | README.md | 138 // Example adds an assertion to the check if layer is hidden by parent. 141 // such as if layer is not found or layer is not hidden by parent 142 // or layer has no parent. 158 // Check if "Chrome" layer is hidden by parent in the first trace entry.
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/ |
D | WindowManagerTraceParser.kt | 405 layer = proto.animator?.surface?.layer ?: 0, in <lambda>()
|