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

12345

/frameworks/base/libs/hwui/tests/microbench/
H A DRenderNodeBench.cpp26 auto node = new RenderNode(); local
27 node->incStrong(0);
28 benchmark::DoNotOptimize(node);
29 node->decStrong(0);
H A DFrameBuilderBench.cpp42 auto node = TestUtils::createNode<RecordingCanvas>(0, 0, 200, 200, local
57 TestUtils::syncHierarchyPropertiesAndDisplayList(node);
58 return node;
63 auto node = createTestNode();
67 frameBuilder.deferRenderNode(*node);
76 auto node = createTestNode();
84 frameBuilder.deferRenderNode(*node);
118 auto node = getSyncedSceneNode(sceneName);
123 frameBuilder.deferRenderNode(*node);
134 auto node
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DLeakCheckTests.cpp33 auto node = TestUtils::createNode(0, 0, 100, 100, local
47 frameBuilder.deferRenderNode(*TestUtils::getSyncedNode(node));
53 auto node = TestUtils::createNode(0, 0, 200, 200, local
64 frameBuilder.deferRenderNode(*TestUtils::getSyncedNode(node));
H A DLayerUpdateQueueTests.cpp32 // sync node properties, so properties() reflects correct width and height
34 sp<RenderNode> node = TestUtils::createNode(0, 0, width, height, nullptr); local
35 TestUtils::syncHierarchyPropertiesAndDisplayList(node);
36 return node;
H A DSkiaRenderPropertiesTests.cpp60 auto node = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, local
69 RenderNodeDrawable drawable(node.get(), &canvas, true);
82 << "Clip rect should be intersection of node bounds and clip bounds";
H A DRenderNodeTests.cpp53 EXPECT_TRUE(child->hasParents()) << "Child node has no parent";
54 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
61 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
66 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
254 auto node = TestUtils::createNode(0, 0, 200, 400, local
259 TestUtils::syncHierarchyPropertiesAndDisplayList(node);
262 TestUtils::recordNode(*node, [&](Canvas& canvas) {
268 TestUtils::syncHierarchyPropertiesAndDisplayList(node);
271 TestUtils::recordNode(*node, [](Canvas& canvas) {});
273 TestUtils::syncHierarchyPropertiesAndDisplayList(node);
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java28 * 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 DAccessibilityNodeInfoDumper.java47 * @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...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DMgmtTreeRoot.java8 public MgmtTreeRoot(XMLNode node, String dtdRev) { argument
10 node.getTextualAttributes());
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/base/native/android/
H A Dnet.c76 const char *node, const char *service,
84 return android_getaddrinfofornet(node, service, hints, netid, 0, res);
75 android_getaddrinfofornetwork(net_handle_t network, const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DSubscriptionParameters.java26 public SubscriptionParameters(OMANode node) throws OMAException { argument
27 mCDate = MOManager.getTime(node.getChild(TAG_CreationDate));
28 mXDate = MOManager.getTime(node.getChild(TAG_ExpirationDate));
29 mType = MOManager.getString(node.getChild(TAG_TypeOfSubscription));
31 OMANode ulNode = node.getChild(TAG_UsageLimits);
38 throw new OMAException("Not expecting leaf node in " +
53 private Limit(OMANode node) throws OMAException { argument
54 mDataLimit = MOManager.getLong(node, TAG_DataLimit, Long.MAX_VALUE);
55 mStartDate = MOManager.getTime(node.getChild(TAG_StartDate));
56 mTimeLimit = MOManager.getLong(node, TAG_TimeLimi
[all...]
/frameworks/base/tools/aapt2/optimize/
H A DResourceDeduper.cpp46 void VisitConfig(Node* node) { argument
47 Node* parent = node->parent();
51 ResourceConfigValue* node_value = node->value();
/frameworks/base/tools/incident_report/
H A Dgeneric_message.cpp30 Node node; local
31 node.type = TYPE_VALUE32;
32 node.value32 = value;
33 mNodes.insert(pair<int32_t,Node>(fieldId, node));
39 Node node; local
40 node.type = TYPE_VALUE64;
41 node.value64 = value;
42 mNodes.insert(pair<int32_t,Node>(fieldId, node));
49 Node node; local
50 node
59 Node node; local
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParserTest.java85 private void dump(Node node, String prefix) { argument
106 types[node.getNodeType()],
107 node.getNodeName(),
108 node.getNodeValue() == null ? "" : node.getNodeValue().trim());
112 n = node.getFirstChild();
117 n = node.getNextSibling();
/frameworks/compile/libbcc/lib/
H A DRSIsThreadablePass.cpp115 llvm::NamedMDNode *node = variable
117 node->addOperand(llvm::MDNode::get(context, val));
/frameworks/compile/mclinker/lib/Core/
H A DInputTree.cpp26 pMover.connect(pRoot, pTree.m_Root.node.right);
29 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node;
36 NodeBase* node = createNode(); local
37 pMover.connect(pRoot, node);
44 BinaryTree<Input>::node_type* node = createNode(); local
45 node->data = &pInput;
46 pMover.connect(pRoot, node);
/frameworks/compile/mclinker/unittests/
H A DFactoriesTest.cpp40 NodeAlloc::NodeType* node = m_pNodeAlloc->produce(); local
43 node = m_pNodeAlloc->produce();
46 node = m_pNodeAlloc->produce();
52 NodeAlloc::NodeType* node = 0; local
54 node = m_pNodeAlloc->produce();
55 node->data = (int*)malloc(sizeof(int));
56 *(node->data) = i;
71 NodeAlloc::NodeType* node = 0; local
73 node = m_pNodeAlloc->produce();
74 node
93 NodeAlloc::NodeType* node = 0; local
117 NodeAlloc::NodeType* node = 0; local
153 NodeAlloc::NodeType* node = 0; local
[all...]
H A DGraphTest.cpp316 Digraph::Node node = graph.addNode(); local
H A DInputTreeTest.cpp68 InputTree::iterator node = m_pTestee->root(); local
69 InputTree::const_iterator const_node = node;
70 --node;
73 ASSERT_TRUE(isGroup(node));
78 --node;
80 m_pTestee->enterGroup(node, InputTree::Downward);
82 InputTree::const_iterator const_node2 = node;
84 ASSERT_FALSE(node.isRoot());
86 ASSERT_FALSE(isGroup(node));
95 InputTree::iterator node local
120 InputTree::iterator node = m_pTestee->root(); local
139 InputTree::iterator node = m_pTestee->root(); local
[all...]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
H A DMetadataRepoTest.java100 final EmojiMetadata getNode(Node node, final int[] codepoints, int start) { argument
102 if (codepoints.length == start) return node.getData();
104 final Node childNode = node.get(codepoints[start]);
/frameworks/base/libs/hwui/pipeline/skia/
H A DRenderNodeDrawable.h41 * Creates a new RenderNodeDrawable backed by a render node.
43 * @param node that has to be drawn
45 * @param composeLayer if the node's layer type is RenderLayer this flag determines whether
49 explicit RenderNodeDrawable(RenderNode* node, SkCanvas* canvas, bool composeLayer = true, argument
51 : mRenderNode(node)
57 * Draws into the canvas this render node and its children. If the node is marked as a
59 * last. Any projected node not matching those requirements will not be drawn by this function.
64 * Returns readonly render properties for this render node.
80 * Sets a pointer to a display list of the parent render node
[all...]
H A DSkiaDisplayList.cpp39 bool SkiaDisplayList::reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) { argument
41 node->attachAvailableList(this);
92 // If any vector drawable in the display list needs update, damage the node.
/frameworks/base/libs/hwui/tests/common/
H A DTestListViewSceneBase.cpp39 auto node = TestUtils::createNode(mItemLeft, y, mItemLeft + mItemWidth, local
41 mListItems.push_back(node);
/frameworks/base/tools/aapt2/
H A DDominatorTree.h33 * A node in the tree represents a resource configuration.
96 virtual void VisitConfig(Node* node) = 0;
99 void VisitNode(Node* node) { argument
100 for (auto& child : node->children()) {
103 VisitConfig(node);

Completed in 492 milliseconds

12345