Searched defs:node (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java31 * Returns the node's bounds clipped to the size of the display
33 * @param node
34 * @return null if node is null, else a Rect containing visible bounds
36 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node) { argument
37 if (node == null) {
40 // targeted node's bounds
42 node.getBoundsInScreen(nodeRect);
H A DAccessibilityNodeInfoDumper.java66 * @param root The root accessibility node.
96 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer, argument
98 serializer.startTag("", "node");
99 if (!nafExcludedClass(node) && !nafCheck(node))
102 serializer.attribute("", "text", safeCharSeqToString(node.getText()));
103 serializer.attribute("", "class", safeCharSeqToString(node.getClassName()));
104 serializer.attribute("", "package", safeCharSeqToString(node.getPackageName()));
105 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription()));
106 serializer.attribute("", "checkable", Boolean.toString(node
144 nafExcludedClass(AccessibilityNodeInfo node) argument
163 nafCheck(AccessibilityNodeInfo node) argument
189 childNafCheck(AccessibilityNodeInfo node) argument
[all...]
H A DUiObject.java143 AccessibilityNodeInfo node = findAccessibilityNodeInfo(WAIT_FOR_SELECTOR_TIMEOUT);
144 if(node == null) {
147 return node.getChildCount();
159 AccessibilityNodeInfo node = null;
165 node = getQueryController().findAccessibilityNodeInfo(getSelector());
170 node = getQueryController().findAccessibilityNodeInfo(getSelector());
171 if (node != null) {
182 return node;
279 * @param node
280 * @return null if node i
282 getVisibleBounds(AccessibilityNodeInfo node) argument
314 getScrollableParent(AccessibilityNodeInfo node) argument
[all...]
H A DUiSelector.java282 * Set the search criteria to match the widget by its node
556 * can also be a single level referencing only one node. In such cases the return
560 * reference child node.
609 boolean isMatchFor(AccessibilityNodeInfo node, int index) { argument
620 if (node.isChecked() != getBoolean(criterion)) {
625 s = node.getClassName();
631 s = node.getClassName();
637 if (node.isClickable() != getBoolean(criterion)) {
642 if (node.isLongClickable() != getBoolean(criterion)) {
647 s = node
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParserTest.java82 private void dump(Node node, String prefix) { argument
103 types[node.getNodeType()],
104 node.getNodeName(),
105 node.getNodeValue() == null ? "" : node.getNodeValue().trim());
109 n = node.getFirstChild();
114 n = node.getNextSibling();
/frameworks/compile/mclinker/unittests/
H A DFactoriesTest.cpp45 NodeAlloc::NodeType* node = m_pNodeAlloc->produce(); local
48 node = m_pNodeAlloc->produce();
51 node = m_pNodeAlloc->produce();
57 NodeAlloc::NodeType* node = 0; local
59 node = m_pNodeAlloc->produce();
60 node->data = (int*)malloc(sizeof(int));
61 *(node->data) = i;
76 NodeAlloc::NodeType* node = 0; local
78 node = m_pNodeAlloc->produce();
79 node
98 NodeAlloc::NodeType* node = 0; local
122 NodeAlloc::NodeType* node = 0; local
158 NodeAlloc::NodeType* node = 0; local
[all...]
H A DInputTreeTest.cpp48 InputTree::iterator node = m_pTestee->root(); local
49 m_pTestee->insert<InputTree::Inclusive>(node, "FileSpec", "path1");
51 InputTree::const_iterator const_node = node;
53 ASSERT_TRUE(isGroup(node));
58 --node;
60 m_pTestee->enterGroup(node, InputTree::Downward);
62 InputTree::const_iterator const_node2 = node;
64 ASSERT_FALSE(node.isRoot());
66 ASSERT_FALSE(isGroup(node));
75 InputTree::iterator node local
100 InputTree::iterator node = m_pTestee->root(); local
121 InputTree::iterator node = m_pTestee->root(); local
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DInputTree.cpp35 pMover.connect(pRoot, iterator(pTree.m_Root.node.right));
39 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node;
50 BinaryTree<Input>::node_type* node = createNode(); local
51 node->data = m_FileFactory.produce(pNamespec, pPath, pType);
52 pMover.connect(pRoot, iterator(node));
59 NodeBase* node = createNode(); local
60 pMover.connect(pRoot, iterator(node));
68 BinaryTree<Input>::node_type* node local
[all...]
/frameworks/av/include/media/
H A DIOMX.h46 virtual bool livesLocally(node_id node, pid_t pid) = 0;
56 node_id *node) = 0;
58 virtual status_t freeNode(node_id node) = 0;
61 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) = 0;
64 node_id node, OMX_INDEXTYPE index,
68 node_id node, OMX_INDEXTYPE index,
72 node_id node, OMX_INDEXTYPE index,
76 node_id node, OMX_INDEXTYPE index,
80 node_id node, OMX_STATETYPE* state) = 0;
83 node_id node, OMX_U3
136 IOMX::node_id node; member in struct:android::omx_message
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputTree.h144 /// insert - create a leaf node and merge it in the tree.
146 // @param pRoot position the parent node
147 // @param pMover the direction of the connecting edge of the parent node.
208 BinTreeTy::node_type* node = createNode(); local
209 node->data = m_FileFactory.produce(pNamespec, pPath, pType);
212 const_cast<const node_type*>(node));
215 const_cast<const node_type*>(node));
223 BinTreeTy::node_type* node = createNode(); local
226 const_cast<const node_type*>(node));
229 const_cast<const node_type*>(node));
237 BinTreeTy::node_type* node = createNode(); local
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java227 private void getNode(Element node, Transform parent, String indent) { argument
228 String name = node.getAttribute("name");
229 String id = node.getAttribute("id");
243 Node childNode = node.getFirstChild();
268 } else if (fieldName.equals("node")) {
276 // This will find the actual texture node, which is sometimes hidden behind a sampler
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp33 // Name of metadata node where pragma info resides (should be synced with
41 // Name of metadata node where exported variable names reside
44 // Name of metadata node where exported function names reside
47 // Name of metadata node where exported ForEach name information resides
50 // Name of metadata node where exported ForEach signature information resides
53 // Name of metadata node where RS object slot info resides (should be
71 llvm::MDNode *node = pMetadata->getOperand(i); local
72 if ((node != NULL) && (node->getNumOperands() >= NumOperands)) {
77 llvm::StringRef s = getStringFromOperand(node
208 llvm::MDNode *node; local
227 llvm::MDNode *node; local
244 llvm::MDNode *node; local
340 llvm::MDNode *node; local
[all...]
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c52 static int loadEffect(cnode *node);
276 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2],
277 uuid->node[3],uuid->node[4],uuid->node[5]);
430 cnode *node; local
432 node = config_find(root, LIBRARIES_TAG);
433 if (node
446 cnode *node; local
508 cnode *node; local
524 cnode *node; local
[all...]
/frameworks/av/media/libmedia/
H A DIOMX.cpp60 virtual bool livesLocally(node_id node, pid_t pid) { argument
63 data.writeIntPtr((intptr_t)node);
93 const char *name, const sp<IOMXObserver> &observer, node_id *node) {
102 *node = (void*)reply.readIntPtr();
104 *node = 0;
110 virtual status_t freeNode(node_id node) { argument
113 data.writeIntPtr((intptr_t)node);
120 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) {
123 data.writeIntPtr((intptr_t)node);
132 node_id node, OMX_INDEXTYP
92 allocateNode( const char *name, const sp<IOMXObserver> &observer, node_id *node) argument
119 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument
131 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
152 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
166 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
187 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
201 getState( node_id node, OMX_STATETYPE* state) argument
212 enableGraphicBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument
225 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
238 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer) argument
261 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
283 storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument
296 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument
319 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer) argument
341 freeBuffer( node_id node, OMX_U32 port_index, buffer_id buffer) argument
353 fillBuffer(node_id node, buffer_id buffer) argument
363 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument
381 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument
419 node_id node = (void *)data.readIntPtr(); local
458 node_id node; local
473 node_id node = (void*)data.readIntPtr(); local
484 node_id node = (void*)data.readIntPtr(); local
502 node_id node = (void*)data.readIntPtr(); local
544 node_id node = (void*)data.readIntPtr(); local
558 node_id node = (void*)data.readIntPtr(); local
572 node_id node = (void*)data.readIntPtr(); local
587 node_id node = (void*)data.readIntPtr(); local
607 node_id node = (void*)data.readIntPtr(); local
628 node_id node = (void*)data.readIntPtr(); local
642 node_id node = (void*)data.readIntPtr(); local
664 node_id node = (void*)data.readIntPtr(); local
686 node_id node = (void*)data.readIntPtr(); local
698 node_id node = (void*)data.readIntPtr(); local
709 node_id node = (void*)data.readIntPtr(); local
728 node_id node = (void*)data.readIntPtr(); local
[all...]
/frameworks/av/media/libstagefright/
H A 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_U3
158 livesLocally(node_id node, pid_t pid) argument
172 allocateNode( const char *name, const sp<IOMXObserver> &observer, node_id *node) argument
201 freeNode(node_id node) argument
215 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument
220 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
226 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
232 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
238 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
244 getState( node_id node, OMX_STATETYPE* state) argument
249 storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument
254 enableGraphicBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument
259 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
264 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer) argument
270 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
277 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument
284 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer) argument
291 freeBuffer( node_id node, OMX_U32 port_index, buffer_id buffer) argument
296 fillBuffer(node_id node, buffer_id buffer) argument
300 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument
309 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument
[all...]
H A DACodec.cpp64 msg->setPointer("node", omx_msg.node);
2469 CHECK(msg->findPointer("node", &nodeID));
3109 IOMX::node_id node = NULL; local
3119 status_t err = omx->allocateNode(componentName.c_str(), observer, &node);
3126 node = NULL;
3129 if (node == NULL) {
3153 mCodec->mNode = node;
3931 msg->setPointer("node", mCodec->mNode);
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java68 * to a single node representing that Animator, not create a new Node
206 for (Node node : mNodes) {
207 childList.add(node.animation);
221 for (Node node : mNodes) {
222 Animator animation = node.animation;
239 for (Node node : mNodes) {
240 node.animation.setInterpolator(interpolator);
303 for (Node node : mSortedNodes) {
304 node.animation.cancel();
329 for (Node node
644 DependencyListener(AnimatorSet animatorSet, Node node, int rule) argument
866 public Node node; field in class:AnimatorSet.Dependency
871 Dependency(Node node, int rule) argument
[all...]
/frameworks/base/media/libdrm/mobile1/src/xml/
H A Dxml_tinyparser.c208 /* <test/> node found */
336 uint8_t *XML_DOM_getNode(uint8_t *buffer, const uint8_t *const node) argument
350 strncpy((char *)nodeStr, (char *)node, XML_MAX_PROPERTY_LEN);
372 /* wrong node, contiue to fetch the next node */
404 uint8_t *XML_DOM_getNodeValue(uint8_t *buffer, uint8_t *node, argument
410 if (NULL == node || NULL == buffer) {
415 lastTag = node + strlen((char *)node) - 1;
416 while (lastTag >= node
476 WBXML_DOM_getNode(uint8_t *buffer, int32_t bufferLen, uint8_t *node) argument
529 WBXML_DOM_getNodeValue(uint8_t *buffer, int32_t bufferLen, uint8_t *node, uint8_t **value, int32_t *valueLen) argument
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h257 * \brief BinaryTreeBase gives root node and memory management.
261 * inserton of a node.
271 /// TreeImpl - TreeImpl records the root node and the number of nodes
286 NodeBase node; member in class:mcld::BinaryTreeBase::TreeImpl
291 node.left = node.right = &node;
305 if ((*data).left == &pClient.node)
306 (*data).left = &node;
307 if ((*data).right == &pClient.node)
443 node_type *node = BinaryTreeBase<DataType>::createNode(); local
[all...]
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp62 void insertAfter(NODE* node, NODE* newNode) { argument
63 newNode->prev = node;
64 newNode->next = node->next;
65 if (node->next == 0) mLast = newNode;
66 else node->next->prev = newNode;
67 node->next = newNode;
70 void insertBefore(NODE* node, NODE* newNode) { argument
71 newNode->prev = node->prev;
72 newNode->next = node;
73 if (node
101 remove(NODE* node) argument
277 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp118 ALOGV("Would have dispatched a message to a node that's already gone.");
188 bool OMX::livesLocally(node_id node, pid_t pid) { argument
221 const char *name, const sp<IOMXObserver> &observer, node_id *node) {
224 *node = 0;
241 *node = makeNodeID(instance);
242 mDispatchers.add(*node, new CallbackDispatcher(instance));
244 instance->setHandle(*node, handle);
252 status_t OMX::freeNode(node_id node) { argument
253 OMXNodeInstance *instance = findInstance(node);
260 // same time that a client attempts to free the node explicitl
220 allocateNode( const char *name, const sp<IOMXObserver> &observer, node_id *node) argument
280 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument
285 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
292 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
299 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
306 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
313 getState( node_id node, OMX_STATETYPE* state) argument
319 enableGraphicBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument
324 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
329 storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument
334 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer) argument
341 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
348 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument
355 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer) argument
362 freeBuffer(node_id node, OMX_U32 port_index, buffer_id buffer) argument
367 fillBuffer(node_id node, buffer_id buffer) argument
371 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument
380 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument
388 OnEvent( node_id node, OMX_IN OMX_EVENTTYPE eEvent, OMX_IN OMX_U32 nData1, OMX_IN OMX_U32 nData2, OMX_IN OMX_PTR pEventData) argument
408 OnEmptyBufferDone( node_id node, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) argument
422 OnFillBufferDone( node_id node, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) argument
445 node_id node = (node_id)++mNodeCounter; local
451 findInstance(node_id node) argument
459 findDispatcher(node_id node) argument
467 invalidateNodeID(node_id node) argument
472 invalidateNodeID_l(node_id node) argument
[all...]
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp72 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) {
74 node, NULL, NULL, msg, timeoutUs);
119 IOMX::node_id node,
129 if ((*it).node == node) {
157 IOMX::node_id node, OMX_U32 portIndex,
166 node, OMX_IndexParamPortDefinition, def, sizeof(*def));
179 IOMX::node_id node, OMX_U32 portIndex,
184 status_t err = getPortDefinition(node, portIndex, &def);
194 node, portInde
71 dequeueMessageForNode( IOMX::node_id node, omx_message *msg, int64_t timeoutUs) argument
118 dequeueMessageForNodeIgnoringBuffers( IOMX::node_id node, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers, omx_message *msg, int64_t timeoutUs) argument
156 getPortDefinition( IOMX::node_id node, OMX_U32 portIndex, OMX_PARAM_PORTDEFINITIONTYPE *def) argument
177 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument
203 setRole(IOMX::node_id node, const char *role) argument
219 NodeReaper(const sp<Harness> &harness, IOMX::node_id node) argument
285 IOMX::node_id node; local
[all...]
/frameworks/base/core/java/android/content/
H A DContentService.java293 ObserverCall(ObserverNode node, IContentObserver observer, boolean selfChange) { argument
294 mNode = node;
720 // If this is the leaf node add the observer
734 ObserverNode node = mChildren.get(i);
735 if (node.mName.equals(segment)) {
736 node.addObserverLocked(uri, index + 1, observer, notifyForDescendants,
743 ObserverNode node = new ObserverNode(segment);
744 mChildren.add(node);
745 node.addObserverLocked(uri, index + 1, observer, notifyForDescendants,
814 // This is the leaf node, notif
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp1092 size_t AudioPolicyService::readParamValue(cnode *node, argument
1097 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) {
1099 *(short *)((char *)param + pos) = (short)atoi(node->value);
1102 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) {
1104 *(int *)((char *)param + pos) = atoi(node->value);
1107 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) {
1109 *(float *)((char *)param + pos) = (float)atof(node->value);
1112 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) {
1114 if (strncmp(node->value, "false", strlen("false") + 1) == 0) {
1121 } else if (strncmp(node
1203 cnode *node = root->first_child; local
1220 cnode *node = root->first_child; local
1255 cnode *node = config_find(root, PREPROCESSING_TAG); local
1281 cnode *node = config_find(root, UUID_TAG); local
1295 cnode *node = config_find(root, EFFECTS_TAG); local
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java957 DependencyGraph.Node node = mGraph.mKeyNodes.get(id);
958 if (node == null) return null;
959 View v = node.view;
964 node = mGraph.mKeyNodes.get((rules[relation]));
965 if (node == null) return null;
966 v = node.view;
1455 * List of nodes in the graph. Each node is identified by its
1485 * @param view The view to be added as a node to the graph.
1489 final Node node = Node.acquire(view);
1492 mKeyNodes.put(id, node);
1618 appendViewId(Resources resources, Node node, StringBuilder buffer) argument
1626 printNode(Resources resources, Node node) argument
1638 printdependents(Resources resources, Node node, StringBuilder buffer) argument
[all...]

Completed in 1247 milliseconds

12