Home
last modified time | relevance | path

Searched refs:layers (Results 1 – 25 of 46) sorted by relevance

12

/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DExactComponentIdMatcher.kt50 override fun layerMatchesAnyOf(layers: Collection<Layer>) = layers.any { it.id == layerId } in <lambda>()
54 layers: Collection<Layer>, in check()
56 ): Boolean = condition(layers.filter { it.id == layerId }) in check()
DEdgeExtensionComponentMatcher.kt37 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf()
38 return layers.any { in layerMatchesAnyOf()
51 layers: Collection<Layer>, in check()
53 ): Boolean = condition(layers.filter { layerMatchesAnyOf(it) }) in check()
DFullComponentIdMatcher.kt56 override fun layerMatchesAnyOf(layers: Collection<Layer>) = in layerMatchesAnyOf()
57 layers.any { in layerMatchesAnyOf()
68 layers: Collection<Layer>, in check()
70 ): Boolean = condition(layers.filter { layerMatchesAnyOf(it) }) in check()
DIComponentMatcher.kt62 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()
109 layers.filter { layerMatchesAnyOf(it) } in windowMatchesAnyOf()
DComponentSplashScreenMatcher.kt33 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf()
34 return layers.any { in layerMatchesAnyOf()
70 layers: Collection<Layer>, in check()
73 val splashScreenLayer = layers.filter { layerMatchesAnyOf(it) } in check()
DOrComponentMatcher.kt52 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in <lambda>()
53 return componentMatchers.any { it.layerMatchesAnyOf(layers) } in <lambda>()
58 layers: Collection<Layer>, in <lambda>()
62 oredComponent.check(layers) { condition(it) } in <lambda>()
DComponentNameMatcher.kt40 override fun activityRecordMatchesAnyOf(layers: Collection<Layer>): Boolean = in toActivityName()
41 layers.any { activityRecordFilter.invoke(it.name) } in toActivityName()
56 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean = in layerMatchesAnyOf()
57 layers.any { layerNameFilter.invoke(it.name) } in layerMatchesAnyOf()
61 layers: Collection<Layer>, in check()
63 ): Boolean = condition(layers.filter { layerMatchesAnyOf(it) }) in check()
DIComponentNameMatcher.kt35 fun activityRecordMatchesAnyOf(layers: Collection<Layer>): Boolean
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerTraceEntryBuilder.kt27 private var layers: MutableMap<Int, Layer> = mutableMapOf() in <lambda>() variable in android.tools.traces.surfaceflinger.LayerTraceEntryBuilder
63 fun setLayers(layers: Collection<Layer>): LayerTraceEntryBuilder = apply { in <lambda>()
65 layers.forEach { layer -> in <lambda>()
73 this.layers = result in <lambda>()
106 for (layer in layers.values) { in <lambda>()
109 val parentLayer = layers[parentId] in <lambda>()
125 for (layer in layers.values) { in <lambda>()
128 val parentLayer = layers[parentId] in <lambda>()
DLayer.kt200 fun addOccludedBy(layers: Collection<Layer>) { in addOccludedBy()
201 _occludedBy.addAll(layers) in addOccludedBy()
204 fun addPartiallyOccludedBy(layers: Collection<Layer>) { in addPartiallyOccludedBy()
205 _partiallyOccludedBy.addAll(layers) in addPartiallyOccludedBy()
208 fun addCoveredBy(layers: Collection<Layer>) { in addCoveredBy()
209 _coveredBy.addAll(layers) in addCoveredBy()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerTraceEntryBuilder.kt28 private val layers = mutableListOf<Layer>() constant
61 this.layers.add(displayLayer) in <lambda>()
78 _rootLayers = layers in build()
DMockLayerBuilder.kt98 val layers = mutableListOf<Layer>() in <lambda>() constant
99 layers.add(thisLayer) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DAssertionDataFactoryTest.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
21 import android.tools.flicker.subject.layers.LayersTraceSubject
DTestSubjectsParser.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
21 import android.tools.flicker.subject.layers.LayersTraceSubject
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayerTraceEntrySubject.kt17 package android.tools.flicker.subject.layers in <lambda>()
151 val layers = subjects.map { it.layer } in <lambda>() constant
152 val foundElements = componentMatcher.filterLayers(layers) in <lambda>()
170 val layers = subjects.map { it.layer } in <lambda>() constant
171 val matchedLayers = componentMatcher.filterLayers(layers) in <lambda>()
193 val layers = subjects.map { it.layer } in <lambda>() constant
195 componentMatcher.check(layers) { componentLayers -> in <lambda>()
207 .filterLayers(layers) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DTaggedCujTransitionMatcher.kt175 val layers = layersTrace.entries.flatMap { it.flattenedLayers }.distinctBy { it.id } in isPermissionDialogOpenTransition() constant
178 layers.firstOrNull { it.id == change.layerId } in isPermissionDialogOpenTransition()
204 val layers = layersTrace.entries.flatMap { it.flattenedLayers }.distinctBy { it.id } in isTrampolinedOpenTransition() constant
207 val candidateTaskLayer = layers.first { it.id == candidateTaskLayerId } in isTrampolinedOpenTransition()
236 val candidateTrampolinedActivity = layers.first { it.id == candidateTrampolinedActivityId } in isTrampolinedOpenTransition()
242 val candidateTargetActivity = layers.first { it.id == candidateTargetActivityId } in isTrampolinedOpenTransition()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DFlickerTest.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
21 import android.tools.flicker.subject.layers.LayersTraceSubject
DBaseFlickerTest.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
21 import android.tools.flicker.subject.layers.LayersTraceSubject
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayerSubjectTest.kt21 import android.tools.flicker.subject.layers.LayerSubject
22 import android.tools.flicker.subject.layers.LayersTraceSubject
/platform_testing/libraries/flicker/test/src/android/tools/flicker/surfaceflinger/
DLayerTraceSubjectTest.kt19 import android.tools.flicker.subject.layers.LayersTraceSubject
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DVisibleLayersShownMoreThanOneConsecutiveEntry.kt22 import android.tools.flicker.subject.layers.LayersTraceSubject.Companion.VISIBLE_FOR_MORE_THAN_ONE_…
DLayerReduces.kt27 val pipLayerList = layers { in <lambda>()
DAppLayerReduces.kt30 val layerList = layers { layerMatcher.layerMatchesAnyOf(it) && it.isVisible } in <lambda>()
DSplitAppLayerBoundsBecomesVisible.kt24 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
25 import android.tools.flicker.subject.layers.LayersTraceSubject
/platform_testing/libraries/flicker/src/android/tools/flicker/config/splitscreen/
DComponents.kt104 val layers = in <lambda>() constant
109 val appIds = layers.filter { layerIds.contains(it.parent?.parent?.id) }.map { it.id } in <lambda>()

12