Home
last modified time | relevance | path

Searched refs:layerId (Results 1 – 22 of 22) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DTransitionChange.kt23 val layerId: Int, constant in android.tools.traces.wm.TransitionChange
31 result = 31 * result + layerId in toString()
41 if (layerId != other.layerId) return false in equals()
51 ?.firstOrNull { it.id == change.layerId } in format()
DTransitionInfo.kt21 val layerId: Int, constant in android.tools.traces.wm.TransitionInfo.Change
DWindowContainer.kt30 val layerId: Int constant
DWindowContainerImpl.kt33 override val layerId: Int, constant in android.tools.traces.wm.WindowContainerImpl
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DExactComponentIdMatcher.kt30 class ExactComponentIdMatcher(private val windowId: Int, private val layerId: Int) : constant in android.tools.traces.component.ExactComponentIdMatcher
50 override fun layerMatchesAnyOf(layers: Collection<Layer>) = layers.any { it.id == layerId } in <lambda>()
56 ): Boolean = condition(layers.filter { it.id == layerId }) in check()
65 override fun toLayerIdentifier(): String = "Layer#$layerId"
DFullComponentIdMatcher.kt30 class FullComponentIdMatcher(val windowId: Int, val layerId: Int) : IComponentMatcher { constant in android.tools.traces.component.FullComponentIdMatcher
60 it.id == layerId -> true in layerMatchesAnyOf()
79 override fun toLayerIdentifier(): String = "Layer#$layerId & children"
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DConditionsFactory.kt245 fun isLayerVisible(layerId: Int): Condition<DeviceStateDump> = in <lambda>()
246 Condition("isLayerVisible[layerId=$layerId]") { in <lambda>()
247 it.layerState.getLayerById(layerId)?.isVisible ?: false in <lambda>()
263 fun isLayerColorAlphaOne(layerId: Int): Condition<DeviceStateDump> = in <lambda>()
264 Condition("isLayerColorAlphaOne[$layerId]") { in <lambda>()
265 val layer = it.layerState.getLayerById(layerId) in <lambda>()
283 fun isLayerTransformFlagSet(layerId: Int, transform: Int): Condition<DeviceStateDump> = in <lambda>()
284 Condition("isLayerTransformFlagSet[$layerId, $transform]") { in <lambda>()
285 val layer = it.layerState.getLayerById(layerId) in <lambda>()
289 fun isLayerTransformIdentity(layerId: Int): Condition<DeviceStateDump> = in <lambda>()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/config/splitscreen/
DComponents.kt56 FullComponentIdMatcher(change.windowId, change.layerId) in <lambda>()
83 FullComponentIdMatcher(change.windowId, change.layerId) in <lambda>()
103 val layerIds = associatedTransition.changes.map { it.layerId } in <lambda>()
106 layersTrace.entries.last().flattenedLayers.first { it.id == change.layerId } in <lambda>()
113 .filter { appIds.contains(it.layerId) } in <lambda>()
114 .map { FullComponentIdMatcher(it.windowId, it.layerId) } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/
DTransitionFilters.kt50 launcherLayers.any { it.id == change.layerId } in <lambda>()
81 !isWallpaperTokenLayer(it.layerId, layersTrace) && in <lambda>()
82 !isLauncherTopLevelTaskLayer(it.layerId, layersTrace) in <lambda>()
91 it.transitMode == TO_FRONT && isWallpaperTokenLayer(it.layerId, layersTrace) in <lambda>()
95 isLauncherTopLevelTaskLayer(it.layerId, layersTrace) in <lambda>()
113 isLauncherTopLevelTaskLayer(it.layerId, layersTrace) in <lambda>()
148 .map { it.layerId } in <lambda>()
155 .map { it.layerId } in <lambda>()
160 transition.changes.filter { it.layerId != wallpaperId && it.layerId != launcherId } in <lambda>()
185 private fun isLauncherTopLevelTaskLayer(layerId: Int, layersTrace: LayersTrace): Boolean { in <lambda>()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayersTrace.kt73 fun getLayerDescriptorById(layerId: Int): LayerDescriptor? { in <lambda>()
75 val layer = entry.getLayerById(layerId) in <lambda>()
DLayerTraceEntry.kt76 fun getLayerById(layerId: Int): Layer? = this.flattenedLayers.firstOrNull { it.id == layerId } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DTaggedCujTransitionMatcher.kt178 layers.firstOrNull { it.id == change.layerId } in isPermissionDialogOpenTransition()
194 .map { it.layerId } in isTrampolinedOpenTransition()
215 .map { it.layerId } in isTrampolinedOpenTransition()
222 .map { it.layerId } in isTrampolinedOpenTransition()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockWindowStateBuilder.kt55 root = newEmptyRootContainer(orientation = 1, layerId = 1), in build()
DUtils.kt234 fun newEmptyRootContainer(orientation: Int = 0, layerId: Int = 0) =
240 layerId = layerId,
/platform_testing/libraries/flicker/src/android/tools/flicker/config/desktopmode/
DComponents.kt38 FullComponentIdMatcher(change.windowId, change.layerId) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/pip/
DComponents.kt41 FullComponentIdMatcher(change.windowId, change.layerId) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/appclose/
DComponents.kt52 targetChanges.map { FullComponentIdMatcher(it.windowId, it.layerId) } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/applaunch/
DComponents.kt52 targetChanges.map { FullComponentIdMatcher(it.windowId, it.layerId) } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DUtils.kt117 it.getLayerDescriptorById(transitionChange.layerId) in isAppTransitionChange()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWmTransitionTraceParser.kt100 it.layerId, in doParseEntry()
DWindowManagerStateBuilder.kt502 layerId = proto.surfaceControl?.layerId ?: 0, in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt106 .map { (layerId, layerRows) -> in <lambda>() method
107 Pair(layerId, newLayer(Args.build(layerRows), excludesCompositionState)) in <lambda>()