Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java163 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in refreshCachedNodeLocked() local
164 if (nodes == null) { in refreshCachedNodeLocked()
167 AccessibilityNodeInfo cachedInfo = nodes.get(sourceId); in refreshCachedNodeLocked()
190 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in getNode() local
191 if (nodes == null) { in getNode()
194 AccessibilityNodeInfo info = nodes.get(accessibilityNodeId); in getNode()
262 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in add() local
263 if (nodes == null) { in add()
264 nodes = new LongSparseArray<>(); in add()
265 mNodeCache.put(windowId, nodes); in add()
[all …]
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DKCode.kt27 private val nodes = arrayListOf<Any>() in <lambda>() constant
46 …fun isNull(kcode : KCode?) = kcode == null || (kcode.nodes.isEmpty() && (kcode.s == null || kcode.… in <lambda>()
70 nodes.add(c) in <lambda>()
78 nodes.add(c) in <lambda>()
95 nodes.add(Appendix(glue, c!!)) in <lambda>()
117 val newlineFirstNode = s != null || (nodes.isNotEmpty() && nodes.first() is Appendix) in <lambda>()
119 nodes.forEach { when(it) { in <lambda>()
/frameworks/base/docs/html/training/wearables/data-layer/
Dmessages.jd37 nodes receive the messages. For example, in a voice transcription app that receives voice data on
44 connected nodes feature into consideration. If you don’t implement the changes, your messages may
56 <p>The following sections show you how to advertise device nodes that can process activity
57 requests, discover the nodes capable of fulfilling a requested need, and send messages to those
58 nodes.
96 <h3 id="RetrieveCapabilities">Retrieve the nodes with the required capabilities</h3>
98 <p>Initially, you can detect the capable nodes by calling the <a
101 The following example shows how to manually retrieve the results of reachable nodes with the
122 <p>To detect capable nodes as they connect to the wearable device, register a <a
125 The following example shows how to register the listener and retrieve the results of reachable nodes
[all …]
Dindex.jd101 <p class="img-caption"><strong>Figure 1.</strong> A sample network of nodes with
Devents.jd114 this callback on all connected nodes.
128 {@code isNearby()}</a> method of the nodes provided in the callback.</li>
/frameworks/base/libs/hwui/
DFrameBuilder.cpp134 void FrameBuilder::deferRenderNodeScene(const std::vector< sp<RenderNode> >& nodes, in deferRenderNodeScene() argument
136 if (nodes.size() < 1) return; in deferRenderNodeScene()
137 if (nodes.size() == 1) { in deferRenderNodeScene()
138 if (!nodes[0]->nothingToDraw()) { in deferRenderNodeScene()
139 deferRenderNode(*nodes[0]); in deferRenderNodeScene()
159 const Rect backdrop = nodeBounds(*nodes[0]); in deferRenderNodeScene()
164 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) { in deferRenderNodeScene()
173 backdrop.right, backdrop.bottom), *nodes[0]); in deferRenderNodeScene()
179 content.right, backdrop.bottom), *nodes[0]); in deferRenderNodeScene()
190 deferRenderNode(-dx, -dy, contentLocalClip, *nodes[1]); in deferRenderNodeScene()
[all …]
DRenderNode.h262 static size_t findNonNegativeIndex(const std::vector<ZDrawRenderNodeOpPair>& nodes) { in findNonNegativeIndex() argument
263 for (size_t i = 0; i < nodes.size(); i++) { in findNonNegativeIndex()
264 if (nodes[i].key >= 0.0f) return i; in findNonNegativeIndex()
266 return nodes.size(); in findNonNegativeIndex()
DFrameBuilder.h76 void deferRenderNodeScene(const std::vector< sp<RenderNode> >& nodes,
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUClient.java454 Collection<OMANode> nodes = null; in getCertURLs() local
459 nodes = Arrays.asList(node); in getCertURLs()
465 nodes = root.getChildren(); in getCertURLs()
468 nodes = Arrays.asList(root.getChild(name)); in getCertURLs()
472 if (nodes == null) { in getCertURLs()
477 for (OMANode node : nodes) { in getCertURLs()
/frameworks/minikin/tools/
Dmk_hyb_file.py194 nodes = Freelist()
204 if (ix >= 0 and nodes.is_free(ix) and
210 nodes.is_free(ix) # actually don't need nodes at all when use_node,
213 ix, _ = nodes.next(0)
216 nodes.use(ix)
/frameworks/base/core/java/android/widget/
DRelativeLayout.java1709 final ArrayList<Node> nodes = mNodes; in clear() local
1710 final int count = nodes.size(); in clear()
1713 nodes.get(i).release(); in clear()
1715 nodes.clear(); in clear()
1788 final ArrayList<Node> nodes = mNodes; in findRoots() local
1789 final int count = nodes.size(); in findRoots()
1794 final Node node = nodes.get(i); in findRoots()
1801 final Node node = nodes.get(i); in findRoots()
1831 final Node node = nodes.get(i); in findRoots()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1362 public String NodesToString(PathParser.PathDataNode[] nodes) { in NodesToString() argument
1364 for (int i = 0; i < nodes.length; i++) { in NodesToString()
1365 result += nodes[i].type + ":"; in NodesToString()
1366 float[] params = nodes[i].params; in NodesToString()
1409 public void setPathData(PathParser.PathDataNode[] nodes) { in setPathData() argument
1410 if (!PathParser.canMorph(mNodes, nodes)) { in setPathData()
1412 mNodes = PathParser.deepCopyNodes(nodes); in setPathData()
1414 PathParser.updateNodes(mNodes, nodes); in setPathData()
DPathParser.java64 PathDataNode[] nodes = createNodesFromPathData(pathData); in createPathFromPathData() local
65 if (nodes != null) { in createPathFromPathData()
67 PathDataNode.nodesToPath(nodes, path); in createPathFromPathData()
/frameworks/base/tools/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/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java996 private void setPathData(PathParser_Delegate.PathDataNode[] nodes) { in setPathData() argument
997 if (!PathParser_Delegate.canMorph(mNodes, nodes)) { in setPathData()
999 mNodes = PathParser_Delegate.deepCopyNodes(nodes); in setPathData()
1001 PathParser_Delegate.updateNodes(mNodes, nodes); in setPathData()
/frameworks/base/docs/html/guide/topics/graphics/
Ddrawable-animation.jd19 series of child <code>&lt;item&gt;</code> nodes that each define a frame: a drawable resource for
/frameworks/base/libs/hwui/tests/unit/
DFrameBuilderTests.cpp285 std::vector<sp<RenderNode>> nodes; in RENDERTHREAD_TEST() local
290 nodes.push_back(TestUtils::createNode(100, 100, 700, 500, // 600x400 in RENDERTHREAD_TEST()
297 nodes.push_back(TestUtils::createNode(0, 0, 800, 600, in RENDERTHREAD_TEST()
303 nodes.push_back(TestUtils::createNode(0, 0, 800, 600, in RENDERTHREAD_TEST()
308 for (auto& node : nodes) { in RENDERTHREAD_TEST()
314 frameBuilder.deferRenderNodeScene(nodes, contentDrawBounds); in RENDERTHREAD_TEST()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java873 private void enforceNodeTreeConsistent(List<AccessibilityNodeInfo> nodes) { in enforceNodeTreeConsistent() argument
876 final int nodeCount = nodes.size(); in enforceNodeTreeConsistent()
878 AccessibilityNodeInfo node = nodes.get(i); in enforceNodeTreeConsistent()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java3572 List<Object> nodes = IMPL.findAccessibilityNodeInfosByViewId(mInfo, viewId); in findAccessibilityNodeInfosByViewId() local
3573 if (nodes != null) { in findAccessibilityNodeInfosByViewId()
3575 for (Object node : nodes) { in findAccessibilityNodeInfosByViewId()
/frameworks/base/docs/html/training/accessibility/
Dservice.jd246 // Using this parent, get references to both child nodes, the label and the checkbox.
/frameworks/base/docs/html/training/auto/audio/
Dindex.jd344 to retrieve its child nodes, which are subsequently displayed as the top menu items.
353 onLoadChildren()} again to retrieve the child nodes of the selected menu item.</li>
430 submenus by calling the same method with other child nodes. The following
/frameworks/native/docs/
DDoxyfile1768 # the class node. If there are many fields or methods and many nodes the
1858 # nodes that will be shown in the graph. If the number of nodes in a graph
1868 # graphs generated by dot. A depth value of 3 means that only nodes reachable
/frameworks/wilhelm/doc/
DDoxyfile1586 # nodes that will be shown in the graph. If the number of nodes in a graph
1596 # graphs generated by dot. A depth value of 3 means that only nodes reachable
/frameworks/base/docs/html/about/versions/
Dkitkat.jd958 In accessibility nodes, developers can now determine whether a node is a
960 nodes that contain grid-like information, such as lists and tables. For

12