Home
last modified time | relevance | path

Searched refs:Layer (Results 1 – 23 of 23) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DIComponentMatcher.kt19 import android.tools.traces.surfaceflinger.Layer
56 fun layerMatchesAnyOf(layer: Layer): Boolean = layerMatchesAnyOf(listOf(layer)) in windowMatchesAnyOf()
62 fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean in windowMatchesAnyOf()
106 fun check(layers: Collection<Layer>, condition: (Collection<Layer>) -> Boolean): Boolean in windowMatchesAnyOf()
108 fun filterLayers(layers: Collection<Layer>): Collection<Layer> = in windowMatchesAnyOf()
DIComponentNameMatcher.kt19 import android.tools.traces.surfaceflinger.Layer
28 fun activityRecordMatchesAnyOf(layer: Layer): Boolean =
35 fun activityRecordMatchesAnyOf(layers: Collection<Layer>): Boolean
DComponentSplashScreenMatcher.kt19 import android.tools.traces.surfaceflinger.Layer
33 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf()
43 var ancestor: Layer? = it.parent?.parent in layerMatchesAnyOf()
70 layers: Collection<Layer>, in check()
71 condition: (Collection<Layer>) -> Boolean in check()
DExactComponentIdMatcher.kt19 import android.tools.traces.surfaceflinger.Layer
50 override fun layerMatchesAnyOf(layers: Collection<Layer>) = layers.any { it.id == layerId } in <lambda>()
54 layers: Collection<Layer>, in check()
55 condition: (Collection<Layer>) -> Boolean in check()
DEdgeExtensionComponentMatcher.kt19 import android.tools.traces.surfaceflinger.Layer
37 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf()
51 layers: Collection<Layer>, in check()
52 condition: (Collection<Layer>) -> Boolean in check()
DOrComponentMatcher.kt19 import android.tools.traces.surfaceflinger.Layer in <lambda>()
47 override fun layerMatchesAnyOf(layer: Layer): Boolean { in <lambda>()
52 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in <lambda>()
58 layers: Collection<Layer>, in <lambda>()
59 condition: (Collection<Layer>) -> Boolean in <lambda>()
DFullComponentIdMatcher.kt19 import android.tools.traces.surfaceflinger.Layer
56 override fun layerMatchesAnyOf(layers: Collection<Layer>) = in layerMatchesAnyOf()
68 layers: Collection<Layer>, in check()
69 condition: (Collection<Layer>) -> Boolean in check()
DComponentNameMatcher.kt19 import android.tools.traces.surfaceflinger.Layer
40 override fun activityRecordMatchesAnyOf(layers: Collection<Layer>): Boolean = in toActivityName()
56 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean = in layerMatchesAnyOf()
61 layers: Collection<Layer>, in check()
62 condition: (Collection<Layer>) -> Boolean in check()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerTraceEntryBuilder.kt25 private var orphanLayerCallback: ((Layer) -> Boolean)? = null in <lambda>()
26 private val orphans = mutableListOf<Layer>() in <lambda>()
27 private var layers: MutableMap<Int, Layer> = mutableMapOf() in <lambda>()
35 private var duplicateLayerCallback: ((Layer) -> Boolean) = { in <lambda>()
63 fun setLayers(layers: Collection<Layer>): LayerTraceEntryBuilder = apply { in <lambda>()
64 val result = mutableMapOf<Int, Layer>() in <lambda>()
76 fun setOrphanLayerCallback(value: ((Layer) -> Boolean)?): LayerTraceEntryBuilder = apply { in <lambda>()
80 fun setDuplicateLayerCallback(value: ((Layer) -> Boolean)): LayerTraceEntryBuilder = apply { in <lambda>()
137 private fun computeRootLayers(): Collection<Layer> { in <lambda>()
143 val rootLayers = mutableListOf<Layer>() in <lambda>()
[all …]
DLayerTraceEntry.kt40 _rootLayers: Collection<Layer> in <lambda>()
47 val flattenedLayers: Collection<Layer> = fillFlattenedLayers(_rootLayers) in <lambda>()
52 val visibleLayers: Collection<Layer> in <lambda>()
55 val children: Collection<Layer> in <lambda>()
69 fun getLayerWithBuffer(componentMatcher: IComponentMatcher): Layer? { in <lambda>()
76 fun getLayerById(layerId: Int): Layer? = this.flattenedLayers.firstOrNull { it.id == layerId } in <lambda>()
133 private fun fillFlattenedLayers(rootLayers: Collection<Layer>): Collection<Layer> { in <lambda>()
134 val layers = mutableListOf<Layer>() in <lambda>()
144 private fun Collection<Layer>.topDownTraversal(): List<Layer> { in <lambda>()
148 private fun Layer.topDownTraversal(): List<Layer> { in <lambda>() method
[all …]
DLayer.kt34 class Layer class
44 var parent: Layer? = null
45 var zOrderRelativeOf: Layer? = null
57 private val _children = mutableListOf<Layer>()
58 private val _occludedBy = mutableListOf<Layer>()
59 private val _partiallyOccludedBy = mutableListOf<Layer>()
60 private val _coveredBy = mutableListOf<Layer>()
61 val children: Collection<Layer>
63 val occludedBy: Collection<Layer>
65 val partiallyOccludedBy: Collection<Layer>
[all …]
DLayerDescriptor.kt3 class LayerDescriptor(layer: Layer) {
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerBuilder.kt27 import android.tools.traces.surfaceflinger.Layer in <lambda>()
63 fun build(): Layer { in <lambda>()
70 Layer.from( in <lambda>()
98 val layers = mutableListOf<Layer>() in <lambda>()
DMockLayerTraceEntryBuilder.kt22 import android.tools.traces.surfaceflinger.Layer
28 private val layers = mutableListOf<Layer>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayerSubject.kt24 import android.tools.traces.surfaceflinger.Layer
48 val layer: Layer
74 operator fun invoke(assertion: (Layer) -> Unit): LayerSubject = apply { assertion(this.layer) } in <lambda>()
DILayerSubject.kt22 import android.tools.traces.surfaceflinger.Layer
DLayerTraceEntrySubject.kt35 import android.tools.traces.surfaceflinger.Layer in <lambda>()
331 fun layer(predicate: (Layer) -> Boolean): LayerSubject? = in <lambda>()
334 private fun getActivityRecordFor(layer: Layer): Layer? { in <lambda>()
DLayersTraceSubject.kt30 import android.tools.traces.surfaceflinger.Layer in <lambda>()
102 fun layers(predicate: (Layer) -> Boolean): List<LayerSubject> = in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayerTest.kt123 ): Layer { in makeLayerWithDefaults()
124 return Layer.from( in makeLayerWithDefaults()
DLayerTraceEntryBuilderTest.kt82 Layer.from( in removesLayersFromOffDisplays()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt31 import android.tools.traces.surfaceflinger.Layer in <lambda>()
45 private val orphanLayerCallback: ((Layer) -> Boolean)? = null, in <lambda>()
159 private fun newLayer(layer: Args, excludesCompositionState: Boolean): Layer { in <lambda>()
165 return Layer.from( in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DWindowManagerStateHelperTest.kt34 import android.tools.traces.surfaceflinger.Layer in <lambda>()
95 private fun createImaginaryLayer(name: String, index: Int, id: Int, parentId: Int): Layer { in <lambda>()
104 return Layer.from( in <lambda>()
132 private fun createImaginaryVisibleLayers(names: List<IComponentName>): Collection<Layer> { in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DConditionsFactory.kt24 import android.tools.traces.surfaceflinger.Layer in <lambda>()
298 private fun isTransformFlagSet(layer: Layer, transform: Int): Boolean = in <lambda>()