Home
last modified time | relevance | path

Searched defs:node (Results 1 – 25 of 168) sorted by relevance

1234567

/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/
DActions.kt189 val node = fetchSemanticsNode("Failed: performScrollToKey(\"$key\")") in performScrollToKey() constant
236 val node = scrollToMatchingDescendantOrReturnScrollable(matcher) ?: return this in SemanticsNodeInteraction() constant
277 var node = fetchSemanticsNode("Failed: performScrollToNode(${matcher.description})") in SemanticsNodeInteraction() variable
327 val node = fetchSemanticsNode("Failed to perform a gesture.") in SemanticsNodeInteraction() constant
384 val node = fetchSemanticsNode("Failed to inject touch input.") in SemanticsNodeInteraction() constant
433 val node = fetchSemanticsNode("Failed to inject mouse input.") in SemanticsNodeInteraction() constant
472 val node = fetchSemanticsNode("Failed to inject key input.") in SemanticsNodeInteraction() constant
521 val node = fetchSemanticsNode("Failed to inject multi-modal input.") in SemanticsNodeInteraction() constant
571 val node = fetchSemanticsNode("Failed to perform ${key.name} action.") in performSemanticsAction() constant
620 val node = fetchSemanticsNode("Failed to send rotary Event") in SemanticsNodeInteraction() constant
[all …]
DBoundsAssertions.kt159 val node = fetchSemanticsNode("Failed to retrieve bounds of the node.") in SemanticsNodeInteraction() constant
200 val node = fetchSemanticsNode(errorMessage) in <lambda>() constant
251 val node = fetchSemanticsNode("Failed to retrieve density for the node.") in withDensity() constant
259 val node = fetchSemanticsNode("Failed to retrieve bounds of the node.") in SemanticsNodeInteraction() constant
273 val node = fetchSemanticsNode("Failed to retrieve bounds of the node.") in SemanticsNodeInteraction() constant
DTextActions.kt102 val node = getNodeAndFocus(errorOnFail, requireEditable = false) in SemanticsNodeInteraction() constant
124 val node = fetchSemanticsNode(errorOnFail) in SemanticsNodeInteraction() constant
/compose/ui/ui/src/androidUnitTest/kotlin/androidx/compose/ui/node/
DDelegatingNodeTest.kt75 val node = DelegatedWrapper { DrawMod() } in testAsKindReturnsDelegate() constant
103 val node = DelegatedWrapper { DelegatedWrapper { DrawMod() } } in testAsKindReturnsNestedDelegate() constant
111 val node = in testAsKindReturnsSelf() constant
126 val node = in testAsKindMultipleDelegatesReturnsLast() constant
138 val node = in testDispatchForMultipleDelegatesSameKind() constant
148 val node = in testDispatchForSelfOnlyDispatchesToSelf() constant
161 val node = in testDispatchNestedSelfStops() constant
247 val node = object : DelegatingNode() {} in testUndelegate() constant
270 val node = object : DelegatingNode() {} in testUndelegateWithMultipleDelegates() constant
398 val node = object : DelegatingNode() {} in testDelegateUndelegateInNode() constant
[all …]
DLayoutNodeTest.kt111 val node = LayoutNode() in <lambda>() constant
130 val (node, child1, child2) = createSimpleLayout() in <lambda>() constant
181 val (node, child1, child2) = createSimpleLayout() in <lambda>() constant
197 val (node, child1, child2) = createSimpleLayout() in <lambda>() constant
217 val (node, child1, child2) = createSimpleLayout() in <lambda>() constant
234 val (node, child1, child2) = createSimpleLayout() in <lambda>() constant
252 val node = LayoutNode() in <lambda>() constant
267 val node = LayoutNode() in <lambda>() constant
275 val node = LayoutNode() in <lambda>() constant
291 val node = LayoutNode() in <lambda>() constant
[all …]
/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/
DIntervalTree.kt156 val node = s.removeAt(s.size - 1) in forEach() constant
185 val node = next in contains() constant
205 val node = Node(start, end, data, TreeColorRed) in addInterval() constant
239 var node = target in rebalance() variable
352 var node = this in <lambda>() variable
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/node/
DCompositeKeyHashTest.kt48 val node = object : Modifier.Node() {} in <lambda>() constant
193 val node = object : Modifier.Node() {} in <lambda>() constant
211 val node = object : Modifier.Node() {} in <lambda>() constant
226 val node = object : Modifier.Node() {} in <lambda>() constant
245 val node = object : Modifier.Node() {} in <lambda>() constant
303 val node = remember { object : Modifier.Node() {} } in <lambda>() constant
316 val node = remember { object : Modifier.Node() {} } in <lambda>() constant
330 val node = remember { object : Modifier.Node() {} } in <lambda>() constant
344 val node = remember { object : Modifier.Node() {} } in <lambda>() constant
DModifierNodeNearestAncestorTest.kt38 val node = object : Modifier.Node() {} in noAncestors() constant
51 val (ancestor, node) = List(2) { object : Modifier.Node() {} } in nearestAncestorInDifferentLayoutNode_nonContiguousParentLayoutNode() constant
66 val (ancestor, node) = List(2) { object : Modifier.Node() {} } in nearestAncestorWithinCurrentLayoutNode_immediateParent() constant
79 val (ancestor, node) = List(2) { object : Modifier.Node() {} } in nearestAncestorWithinCurrentLayoutNode_nonContiguousAncestor() constant
92 val (ancestor, node) = List(2) { object : Modifier.Node() {} } in nearestAncestorInDifferentLayoutNode_immediateParentLayoutNode() constant
106 val (ancestor1, ancestor2, node) = List(3) { object : Modifier.Node() {} } in unattachedLocalAncestorIsSkipped() constant
121 val (ancestor, localAncestor, node) = List(3) { object : Modifier.Node() {} } in unattachedLocalAncestor_returnsAncestorInParentNode() constant
140 val (ancestor1, ancestor2, node) = List(3) { object : Modifier.Node() {} } in unattachedAncestorInParentNodeIsSkipped() constant
DModifierNodeChildTest.kt38 val node = object : Modifier.Node() {} in noChildren() constant
51 val (node, localChild1, localChild2) = List(3) { object : Modifier.Node() {} } in localChild() constant
66 val (node, localChild) = List(2) { object : Modifier.Node() {} } in nonContiguousChild() constant
79 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in doesNotReturnChildInDifferentLayoutNode() constant
93 val (node, child) = List(2) { object : Modifier.Node() {} } in differentLayoutNode_nonContiguousChild() constant
111 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in withinCurrentLayoutNode_skipsUnAttachedChild() constant
DModifierNodeVisitSelfAndChildrenTest.kt38 val node = object : Modifier.Node() {} in noChildren() constant
52 val (node, child) = List(2) { object : Modifier.Node() {} } in oneChild() constant
66 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in multipleNodesInModifierChain() constant
80 val (node, child) = List(2) { object : Modifier.Node() {} } in nonContiguousChild() constant
94 val (node, child) = List(2) { object : Modifier.Node() {} } in childInDifferentLayoutNode() constant
108 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in childrenInDifferentLayoutNode() constant
127 val (node, child) = List(2) { object : Modifier.Node() {} } in childInDifferentLayoutNodeNonContiguous() constant
146 val (node, child1, child2, child3) = List(4) { object : Modifier.Node() {} } in childrenInDifferentLayoutNodeNonContiguous() constant
166 val (node, child1, child2, child3) = List(4) { object : Modifier.Node() {} } in skipsUnattachedItems() constant
DModifierNodeAncestorsTest.kt39 val node = object : Modifier.Node() {} in noAncestors() constant
52 val node = object : Modifier.Node() {} in noMatchingAncestors() constant
65 val (node, localAncestor1, localAncestor2) = List(3) { object : Modifier.Node() {} } in returnsLocalAncestors() constant
85 val (node, ancestor1, ancestor2, other) = List(4) { object : Modifier.Node() {} } in returnsAncestors() constant
116 val (node, localAncestor1) = List(3) { object : Modifier.Node() {} } in doesNotReturnUnattachedAncestors() constant
153 val (node, other1, other2, other3) = List(4) { FocusTargetNode() } in findAncestorsOfType() constant
DModifierNodeVisitLocalAncestorsTest.kt38 val node = object : Modifier.Node() {} in noParents() constant
52 val (node, parent) = List(2) { object : Modifier.Node() {} } in doesNotVisitOtherLayoutNodes() constant
66 val (node, ancestor1, ancestor2) = List(3) { object : Modifier.Node() {} } in multipleAncestors() constant
80 val (node, child, parent) = List(3) { object : Modifier.Node() {} } in doesNotVisitChild() constant
94 val (node, ancestor1, ancestor2) = List(3) { object : Modifier.Node() {} } in nonContiguousAncestors() constant
117 val (node, ancestor1, ancestor2, ancestor3) = List(4) { object : Modifier.Node() {} } in skipsUnattachedAncestors() constant
DModifierNodeVisitAncestorsTest.kt41 val node = object : Modifier.Node() {} in <lambda>() constant
55 val (node, localParent1, localParent2) = List(3) { object : Modifier.Node() {} } in <lambda>() constant
73 val (node, localParent1, localParent2) = List(3) { object : Modifier.Node() {} } in <lambda>() constant
97 val (node, localParent) = List(2) { object : Modifier.Node() {} } in <lambda>() constant
121 val node = object : Modifier.Node() {} in <lambda>() constant
162 val detachableNode = DetachableNode { node -> in <lambda>() method
191 val detachableNode = DetachableNode { node -> in <lambda>() method
DCompositionLocalConsumerModifierNodeTest.kt89 val node = in <lambda>() constant
104 val node = in <lambda>() constant
122 val node = in <lambda>() constant
152 val node = in <lambda>() constant
167 val node = in <lambda>() constant
185 val node = in <lambda>() constant
DModifierNodeVisitSubtreeTest.kt39 val node = object : Modifier.Node() {} in noChildren() constant
53 val (parent, node, localChild1, localChild2) = List(4) { object : Modifier.Node() {} } in localChildren() constant
74 val (node, child1, child2, child3, child4) = List(5) { object : Modifier.Node() {} } in differentLayoutNodes() constant
100 val (node, child1, child2, child3, child4) = List(5) { object : TrackedNode() {} } in differentLayoutNodesInDrawOrder_zIndex() constant
126 val (node, child1, child2, child3, child4) = List(5) { object : Modifier.Node() {} } in differentLayoutNodesInDrawOrder_subcompose() constant
148 val (node, localChild1, localChild2) = List(3) { object : Modifier.Node() {} } in skipsUnattached() constant
DModifierNodeVisitChildrenTest.kt54 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in localChildren() constant
68 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in nonContiguousLocalChild() constant
90 val (node, child1, child2, child3) = List(4) { object : Modifier.Node() {} } in visitChildrenInOtherLayoutNodes() constant
112 val (node, child1, child2, child3) = List(5) { object : TrackedNode() {} } in visitChildrenInOtherLayoutNodesInDrawOrder_zIndex() constant
136 val (node, child1, child2, child3) = List(5) { object : Modifier.Node() {} } in visitChildrenInOtherLayoutNodesInDrawOrder_subcompose() constant
158 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in skipsUnattachedLocalChild() constant
174 val (node, child1, child2, child3) = List(4) { object : Modifier.Node() {} } in skipsUnattachedChild() constant
DModifierNodeVisitLocalDescendantsTest.kt52 val (node, child) = List(3) { object : Modifier.Node() {} } in doesNotVisitOtherLayoutNodes() constant
66 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in multipleDescendants() constant
80 val (node, child, parent) = List(3) { object : Modifier.Node() {} } in doesNotVisitParent() constant
94 val (node, child1, child2) = List(3) { object : Modifier.Node() {} } in nonContiguousChildren() constant
117 val (node, child1, child2, child3, child4) = List(5) { object : Modifier.Node() {} } in skipsUnattachedChild() constant
/compose/runtime/runtime/compose-runtime-benchmark/src/androidTest/java/androidx/compose/runtime/benchmark/
DSnapshotStateObserverBenchmark.kt82 nodes.forEach { node -> stateObserver.clear(node) } in <lambda>() method
97 nodes.forEach { node -> stateObserver.clear(node) } in <lambda>() method
100 list.forEach { node -> observeForNode(node) } in <lambda>() method
107 val node = Any() in <lambda>() constant
137 val node = list[index] in <lambda>() constant
147 nodes.forEach { node -> stateObserver.clear(node) } in <lambda>() method
159 stateObserver.clearIf { node -> node in nodeSet } in <lambda>() method
169 repeat(nodes.size) { i -> stateObserver.clearIf { node -> (node as Int) < i } } in <lambda>() method
/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/node/
DNodeChain.kt130 var node: Modifier.Node? = paddedHead.child in <lambda>() variable
182 var node = paddedHead in <lambda>() variable
194 var node = paddedHead.child in <lambda>() variable
234 var node: Modifier.Node? = tail.parent in <lambda>() variable
269 var node: Modifier.Node? = tail.parent in <lambda>() variable
328 headToTailExclusive { node -> in <lambda>() method
414 var node = start.parent in <lambda>() variable
428 var node: Modifier.Node, in <lambda>() variable in androidx.compose.ui.node.NodeChain.Differ
592 val node = in <lambda>() constant
684 var node: Modifier.Node? = head in <lambda>() variable
[all …]
DDepthSortedSet.kt93 val node = set.first() in pop() constant
100 val node = pop() in popEach() constant
202 val node = in popEach() constant
DDelegatableNode.kt45 val node: Modifier.Node in <lambda>() constant
92 var node: Modifier.Node? = if (includeSelf) node else node.parent in visitAncestors() variable
112 var node: Modifier.Node? = node.parent in nearestAncestor() variable
160 var node: Modifier.Node? = branch in visitChildren() variable
187 var node: Modifier.Node? = branch in visitSubtreeIf() variable
304 visitSubtreeIf(type.mask, zOrder) foo@{ node -> in visitSubtreeIf() method
411 var node: Modifier.Node? = delegate in dispatchOnScrollChanged() variable
451 var node: Modifier.Node? = this in dispatchForKind() variable
/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/layout/
DSubcomposeLayout.kt579 val node = in SubcomposeSlotReusePolicy() constant
704 val node = foldedChildren[index] in SubcomposeSlotReusePolicy() constant
727 val node = foldedChildren[i] in SubcomposeSlotReusePolicy() constant
786 val node = foldedChildren[i] in SubcomposeSlotReusePolicy() constant
875 val node = foldedChildren[index] in SubcomposeSlotReusePolicy() constant
897 val node = foldedChildren[reusableNodesSectionStart] in SubcomposeSlotReusePolicy() constant
991 val node = in SubcomposeSlotReusePolicy() constant
1019 val node = precomposeMap.remove(slotId) in SubcomposeSlotReusePolicy() constant
1056 val node = precomposeMap[slotId] in SubcomposeSlotReusePolicy() constant
1082 val node = precomposeMap[slotId] in SubcomposeSlotReusePolicy() constant
[all …]
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/modifier/
DCompositionLocalMapInjectionTest.kt122 val node = ConsumeInDrawNode() in <lambda>() constant
136 val node = ConsumeInLayoutNode() in <lambda>() constant
150 val node = ConsumeInAttachNode() in <lambda>() constant
194 val node = ConsumeInDrawNode() in <lambda>() constant
208 val node = ConsumeInLayoutNode() in <lambda>() constant
222 val node = ConsumeInAttachNode() in <lambda>() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/modifiers/
DTextAnnotatedStringContentCaptureInvalidationTest.kt81 val node = rule.onNodeWithText(original.text).fetchSemanticsNode() in whenChangingSpanStyle_noInvalidateTranslation() constant
99 val node = rule.onNodeWithText(original.text).fetchSemanticsNode() in whenChangingParagraphStyle_noInvalidateTranslation() constant
118 val node = rule.onNodeWithText(original.text).fetchSemanticsNode() in whenChangingAnnotation_noInvalidateTranslation() constant
/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/
DErrorMessagesTest.kt191 val node = rule.onNodeWithText("Hello").assertExists() in findOne_hideIt_tryToClickIt_butDoesNotExist() constant
215 val node = rule.onNodeWithText("Hello").assertExists() in findOne_removeIt_assertExists_butDoesNotExist() constant
240 val node = rule.onNodeWithText("Hello").assertExists() in findOne_removeIt_assertHasClickAction_butDoesNotExist() constant

1234567