Home
last modified time | relevance | path

Searched refs:rootLayers (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerTraceEntryBuilder.kt143 val rootLayers = mutableListOf<Layer>() in <lambda>() constant
151 rootLayers.add(firstRoot) in <lambda>()
154 rootLayers.addAll(remainingRoots) in <lambda>()
157 orphans.removeAll(rootLayers) in <lambda>()
160 return rootLayers in <lambda>()
DLayerTraceEntry.kt133 private fun fillFlattenedLayers(rootLayers: Collection<Layer>): Collection<Layer> { in <lambda>()
135 val roots = rootLayers.fillOcclusionState().toMutableList() in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayersTraceTest.kt38 val rootLayers = entry.children in detectRootLayer() constant
40 .that(rootLayers.size) in detectRootLayer()
42 val firstParentId = rootLayers.first().parentId in detectRootLayer()
44 .that(rootLayers.all { it.parentId == firstParentId }) in detectRootLayer()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerTraceEntryBuilder.kt43 fun addDisplay(rootLayers: List<MockLayerBuilder>): MockLayerTraceEntryBuilder = apply { in <lambda>()
45 MockLayerBuilder("Display").setAbsoluteBounds(bounds).addChildren(rootLayers).build() in <lambda>()
DMockLayerBuilder.kt57 fun addChildren(rootLayers: Collection<MockLayerBuilder>): MockLayerBuilder = apply { in <lambda>()
58 rootLayers.forEach { addChild(it) } in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayerTraceEntrySubjectTest.kt181 rootLayers = in orComponentMatcher_visibility_oneVisibleOtherInvisible()
214 rootLayers = in orComponentMatcher_visibility_oneVisibleOtherMissing()
244 rootLayers = in canUseOrComponentMatcher_visibility_allVisible()
279 rootLayers = in canUseOrComponentMatcher_contains_withOneExists()
307 val layerTraceEntry = MockLayerTraceEntryBuilder().addDisplay(rootLayers = listOf()).build() in canUseOrComponentMatcher_contains_withNoneExists()
330 rootLayers = in canUseOrComponentMatcher_contains_withBothExists()
DLayersTraceSubjectTest.kt217 val rootLayers = entry.children in <lambda>() constant
219 .that(rootLayers.size) in <lambda>()
221 val firstParentId = rootLayers.first().parentId in <lambda>()
223 .that(rootLayers.all { it.parentId == firstParentId }) in <lambda>()