/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 31 * 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 D | AccessibilityNodeInfoDumper.java | 95 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer, argument 97 serializer.startTag("", "node"); 98 if (!nafExcludedClass(node) && !nafCheck(node)) 101 serializer.attribute("", "text", safeCharSeqToString(node.getText())); 102 serializer.attribute("", "class", safeCharSeqToString(node.getClassName())); 103 serializer.attribute("", "package", safeCharSeqToString(node.getPackageName())); 104 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); 105 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); 106 serializer.attribute("", "checked", Boolean.toString(node 162 nafCheck(AccessibilityNodeInfo node) argument 188 childNafCheck(AccessibilityNodeInfo node) argument [all...] |
H A D | UiObject.java | 119 AccessibilityNodeInfo node = findAccessibilityNodeInfo(WAIT_FOR_SELECTOR_TIMEOUT); 120 if(node == null) { 123 return node.getChildCount(); 135 AccessibilityNodeInfo node = null; 141 node = getQueryController().findAccessibilityNodeInfo(getSelector()); 146 node = getQueryController().findAccessibilityNodeInfo(getSelector()); 147 if (node != null) { 158 return node; 244 * @param node 245 * @return null if node i 247 getVisibleBounds(AccessibilityNodeInfo node) argument 279 getScrollableParent(AccessibilityNodeInfo node) argument [all...] |
H A D | UiSelector.java | 264 * Set the search criteria to match the widget by its node 524 * can also be a single level referencing only one node. In such cases the return 528 * reference child node. 577 boolean isMatchFor(AccessibilityNodeInfo node, int index) { argument 588 if (node.isChecked() != getBoolean(criterion)) { 593 s = node.getClassName(); 599 s = node.getClassName(); 605 if (node.isClickable() != getBoolean(criterion)) { 610 if (node.isLongClickable() != getBoolean(criterion)) { 615 s = node [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParserTest.java | 82 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 D | FactoriesTest.cpp | 45 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 D | InputTreeTest.cpp | 48 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 D | InputTree.cpp | 35 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 D | IOMX.h | 46 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 D | InputTree.h | 144 /// 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 D | ColladaParser.java | 227 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 D | RSInfoExtractor.cpp | 33 // 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 D | EffectsFactory.c | 52 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 D | IOMX.cpp | 60 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> ¶ms, 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> ¶ms, 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 D | OMXClient.cpp | 37 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> ¶ms, 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> ¶ms, 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 D | ACodec.cpp | 64 msg->setPointer("node", omx_msg.node); 2416 CHECK(msg->findPointer("node", &nodeID)); 3056 IOMX::node_id node = NULL; local 3066 status_t err = omx->allocateNode(componentName.c_str(), observer, &node); 3073 node = NULL; 3076 if (node == NULL) { 3100 mCodec->mNode = node; 3878 msg->setPointer("node", mCodec->mNode);
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 68 * 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/compile/mclinker/include/mcld/ADT/ |
H A D | BinTree.h | 257 * \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 D | MemoryDealer.cpp | 62 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/base/media/libdrm/mobile1/src/xml/ |
H A D | xml_tinyparser.c | 208 /* <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/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 118 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> ¶ms, 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> ¶ms, 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 D | OMXHarness.cpp | 72 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 D | ContentService.java | 293 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 D | AudioPolicyService.cpp | 1092 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 D | RelativeLayout.java | 921 DependencyGraph.Node node = mGraph.mKeyNodes.get(id); 922 if (node == null) return null; 923 View v = node.view; 928 node = mGraph.mKeyNodes.get((rules[relation])); 929 if (node == null) return null; 930 v = node.view; 1419 * List of nodes in the graph. Each node is identified by its 1449 * @param view The view to be added as a node to the graph. 1453 final Node node = Node.acquire(view); 1456 mKeyNodes.put(id, node); 1582 appendViewId(Resources resources, Node node, StringBuilder buffer) argument 1590 printNode(Resources resources, Node node) argument 1602 printdependents(Resources resources, Node node, StringBuilder buffer) argument [all...] |