Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/av/media/libstagefright/
DOMXClient.cpp37 virtual bool livesLocally(node_id node, pid_t pid);
43 node_id *node);
45 virtual status_t freeNode(node_id node);
48 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param);
51 node_id node, OMX_INDEXTYPE index,
55 node_id node, OMX_INDEXTYPE index,
59 node_id node, OMX_INDEXTYPE index,
63 node_id node, OMX_INDEXTYPE index,
67 node_id node, OMX_STATETYPE* state);
70 node_id node, OMX_U32 port_index, OMX_BOOL enable);
[all …]
/frameworks/base/core/java/android/animation/
DAnimatorSet.java216 for (Node node : mNodes) { in getChildAnimations()
217 childList.add(node.animation); in getChildAnimations()
231 for (Node node : mNodes) { in setTarget()
232 Animator animation = node.animation; in setTarget()
319 for (Node node : mSortedNodes) { in cancel()
320 node.animation.cancel(); in cancel()
345 for (Node node : mSortedNodes) { in end()
349 node.animation.addListener(mSetListener); in end()
356 for (Node node : mSortedNodes) { in end()
357 node.animation.end(); in end()
[all …]
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java152 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in getChildCount() local
153 if(node == null) { in getChildCount()
156 return node.getChildCount(); in getChildCount()
168 AccessibilityNodeInfo node = null; in findAccessibilityNodeInfo() local
172 node = getQueryController().findAccessibilityNodeInfo(getSelector()); in findAccessibilityNodeInfo()
173 if (node != null) { in findAccessibilityNodeInfo()
184 return node; in findAccessibilityNodeInfo()
320 private Rect getVisibleBounds(AccessibilityNodeInfo node) { in getVisibleBounds() argument
321 if (node == null) { in getVisibleBounds()
328 Rect nodeRect = AccessibilityNodeInfoHelper.getVisibleBoundsInScreen(node, w, h); in getVisibleBounds()
[all …]
DAccessibilityNodeInfoDumper.java101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, in dumpNodeRec() argument
104 if (!nafExcludedClass(node) && !nafCheck(node)) in dumpNodeRec()
107 serializer.attribute("", "text", safeCharSeqToString(node.getText())); in dumpNodeRec()
108 serializer.attribute("", "resource-id", safeCharSeqToString(node.getViewIdResourceName())); in dumpNodeRec()
109 serializer.attribute("", "class", safeCharSeqToString(node.getClassName())); in dumpNodeRec()
110 serializer.attribute("", "package", safeCharSeqToString(node.getPackageName())); in dumpNodeRec()
111 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec()
112 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec()
113 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec()
114 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec()
[all …]
DUiSelector.java660 boolean isMatchFor(AccessibilityNodeInfo node, int index) { in isMatchFor() argument
671 if (node.isChecked() != getBoolean(criterion)) { in isMatchFor()
676 s = node.getClassName(); in isMatchFor()
682 s = node.getClassName(); in isMatchFor()
688 if (node.isClickable() != getBoolean(criterion)) { in isMatchFor()
693 if (node.isCheckable() != getBoolean(criterion)) { in isMatchFor()
698 if (node.isLongClickable() != getBoolean(criterion)) { in isMatchFor()
703 s = node.getContentDescription(); in isMatchFor()
710 s = node.getContentDescription(); in isMatchFor()
717 s = node.getContentDescription(); in isMatchFor()
[all …]
/frameworks/compile/mclinker/unittests/
DInputTreeTest.cpp78 InputTree::iterator node = m_pTestee->root(); in TEST_F() local
79 InputTree::const_iterator const_node = node; in TEST_F()
80 --node; in TEST_F()
83 ASSERT_TRUE(isGroup(node)); in TEST_F()
88 --node; in TEST_F()
90 m_pTestee->enterGroup(node, InputTree::Downward); in TEST_F()
92 InputTree::const_iterator const_node2 = node; in TEST_F()
94 ASSERT_FALSE(node.isRoot()); in TEST_F()
96 ASSERT_FALSE(isGroup(node)); in TEST_F()
105 InputTree::iterator node = m_pTestee->root(); in TEST_F() local
[all …]
DFactoriesTest.cpp45 NodeAlloc::NodeType* node = m_pNodeAlloc->produce(); in TEST_F() local
48 node = m_pNodeAlloc->produce(); in TEST_F()
51 node = m_pNodeAlloc->produce(); in TEST_F()
57 NodeAlloc::NodeType* node = 0; in TEST_F() local
59 node = m_pNodeAlloc->produce(); in TEST_F()
60 node->data = (int*)malloc(sizeof(int)); in TEST_F()
61 *(node->data) = i; in TEST_F()
76 NodeAlloc::NodeType* node = 0; in TEST_F() local
78 node = m_pNodeAlloc->produce(); in TEST_F()
79 node->data = (int*)malloc(sizeof(int)); in TEST_F()
[all …]
/frameworks/av/media/libstagefright/omx/
DOMX.cpp188 bool OMX::livesLocally(node_id node, pid_t pid) { in livesLocally() argument
221 const char *name, const sp<IOMXObserver> &observer, node_id *node) { in allocateNode() argument
224 *node = 0; in allocateNode()
241 *node = makeNodeID(instance); in allocateNode()
242 mDispatchers.add(*node, new CallbackDispatcher(instance)); in allocateNode()
244 instance->setHandle(*node, handle); in allocateNode()
252 status_t OMX::freeNode(node_id node) { in freeNode() argument
253 OMXNodeInstance *instance = findInstance(node); in freeNode()
272 ssize_t index = mDispatchers.indexOfKey(node); in freeNode()
281 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) { in sendCommand() argument
[all …]
/frameworks/av/media/libstagefright/include/
DOMX.h34 virtual bool livesLocally(node_id node, pid_t pid);
39 const char *name, const sp<IOMXObserver> &observer, node_id *node);
41 virtual status_t freeNode(node_id node);
44 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param);
47 node_id node, OMX_INDEXTYPE index,
51 node_id node, OMX_INDEXTYPE index,
55 node_id node, OMX_INDEXTYPE index,
59 node_id node, OMX_INDEXTYPE index,
63 node_id node, OMX_STATETYPE* state);
66 node_id node, OMX_U32 port_index, OMX_BOOL enable);
[all …]
/frameworks/av/media/libmedia/
DIOMX.cpp62 virtual bool livesLocally(node_id node, pid_t pid) { in livesLocally() argument
65 data.writeIntPtr((intptr_t)node); in livesLocally()
95 const char *name, const sp<IOMXObserver> &observer, node_id *node) { in allocateNode() argument
104 *node = (void*)reply.readIntPtr(); in allocateNode()
106 *node = 0; in allocateNode()
112 virtual status_t freeNode(node_id node) { in freeNode() argument
115 data.writeIntPtr((intptr_t)node); in freeNode()
122 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) { in sendCommand() argument
125 data.writeIntPtr((intptr_t)node); in sendCommand()
134 node_id node, OMX_INDEXTYPE index, in getParameter() argument
[all …]
/frameworks/av/include/media/
DIOMX.h47 virtual bool livesLocally(node_id node, pid_t pid) = 0;
57 node_id *node) = 0;
59 virtual status_t freeNode(node_id node) = 0;
62 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) = 0;
65 node_id node, OMX_INDEXTYPE index,
69 node_id node, OMX_INDEXTYPE index,
73 node_id node, OMX_INDEXTYPE index,
77 node_id node, OMX_INDEXTYPE index,
81 node_id node, OMX_STATETYPE* state) = 0;
84 node_id node, OMX_U32 port_index, OMX_BOOL enable) = 0;
[all …]
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c52 static int loadEffect(cnode *node);
276 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], in EffectCreate()
277 uuid->node[3],uuid->node[4],uuid->node[5]); in EffectCreate()
430 cnode *node; in loadLibraries() local
432 node = config_find(root, LIBRARIES_TAG); in loadLibraries()
433 if (node == NULL) { in loadLibraries()
436 node = node->first_child; in loadLibraries()
437 while (node) { in loadLibraries()
438 loadLibrary(node, node->name); in loadLibraries()
439 node = node->next; in loadLibraries()
[all …]
/frameworks/base/core/java/android/content/
DUriMatcher.java178 UriMatcher node = this; in addURI() local
181 ArrayList<UriMatcher> children = node.mChildren; in addURI()
188 node = child; in addURI()
203 node.mChildren.add(child); in addURI()
204 node = child; in addURI()
207 node.mCode = code; in addURI()
225 UriMatcher node = this;
233 ArrayList<UriMatcher> list = node.mChildren;
237 node = null;
245 node = n;
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DBinTree.h286 NodeBase node;
291 node.left = node.right = &node; in TreeImpl()
305 if ((*data).left == &pClient.node) in summon()
306 (*data).left = &node; in summon()
307 if ((*data).right == &pClient.node) in summon()
308 (*data).right = &node; in summon()
322 result->left = result->right = &m_Root.node; in createNode()
394 { return bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.left); } in bfs_begin()
397 { return bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.right); } in bfs_end()
400 { return const_bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.left); } in bfs_begin()
[all …]
/frameworks/compile/mclinker/lib/Core/
DInputTree.cpp27 pMover.connect(pRoot, iterator(pTree.m_Root.node.right)); in merge()
31 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node; in merge()
39 NodeBase* node = createNode(); in enterGroup() local
40 pMover.connect(pRoot, iterator(node)); in enterGroup()
48 BinaryTree<Input>::node_type* node = createNode(); in insert() local
49 node->data = &pInput; in insert()
50 pMover.connect(pRoot, iterator(node)); in insert()
/frameworks/opt/datetimepicker/src/com/googlecode/eyesfree/utils/
DTouchExplorationHelper.java152 final AccessibilityNodeInfoCompat node = AccessibilityNodeInfoCompat.obtain(); in createAccessibilityNodeInfo() local
153 populateNodeForItemInternal(item, node); in createAccessibilityNodeInfo()
154 return node; in createAccessibilityNodeInfo()
268 T item, AccessibilityNodeInfoCompat node) { in populateNodeForItemInternal() argument
272 node.setEnabled(true); in populateNodeForItemInternal()
275 populateNodeForItem(item, node); in populateNodeForItemInternal()
277 if (TextUtils.isEmpty(node.getText()) && TextUtils.isEmpty(node.getContentDescription())) { in populateNodeForItemInternal()
283 node.setPackageName(mParentView.getContext().getPackageName()); in populateNodeForItemInternal()
284 node.setClassName(item.getClass().getName()); in populateNodeForItemInternal()
285 node.setParent(mParentView); in populateNodeForItemInternal()
[all …]
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp72 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNode() argument
74 node, NULL, NULL, msg, timeoutUs); in dequeueMessageForNode()
119 IOMX::node_id node, in dequeueMessageForNodeIgnoringBuffers() argument
129 if ((*it).node == node) { in dequeueMessageForNodeIgnoringBuffers()
157 IOMX::node_id node, OMX_U32 portIndex, in getPortDefinition() argument
166 node, OMX_IndexParamPortDefinition, def, sizeof(*def)); in getPortDefinition()
179 IOMX::node_id node, OMX_U32 portIndex, in allocatePortBuffers() argument
184 status_t err = getPortDefinition(node, portIndex, &def); in allocatePortBuffers()
194 node, portIndex, buffer.mMemory, &buffer.mID); in allocatePortBuffers()
203 status_t Harness::setRole(IOMX::node_id node, const char *role) { in setRole() argument
[all …]
/frameworks/native/libs/binder/
DMemoryDealer.cpp62 void insertAfter(NODE* node, NODE* newNode) { in insertAfter() argument
63 newNode->prev = node; in insertAfter()
64 newNode->next = node->next; in insertAfter()
65 if (node->next == 0) mLast = newNode; in insertAfter()
66 else node->next->prev = newNode; in insertAfter()
67 node->next = newNode; in insertAfter()
70 void insertBefore(NODE* node, NODE* newNode) { in insertBefore() argument
71 newNode->prev = node->prev; in insertBefore()
72 newNode->next = node; in insertBefore()
73 if (node->prev == 0) mFirst = newNode; in insertBefore()
[all …]
/frameworks/av/services/audioflinger/
DAudioPolicyService.cpp1102 size_t AudioPolicyService::readParamValue(cnode *node, in readParamValue() argument
1107 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) { in readParamValue()
1109 *(short *)((char *)param + pos) = (short)atoi(node->value); in readParamValue()
1112 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) { in readParamValue()
1114 *(int *)((char *)param + pos) = atoi(node->value); in readParamValue()
1117 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) { in readParamValue()
1119 *(float *)((char *)param + pos) = (float)atof(node->value); in readParamValue()
1122 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) { in readParamValue()
1124 if (strncmp(node->value, "false", strlen("false") + 1) == 0) { in readParamValue()
1131 } else if (strncmp(node->name, STRING_TAG, sizeof(STRING_TAG) + 1) == 0) { in readParamValue()
[all …]
/frameworks/compile/libbcc/lib/Renderscript/
DRSInfoExtractor.cpp71 llvm::MDNode *node = pMetadata->getOperand(i); in getMetadataStringLength() local
72 if ((node != NULL) && (node->getNumOperands() >= NumOperands)) { in getMetadataStringLength()
77 llvm::StringRef s = getStringFromOperand(node->getOperand(j)); in getMetadataStringLength()
210 llvm::MDNode *node; in ExtractFromSource() local
211 FOR_EACH_NODE_IN(pragma, node) { in ExtractFromSource()
212 llvm::StringRef key = getStringFromOperand(node->getOperand(0)); in ExtractFromSource()
213 llvm::StringRef val = getStringFromOperand(node->getOperand(1)); in ExtractFromSource()
229 llvm::MDNode *node; in ExtractFromSource() local
230 FOR_EACH_NODE_IN(export_var, node) { in ExtractFromSource()
231 llvm::StringRef name = getStringFromOperand(node->getOperand(0)); in ExtractFromSource()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp846 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace() local
847 if (node->getType() == TYPE_CDATA) { in removeWhitespace()
849 const char16_t* p = node->mChars.string(); in removeWhitespace()
863 node->mChars = String16(" "); in removeWhitespace()
867 const char16_t* e = node->mChars.string()+node->mChars.size()-1; in removeWhitespace()
871 if (p > node->mChars.string()) { in removeWhitespace()
874 if (e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
877 if (p > node->mChars.string() || in removeWhitespace()
878 e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace()
880 node->mChars = tmp; in removeWhitespace()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNode.java128 PropertyNode node = (PropertyNode)obj; in equals() local
130 if (propName == null || !propName.equals(node.propName)) { in equals()
132 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { in equals()
134 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { in equals()
136 } else if (!propGroupSet.equals(node.propGroupSet)) { in equals()
140 if (propValue_bytes != null && Arrays.equals(propValue_bytes, node.propValue_bytes)) { in equals()
143 if (!propValue.equals(node.propValue)) { in equals()
151 return (propValue_vector.equals(node.propValue_vector) || in equals()
153 node.propValue_vector.size() == 1); in equals()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParserTest.java82 private void dump(Node node, String prefix) { in dump() argument
103 types[node.getNodeType()], in dump()
104 node.getNodeName(), in dump()
105 node.getNodeValue() == null ? "" : node.getNodeValue().trim()); in dump()
109 n = node.getFirstChild(); in dump()
114 n = node.getNextSibling(); in dump()
/frameworks/compile/mclinker/lib/Fragment/
DFragmentGraph.cpp159 FGNode* node = getNode(*sym->fragRef()->frag()); in setNodeSlots() local
160 assert(NULL != node); in setNodeSlots()
161 node->addSlot(sym->resolveInfo()); in setNodeSlots()
229 FGNode& node = *node_it; in createPseudoEdges() local
230 FGNode::signal_iterator sig_it, sig_end = node.signal_end(); in createPseudoEdges()
231 for (sig_it = node.signal_begin(); sig_it != sig_end; ++sig_it) { in createPseudoEdges()
232 connect(node, (*sig_it)->symInfo()); in createPseudoEdges()
277 FGNode* node = producePseudoNode(); in createPseudoNodes() local
283 node->addSignal(reloc); in createPseudoNodes()
289 entry->setValue(node); in createPseudoNodes()
[all …]
/frameworks/base/tools/preload/
Dsorttable.js199 getInnerText: function(node) { argument
206 hasInputs = (typeof node.getElementsByTagName == 'function') &&
207 node.getElementsByTagName('input').length;
209 if (node.getAttribute("sorttable_customkey") != null) {
210 return node.getAttribute("sorttable_customkey");
212 else if (typeof node.textContent != 'undefined' && !hasInputs) {
213 return node.textContent.replace(/^\s+|\s+$/g, '');
215 else if (typeof node.innerText != 'undefined' && !hasInputs) {
216 return node.innerText.replace(/^\s+|\s+$/g, '');
218 else if (typeof node.text != 'undefined' && !hasInputs) {
[all …]

1234