Searched refs:rootLayers (Results 1 – 7 of 7) sorted by relevance
143 val rootLayers = mutableListOf<Layer>() in <lambda>() constant151 rootLayers.add(firstRoot) in <lambda>()154 rootLayers.addAll(remainingRoots) in <lambda>()157 orphans.removeAll(rootLayers) in <lambda>()160 return rootLayers in <lambda>()
133 private fun fillFlattenedLayers(rootLayers: Collection<Layer>): Collection<Layer> { in <lambda>()135 val roots = rootLayers.fillOcclusionState().toMutableList() in <lambda>()
38 val rootLayers = entry.children in detectRootLayer() constant40 .that(rootLayers.size) in detectRootLayer()42 val firstParentId = rootLayers.first().parentId in detectRootLayer()44 .that(rootLayers.all { it.parentId == firstParentId }) in detectRootLayer()
43 fun addDisplay(rootLayers: List<MockLayerBuilder>): MockLayerTraceEntryBuilder = apply { in <lambda>()45 MockLayerBuilder("Display").setAbsoluteBounds(bounds).addChildren(rootLayers).build() in <lambda>()
57 fun addChildren(rootLayers: Collection<MockLayerBuilder>): MockLayerBuilder = apply { in <lambda>()58 rootLayers.forEach { addChild(it) } in <lambda>()
181 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()
217 val rootLayers = entry.children in <lambda>() constant219 .that(rootLayers.size) in <lambda>()221 val firstParentId = rootLayers.first().parentId in <lambda>()223 .that(rootLayers.all { it.parentId == firstParentId }) in <lambda>()