Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 18 of 18) sorted by relevance

/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityCache.java308 if (nodes == null) { in removeCachedNodeLocked()
316 nodes.remove(sourceId); in removeCachedNodeLocked()
337 if (nodes == null) { in getNode()
368 if (nodes == null) { in isNodeInCache()
487 if (nodes == null) { in add()
529 nodes.put(sourceId, clone); in add()
633 if (nodes == null) { in getFocus()
686 if (nodes == null) { in clearNodesForWindowLocked()
721 if (nodes != null) { in clearSubTreeLocked()
743 nodes.remove(rootNodeId); in clearSubTreeRecursiveLocked()
[all …]
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DRenderNodePerfTest.java82 RenderNode[] nodes = new RenderNode[30]; in testStartEndDeepHierarchy() local
83 for (int i = 0; i < nodes.length; i++) { in testStartEndDeepHierarchy()
84 nodes[i] = RenderNode.create("LinearLayout", null); in testStartEndDeepHierarchy()
88 for (int i = 0; i < nodes.length; i++) { in testStartEndDeepHierarchy()
89 nodes[i].beginRecording(100, 100); in testStartEndDeepHierarchy()
91 for (int i = nodes.length - 1; i >= 0; i--) { in testStartEndDeepHierarchy()
92 nodes[i].endRecording(); in testStartEndDeepHierarchy()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp463 SkCanvas* canvas = tryCapture(surface.get(), nodes[0].get(), layers); in renderFrame()
506 if (1 == nodes.size()) { in renderFrameImpl()
507 if (!nodes[0]->nothingToDraw()) { in renderFrameImpl()
508 RenderNodeDrawable root(nodes[0].get(), canvas); in renderFrameImpl()
511 } else if (0 == nodes.size()) { in renderFrameImpl()
533 const Rect backdrop = nodeBounds(*nodes[0]); in renderFrameImpl()
539 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) { in renderFrameImpl()
546 RenderNodeDrawable backdropNode(nodes[0].get(), canvas); in renderFrameImpl()
564 RenderNodeDrawable contentNode(nodes[1].get(), canvas); in renderFrameImpl()
583 for (size_t index = 2; index < nodes.size(); index++) { in renderFrameImpl()
[all …]
H A DSkiaPipeline.h62 const std::vector<sp<RenderNode>>& nodes, bool opaque,
103 const std::vector<sp<RenderNode>>& nodes, bool opaque,
112 const std::vector<sp<RenderNode>>& nodes, const Rect& contentDrawBounds,
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DSkiaPipelineTests.cpp265 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
270 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
278 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
285 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
315 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
316 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
327 pipeline->renderFrame(layerUpdateQueue, dirty, nodes, true, in RENDERTHREAD_SKIA_PIPELINE_TEST()
353 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
354 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
383 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
H A DShadeViewDiffer.kt42 private val nodes = mutableMapOf(rootController to rootNode) regex
68 nodes.values.firstOrNull { node -> node.view === view }?.label ?: view.toString()
74 val views = nodes.values.associateBy { it.view }
103 nodes.remove(childNode.controller)
183 var node = nodes[spec.controller]
186 nodes[node.controller] = node
/aosp14/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
H A DAutofillTestHelper.java51 final int nodes = structure.getWindowNodeCount(); in findNodeByResourceId() local
52 for (int i = 0; i < nodes; i++) { in findNodeByResourceId()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityInteractionControllerNodeRequestsTest.java733 List<AccessibilityNodeInfo> nodes = invocation.getArgument(0); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
734 assertEquals(ROOT_FRAME_LAYOUT_DESCRIPTION, nodes.get(0).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
735 assertEquals(TEXT_VIEW_2_DESCRIPTION, nodes.get(1).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
736 assertEquals(CHILD_FRAME_DESCRIPTION, nodes.get(2).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
737 assertEquals(TEXT_VIEW_3_DESCRIPTION, nodes.get(3).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
738 assertEquals(TEXT_VIEW_4_DESCRIPTION, nodes.get(4).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
/aosp14/system/core/init/
H A DREADME.ueventd.md28 Ueventd listens to the kernel uevent sockets and creates/deletes nodes in `/dev` based on the
30 creates the nodes with the SELabel from the current loaded SEPolicy. It has three default behaviors
74 Indicates that all uevents with `SUBSYSTEM=sound` will create nodes as `/dev/snd/<basename uevent
162 ueventd to create the nodes.
168 recommended that devices use genfscon for labeling sysfs nodes. However, some devices may benefit
/aosp14/frameworks/base/core/proto/android/os/
H A Dworksource.proto37 repeated WorkSourceContentProto nodes = 1; field
/aosp14/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1893 final ArrayList<Node> nodes = mNodes; in clear() local
1894 final int count = nodes.size(); in clear()
1897 nodes.get(i).release(); in clear()
1899 nodes.clear(); in clear()
1972 final ArrayList<Node> nodes = mNodes; in findRoots() local
1973 final int count = nodes.size(); in findRoots()
1978 final Node node = nodes.get(i); in findRoots()
1985 final Node node = nodes.get(i); in findRoots()
2015 final Node node = nodes.get(i); in findRoots()
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
H A DPackageVisibilityDetector.kt62 val systemServerApiNodes = callGraph.callGraph.nodes.filter(::isSystemServerApi)
63 val sinkMethodNodes = callGraph.callGraph.nodes.filter {
/aosp14/system/core/rootdir/
H A Dueventd.rc26 # ueventd can only set permissions on device nodes and their associated
H A Dinit.rc108 # Create energy-aware scheduler tuning nodes
/aosp14/frameworks/base/startop/view_compiler/
H A DREADME.md21 * `merge` and `include` nodes are not supported.
/aosp14/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java1368 AccessibilityNodeInfo root, List<AccessibilityNodeInfo> nodes) { in enforceNodeTreeConsistent() argument
1371 final int nodeCount = nodes.size(); in enforceNodeTreeConsistent()
1373 AccessibilityNodeInfo node = nodes.get(i); in enforceNodeTreeConsistent()
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DSession.java1102 final ViewNode[] nodes = fillContext in fillContextWithAllowedValuesLocked() local
1109 final ViewNode node = nodes[i]; in fillContextWithAllowedValuesLocked()
3732 final ViewNode[] nodes = in updateValuesForSaveLocked() local
3746 final ViewNode node = nodes[viewStateNum]; in updateValuesForSaveLocked()
/aosp14/frameworks/base/media/native/midi/include/
H A DDoxyfile2286 # class node. If there are many fields or methods and many nodes the graph may
2436 # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
2437 # that will be shown in the graph. If the number of nodes in a graph becomes
2449 # generated by dot. A depth value of 3 means that only nodes reachable from the