Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java189 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in refreshCachedNodeLocked() local
190 if (nodes == null) { in refreshCachedNodeLocked()
193 AccessibilityNodeInfo cachedInfo = nodes.get(sourceId); in refreshCachedNodeLocked()
216 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in getNode() local
217 if (nodes == null) { in getNode()
220 AccessibilityNodeInfo info = nodes.get(accessibilityNodeId); in getNode()
288 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in add() local
289 if (nodes == null) { in add()
290 nodes = new LongSparseArray<>(); in add()
291 mNodeCache.put(windowId, nodes); in add()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
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()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp293 const std::vector<sp<RenderNode>>& nodes, bool opaque, in renderFrame() argument
311 renderFrameImpl(layers, clip, nodes, opaque, contentDrawBounds, canvas, preTransform); in renderFrame()
316 renderOverdraw(layers, clip, nodes, contentDrawBounds, surface, preTransform); in renderFrame()
333 const std::vector<sp<RenderNode>>& nodes, bool opaque, in renderFrameImpl() argument
345 if (1 == nodes.size()) { in renderFrameImpl()
346 if (!nodes[0]->nothingToDraw()) { in renderFrameImpl()
347 RenderNodeDrawable root(nodes[0].get(), canvas); in renderFrameImpl()
350 } else if (0 == nodes.size()) { in renderFrameImpl()
372 const Rect backdrop = nodeBounds(*nodes[0]); in renderFrameImpl()
378 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) { in renderFrameImpl()
[all …]
DSkiaPipeline.h53 const std::vector<sp<RenderNode>>& nodes, bool opaque,
121 const std::vector<sp<RenderNode>>& nodes, bool opaque,
130 const std::vector<sp<RenderNode>>& nodes, const Rect& contentDrawBounds,
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp295 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
300 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
308 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
315 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
325 pipeline->renderFrame(layerUpdateQueue, dirty, nodes, true, contentDrawBounds, surface, in RENDERTHREAD_SKIA_PIPELINE_TEST()
344 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
345 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
356 pipeline->renderFrame(layerUpdateQueue, dirty, nodes, true, in RENDERTHREAD_SKIA_PIPELINE_TEST()
381 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
382 nodes.push_back(TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
[all …]
/frameworks/av/media/libstagefright/omx/1.0/
DOmxStore.cpp45 std::set<std::string> nodes; in OmxStore() local
47 omx->listNodes([&nodes](const Status &status, in OmxStore()
51 nodes.emplace(info.mName.c_str()); in OmxStore()
84 hidl_vec<NodeInfo>& nodeList = role.nodes; in OmxStore()
88 if (!nodes.count(nodePair.second.name)) { in OmxStore()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAnswerToReset.java94 ArrayMap<Integer, byte[]> nodes = new ArrayMap<>(); in parseHistoricalBytes() local
99 index = parseLtvNode(index, nodes, originalData, startIndex + length - 1); in parseHistoricalBytes()
106 return new HistoricalBytes(rawData, nodes, rawData[0]); in parseHistoricalBytes()
109 private HistoricalBytes(byte[] rawData, ArrayMap<Integer, byte[]> nodes, byte category) { in HistoricalBytes() argument
111 mNodes = nodes; in HistoricalBytes()
116 int index, ArrayMap<Integer, byte[]> nodes, byte[] data, int lastByteIndex) { in parseLtvNode() argument
127 nodes.put(tag, value); in parseLtvNode()
/frameworks/base/cmds/statsd/benchmark/
Dfilter_value_benchmark.cpp34 std::vector<AttributionNodeInternal> nodes = {node, node}; in createLogEventAndMatcher() local
35 event->write(nodes); in createLogEventAndMatcher()
Dget_dimensions_for_condition_benchmark.cpp34 std::vector<AttributionNodeInternal> nodes = {node, node}; in createLogEventAndLink() local
35 event->write(nodes); in createLogEventAndLink()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java571 List<Asn1Node> nodes = root.getChildren(Tags.TAG_CTX_COMP_0); in getRulesAuthTable() local
573 new EuiccRulesAuthTable.Builder(nodes.size()); in getRulesAuthTable()
574 int size = nodes.size(); in getRulesAuthTable()
576 Asn1Node node = nodes.get(i); in getRulesAuthTable()
858 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in listNotifications() local
859 EuiccNotification[] notifications = new EuiccNotification[nodes.size()]; in listNotifications()
861 notifications[i] = createNotification(nodes.get(i)); in listNotifications()
899 List<Asn1Node> nodes = root.getChild(Tags.TAG_CTX_COMP_0).getChildren(); in retrieveNotificationList() local
900 EuiccNotification[] notifications = new EuiccNotification[nodes.size()]; in retrieveNotificationList()
902 notifications[i] = createNotification(nodes.get(i)); in retrieveNotificationList()
[all …]
/frameworks/ml/nn/tools/test_generator/
Dspec_visualizer.py232 nodes = []
250 nodes.append({
261 nodes.append({
268 graph_str = json.dumps({"nodes": nodes, "edges": edges})
/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp34 std::vector<AttributionNodeInternal> nodes; in TEST() local
39 nodes.push_back(node1); in TEST()
44 nodes.push_back(node2); in TEST()
46 event1.write(nodes); in TEST()
217 std::vector<AttributionNodeInternal> nodes; in TEST() local
225 nodes.push_back(node1); in TEST()
230 nodes.push_back(node2); in TEST()
231 event1.write(nodes); in TEST()
/frameworks/minikin/tools/
Dmk_hyb_file.py198 nodes = Freelist()
208 if (ix >= 0 and nodes.is_free(ix) and
214 nodes.is_free(ix) # actually don't need nodes at all when use_node,
217 ix, _ = nodes.next(0)
220 nodes.use(ix)
/frameworks/base/core/proto/android/os/
Dworksource.proto37 repeated WorkSourceContentProto nodes = 1; field
/frameworks/base/core/java/android/widget/
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()
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java58 private PathParser_Delegate(@NonNull PathDataNode[] nodes) { in PathParser_Delegate() argument
59 mPathDataNodes = nodes; in PathParser_Delegate()
107 PathDataNode[] nodes = createNodesFromPathData(pathString); in nCreatePathDataFromString() local
108 PathParser_Delegate delegate = new PathParser_Delegate(nodes); in nCreatePathDataFromString()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNodesVerifierElem.java215 for (List<PropertyNode> nodes : mOrderedNodeMap.values()) { in verify()
216 for (PropertyNode node : nodes) { in verify()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h158 bool write(const std::vector<AttributionNodeInternal>& nodes);
DLogEvent.cpp397 bool LogEvent::write(const std::vector<AttributionNodeInternal>& nodes) { in write() argument
402 for (size_t i = 0; i < nodes.size(); ++i) { in write()
403 if (!write(nodes[i])) { in write()
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp61 std::vector<AttributionNodeInternal> nodes; in writeAttributionNodesToEvent() local
65 nodes.push_back(node); in writeAttributionNodesToEvent()
67 event->write(nodes); // attribution chain. in writeAttributionNodesToEvent()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1030 private void setPathData(PathParser_Delegate.PathDataNode[] nodes) { in setPathData() argument
1031 if (!PathParser_Delegate.canMorph(mNodes, nodes)) { in setPathData()
1033 mNodes = PathParser_Delegate.deepCopyNodes(nodes); in setPathData()
1035 PathParser_Delegate.updateNodes(mNodes, nodes); in setPathData()
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp154 for (const IOmxStore::NodeInfo &node : role.nodes) { in buildMediaCodecList()
/frameworks/base/startop/view_compiler/
DREADME.md21 * `merge` and `include` nodes are not supported.
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp1185 std::vector<RandomVariableNode> nodes; in freeze() local
1187 if (var->type == RandomVariableType::FREE) nodes.push_back(var); in freeze()
1190 randomShuffle(&nodes); in freeze()
1193 for (const auto& var : nodes) { in freeze()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java1057 private void enforceNodeTreeConsistent(List<AccessibilityNodeInfo> nodes) { in enforceNodeTreeConsistent() argument
1060 final int nodeCount = nodes.size(); in enforceNodeTreeConsistent()
1062 AccessibilityNodeInfo node = nodes.get(i); in enforceNodeTreeConsistent()

12