Home
last modified time | relevance | path

Searched refs:NodeSpec (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DNodeController.kt60 interface NodeSpec { interface
61 val parent: NodeSpec?
63 val children: List<NodeSpec>
67 override val parent: NodeSpec?,
69 ) : NodeSpec {
70 override val children = mutableListOf<NodeSpec>()
76 fun treeSpecToStr(tree: NodeSpec): String { in treeSpecToStr()
80 private fun treeSpecToStrHelper(tree: NodeSpec, sb: StringBuilder, indent: String) { in treeSpecToStrHelper()
DShadeViewDiffer.kt50 fun applySpec(spec: NodeSpec) { in <lambda>()
72 specMap: Map<NodeController, NodeSpec> in <lambda>()
92 parentSpec: NodeSpec?, in <lambda>()
94 childSpec: NodeSpec? in <lambda>()
124 specMap: Map<NodeController, NodeSpec> in <lambda>()
162 private fun getNode(spec: NodeSpec): ShadeNode { in <lambda>()
172 private fun treeToMap(tree: NodeSpec): Map<NodeController, NodeSpec> { in <lambda>()
173 val map = mutableMapOf<NodeController, NodeSpec>() in <lambda>()
185 private fun registerNodes(node: NodeSpec, map: MutableMap<NodeController, NodeSpec>) { in <lambda>()
DShadeViewManager.kt50 private fun buildTree(notifList: List<ListEntry>): NodeSpec { in <lambda>()
68 private fun buildNotifNode(entry: ListEntry, parent: NodeSpec): NodeSpec = when (entry) { in <lambda>()
DShadeViewDifferLogger.kt72 fun logDuplicateNodeInTree(node: NodeSpec, ex: RuntimeException) { in logDuplicateNodeInTree()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/
DShadeViewDifferTest.java200 private void applySpecAndCheck(NodeSpec spec) { in applySpecAndCheck()
209 private void checkMatchesSpec(NodeSpec spec) { in checkMatchesSpec()
211 final List<NodeSpec> children = spec.getChildren(); in checkMatchesSpec()
214 NodeSpec childSpec = children.get(i); in checkMatchesSpec()
288 public NodeSpec build() { in build()
292 public NodeSpec build(@Nullable NodeSpec parent) { in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
DNotifSectioner.java24 import com.android.systemui.statusbar.notification.collection.render.NodeSpec;