/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 28 * Returns the node's bounds clipped to the size of the display 30 * @param node 33 * @return null if node is null, else a Rect containing visible bounds 35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument 36 if (node == null) { 39 // targeted node's bounds 41 node.getBoundsInScreen(nodeRect);
|
H A D | AccessibilityNodeInfoDumper.java | 47 * @param root The root accessibility node. 69 * @param root The root accessibility node. 101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, argument 103 serializer.startTag("", "node"); 104 if (!nafExcludedClass(node) && !nafCheck(node)) 107 serializer.attribute("", "text", safeCharSeqToString(node.getText())); 108 serializer.attribute("", "resource-id", safeCharSeqToString(node.getViewIdResourceName())); 109 serializer.attribute("", "class", safeCharSeqToString(node.getClassName())); 110 serializer.attribute("", "package", safeCharSeqToString(node 150 nafExcludedClass(AccessibilityNodeInfo node) argument 169 nafCheck(AccessibilityNodeInfo node) argument 195 childNafCheck(AccessibilityNodeInfo node) argument [all...] |
H A D | UiObject.java | 148 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); 149 if(node == null) { 152 return node.getChildCount(); 164 AccessibilityNodeInfo node = null; 168 node = getQueryController().findAccessibilityNodeInfo(getSelector()); 169 if (node != null) { 180 return node; 332 * @param node 333 * @return null if node is null, else a Rect containing visible bounds 335 private Rect getVisibleBounds(AccessibilityNodeInfo node) { argument 369 getScrollableParent(AccessibilityNodeInfo node) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParserTest.java | 71 private void dump(Node node, String prefix) { argument 92 types[node.getNodeType()], 93 node.getNodeName(), 94 node.getNodeValue() == null ? "" : node.getNodeValue().trim()); 98 n = node.getFirstChild(); 103 n = node.getNextSibling();
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20RecordingCanvas.java | 43 static GLES20RecordingCanvas obtain(@NonNull RenderNode node) { argument 44 if (node == null) throw new IllegalArgumentException("node cannot be null"); 49 canvas.mNode = node;
|
H A D | HardwareRenderer.java | 364 abstract void buildLayer(RenderNode node); argument
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | InputTree.cpp | 27 pMover.connect(pRoot, pTree.m_Root.node.right); 31 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node; 39 NodeBase* node = createNode(); local 40 pMover.connect(pRoot, node); 48 BinaryTree<Input>::node_type* node = createNode(); local 49 node->data = &pInput; 50 pMover.connect(pRoot, node);
|
/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 | GraphTest.cpp | 333 Digraph::Node node = graph.addNode(); local
|
H A D | InputTreeTest.cpp | 78 InputTree::iterator node = m_pTestee->root(); local 79 InputTree::const_iterator const_node = node; 80 --node; 83 ASSERT_TRUE(isGroup(node)); 88 --node; 90 m_pTestee->enterGroup(node, InputTree::Downward); 92 InputTree::const_iterator const_node2 = node; 94 ASSERT_FALSE(node.isRoot()); 96 ASSERT_FALSE(isGroup(node)); 105 InputTree::iterator node local 132 InputTree::iterator node = m_pTestee->root(); local 154 InputTree::iterator node = m_pTestee->root(); local [all...] |
/frameworks/base/libs/hwui/tests/ |
H A D | main.cpp | 41 static DisplayListRenderer* startRecording(RenderNode* node) { argument 43 renderer->setViewport(node->getWidth(), node->getHeight()); 48 static void endRecording(DisplayListRenderer* renderer, RenderNode* node) { argument 50 node->setStagingDisplayList(renderer->finishRecording()); 55 sp<RenderNode> node = new RenderNode(); local 56 node->mutateStagingProperties().setLeftTopRightBottom(x, y, x + width, y + height); 57 node->mutateStagingProperties().setElevation(dp(16)); 58 node->mutateStagingProperties().mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); 59 node [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | SpaceNode.java | 29 /* BSP node callbacks */ 31 /** Notifies when a node is added */ 32 public void onSpaceNodeAdded(SpaceNode node); argument 33 /** Notifies when a node is measured */ 34 public void onSpaceNodeMeasured(SpaceNode node, Rect rect); argument 46 /** Sets the current stack for this space node */ 56 /** Returns whether there are any tasks in any stacks below this node. */ 63 /** Returns whether this is a leaf node */
|
/frameworks/av/include/media/ |
H A D | IOMX.h | 47 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_U3 169 IOMX::node_id node; member in struct:android::omx_message [all...] |
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.cpp | 46 void AnimationContext::addAnimatingRenderNode(RenderNode& node) { argument 47 if (!node.animators().hasAnimationHandle()) { 48 AnimationHandle* handle = new AnimationHandle(node, *this);
|
/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 181 llvm::MDNode *node; local 200 llvm::MDNode *node; local 217 llvm::MDNode *node; local 313 llvm::MDNode *node; local [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.cpp | 393 size_t AudioPolicyEffects::readParamValue(cnode *node, argument 398 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) { 400 *(short *)((char *)param + pos) = (short)atoi(node->value); 403 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) { 405 *(int *)((char *)param + pos) = atoi(node->value); 408 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) { 410 *(float *)((char *)param + pos) = (float)atof(node->value); 413 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) { 415 if (strncmp(node->value, "false", strlen("false") + 1) == 0) { 422 } else if (strncmp(node 504 cnode *node = root->first_child; local 522 cnode *node = root->first_child; local 559 cnode *node = config_find(root, PREPROCESSING_TAG); local 586 cnode *node = config_find(root, OUTPUT_SESSION_PROCESSING_TAG); local 612 cnode *node = config_find(root, UUID_TAG); local 626 cnode *node = config_find(root, EFFECTS_TAG); local [all...] |
/frameworks/base/core/java/android/util/ |
H A D | PathParser.java | 279 * @param node The source array of PathDataNode. 282 public static void nodesToPath(PathDataNode[] node, Path path) { argument 285 for (int i = 0; i < node.length; i++) { 286 addCommand(path, current, previousCommand, node[i].mType, node[i].mParams); 287 previousCommand = node[i].mType;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ExploreByTouchHelper.java | 50 /** Virtual node identifier value for invalid nodes. */ 108 * @return The accessibility node provider for this helper. 266 * Constructs and returns an {@link AccessibilityEvent} for the host node. 315 * construct a node. 332 * @return An {@link AccessibilityNodeInfo} for the parent node. 335 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); 336 onInitializeAccessibilityNodeInfo(mView, node); 349 node.addChild(mView, virtualViewIds.get(i)); 352 return node; 359 * Allows the implementing class to specify most node propertie 706 onPopulateNodeForVirtualView( int virtualViewId, AccessibilityNodeInfo node) argument [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/mclinker/include/mcld/ |
H A D | InputTree.h | 51 // skip the Group node 60 // skip the Group node 103 bfs_iterator it = bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); 110 { return bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); } 115 const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); 122 { return const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); } 126 dfs_iterator it = dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); 133 { return dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); } 138 const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); 145 { return const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node 184 node_type *node = BinaryTreeBase<Input>::createNode(); local 323 BinTreeTy::node_type* node = createNode(); local 337 BinTreeTy::node_type* node = createNode(); local [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ExploreByTouchHelper.java | 57 /** Virtual node identifier value for invalid nodes. */ 103 * @return The accessibility node provider for this helper. 264 * Constructs and returns an {@link AccessibilityEvent} for the host node. 315 * construct a node. 332 * @return An {@link AccessibilityNodeInfoCompat} for the parent node. 335 final AccessibilityNodeInfoCompat node = AccessibilityNodeInfoCompat.obtain(mView); 336 ViewCompat.onInitializeAccessibilityNodeInfo(mView, node); 343 node.addChild(mView, childVirtualViewId); 346 return node; 353 * Allows the implementing class to specify most node propertie 682 onPopulateNodeForVirtualView( int virtualViewId, AccessibilityNodeInfoCompat node) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | OMXClient.cpp | 42 virtual bool livesLocally(node_id node, pid_t pid); 48 node_id *node); 50 virtual status_t freeNode(node_id node); 53 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param); 56 node_id node, OMX_INDEXTYPE index, 60 node_id node, OMX_INDEXTYPE index, 64 node_id node, OMX_INDEXTYPE index, 68 node_id node, OMX_INDEXTYPE index, 72 node_id node, OMX_STATETYPE* state); 75 node_id node, OMX_U3 195 livesLocally(node_id node, pid_t pid) argument 209 allocateNode( const char *name, const sp<IOMXObserver> &observer, node_id *node) argument 238 freeNode(node_id node) argument 252 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument 257 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 263 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 269 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 275 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 281 getState( node_id node, OMX_STATETYPE* state) argument 286 storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument 291 prepareForAdaptivePlayback( node_id node, OMX_U32 port_index, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument 298 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument 305 enableGraphicBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable) argument 310 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument 315 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer) argument 321 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument 328 updateGraphicBufferInMeta( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) argument 335 createInputSurface( node_id node, OMX_U32 port_index, sp<IGraphicBufferProducer> *bufferProducer) argument 343 signalEndOfInputStream(node_id node) argument 347 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument 354 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer) argument 361 freeBuffer( node_id node, OMX_U32 port_index, buffer_id buffer) argument 366 fillBuffer(node_id node, buffer_id buffer) argument 370 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument 379 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument 386 setInternalOption( node_id node, OMX_U32 port_index, InternalOptionType type, const void *data, size_t size) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 68 * to a single node representing that Animator, not create a new Node 218 for (Node node : mNodes) { 219 childList.add(node.animation); 233 for (Node node : mNodes) { 234 Animator animation = node.animation; 334 for (Node node : mSortedNodes) { 335 node.animation.cancel(); 360 for (Node node : mSortedNodes) { 364 node.animation.addListener(mSetListener); 371 for (Node node 733 DependencyListener(AnimatorSet animatorSet, Node node, int rule) argument 985 public Node node; field in class:AnimatorSet.Dependency 990 Dependency(Node node, int rule) argument [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 281 void CanvasContext::markLayerInUse(RenderNode* node) { argument 282 if (mPrefetechedLayers.erase(node)) { 283 node->decStrong(0); 287 static void destroyPrefetechedNode(RenderNode* node) { argument 288 ALOGW("Incorrectly called buildLayer on View: %s, destroying layer...", node->getName()); 289 node->destroyHardwareResources(); 290 node->decStrong(0); 301 void CanvasContext::buildLayer(RenderNode* node) { argument 314 node->prepareTree(info); 317 // Tickle the GENERIC property on node t [all...] |
H A D | RenderProxy.cpp | 270 CREATE_BRIDGE2(buildLayer, CanvasContext* context, RenderNode* node) { argument 271 args->context->buildLayer(args->node); 275 void RenderProxy::buildLayer(RenderNode* node) { argument 278 args->node = node;
|