/frameworks/base/tools/aapt2/configuration/ |
H A D | ConfigurationParser.cpp | 125 /** XML node visitor that removes all of the namespace URIs from the node and all children. */ 128 void Visit(xml::Element* node) override { 129 node->namespace_uri.clear(); 130 VisitChildren(node); variable 520 for (auto& node : root_element->children) { 522 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { 562 for (auto& node : child->children) { 564 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { 623 for (auto& node [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 1011 DependencyGraph.Node node = mGraph.mKeyNodes.get(id); 1012 if (node == null) return null; 1013 View v = node.view; 1018 node = mGraph.mKeyNodes.get((rules[relation])); 1020 if (node == null || v == node.view) return null; 1021 v = node.view; 1711 * List of nodes in the graph. Each node is identified by its 1741 * @param view The view to be added as a node to the graph. 1745 final Node node [all...] |
H A D | SimpleMonthView.java | 1084 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { argument 1088 // The day is invalid, kill the node. 1090 node.setContentDescription(""); 1091 node.setBoundsInParent(mTempRect); 1092 node.setVisibleToUser(false); 1096 node.setText(getDayText(virtualViewId)); 1097 node.setContentDescription(getDayDescription(virtualViewId)); 1098 node.setBoundsInParent(mTempRect); 1102 node.addAction(AccessibilityAction.ACTION_CLICK); 1105 node [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
H A D | EuiccCard.java | 550 Asn1Node node = nodes.get(i); 551 List<Asn1Node> opIdNodes = node.getChild(Tags.TAG_CTX_COMP_1).getChildren(); 557 builder.add(node.getChild(Tags.TAG_CTX_0).asBits(), Arrays.asList(opIds), 558 node.getChild(Tags.TAG_CTX_2).asBits()); 922 * Sets a device capability version as the child of the given device capability ASN1 node 925 * @param devCapBuilder The ASN1 node builder to modify. 1143 private static CarrierIdentifier buildCarrierIdentifier(Asn1Node node) argument 1146 if (node.hasChild(Tags.TAG_CTX_1)) { 1147 gid1 = IccUtils.bytesToHexString(node.getChild(Tags.TAG_CTX_1).asBytes()); 1150 if (node 1191 createNotification(Asn1Node node) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.h | 54 // Stops tracking the RenderNode and destroys the handle. The node must be 90 ANDROID_API void addAnimatingRenderNode(RenderNode& node);
|
H A D | TreeInfo.h | 49 // is finished it is possible that the node was "resurrected" and has 51 virtual void onMaybeRemovedFromTree(RenderNode* node) = 0;
|
H A D | RecordedOp.h | 480 explicit LayerOp(RenderNode& node) argument 481 : RecordedOp(RecordedOpId::LayerOp, Rect(node.getWidth(), node.getHeight()), 483 , layerHandle(node.getLayerHandle()) 484 , alpha(node.properties().layerProperties().alpha() / 255.0f) 485 , mode(node.properties().layerProperties().xferMode()) 486 , colorFilter(node.properties().layerProperties().colorFilter()) {}
|
H A D | FrameBuilder.cpp | 77 // only schedule repaint if node still on layer - possible it may have been 124 static Rect nodeBounds(RenderNode& node) { argument 125 auto& props = node.properties(); 156 // Bounds that content will fill in render target space (note content node bounds may be bigger) 182 // content node translation to catch up with backdrop 206 void FrameBuilder::deferNodePropsAndOps(RenderNode& node) { argument 207 const RenderProperties& properties = node.properties(); 255 ATRACE_FORMAT("%s alpha caused saveLayer %dx%d", node.getName(), width, height); 279 if (node.getLayer()) { 281 LayerOp* drawLayerOp = mAllocator.create_trivial<LayerOp>(node); 389 auto& node = *casterNodeOp.renderNode; local [all...] |
H A D | VectorDrawable.h | 70 * Each node can be a group node, or a path. 71 * A group node can have groups or paths as children, but a path node has 110 explicit Properties(Node* node) : mNode(node) {} argument 116 Node(const Node& node) { mName = node.mName; } argument 147 explicit PathProperties(Node* node) : Properties(node) {} argument [all...] |
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/gmaven/ |
H A D | GMavenVersionChecker.kt | 138 * Constructs an instance from the given node. 140 * @param xml The information node fetched from {@code GROUP_FILE} 154 val node = it as Node 155 val versions = (node.attributes()["versions"] as String).split(",").map {
|
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/gmaven/ |
H A D | GMavenVersionChecker.kt | 138 * Constructs an instance from the given node. 140 * @param xml The information node fetched from {@code GROUP_FILE} 154 val node = it as Node 155 val versions = (node.attributes()["versions"] as String).split(",").map {
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/ |
H A D | XmlUtils.kt | 93 fun createDependencyFrom(node: Element, properties: Map<String, String>): PomDependency { 103 for (childNode in node.children) {
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | Expr.java | 391 for (Expr node : mChildren) { 392 if (!node.isDynamic()) { 395 dependencies.add(new Dependency(this, node)); 618 Node node = new Node(); 620 node.mBitSet.or(getPredicateInvalidFlags()); 622 node.mBitSet.or(getInvalidFlags()); 631 node.mParents.add(cond); 633 node.mParents.add(dependant.getAllCalculationPaths()); 636 mCalculationPaths = node;
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RenderNodeTests.cpp | 52 EXPECT_TRUE(child->hasParents()) << "Child node has no parent"; 53 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; 60 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; 65 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; 247 auto node = TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { local 251 TestUtils::syncHierarchyPropertiesAndDisplayList(node); 254 TestUtils::recordNode(*node, [&](Canvas& canvas) { 260 TestUtils::syncHierarchyPropertiesAndDisplayList(node); 263 TestUtils::recordNode(*node, [](Canvas& canvas) {}); 265 TestUtils::syncHierarchyPropertiesAndDisplayList(node); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotController.java | 355 final RenderNode node = RenderNode.create("TaskSnapshotController", null); 356 node.setLeftTopRightBottom(0, 0, width, height); 357 node.setClipToBounds(false); 358 final DisplayListCanvas c = node.start(width, height); 362 node.end(c); 363 final Bitmap hwBitmap = ThreadedRenderer.createHardwareBitmap(node, width, height);
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
H A D | Asn1Node.java | 29 * This represents a primitive or constructed data defined by ASN.1. A constructed node can have 30 * child nodes. A non-constructed node can have a value. This class is read-only. To build a node, 60 * Adds a child from an existing node. 63 * @throws IllegalArgumentException If the child is a non-existing node. 129 * @param value The value will be owned by this node. 193 /** Builds the node. */ 205 // Byte array that actually holds the data. For a non-constructed node, this stores its actual 206 // value. If the value is not set, this is null. For constructed node, this stores encoded data 211 // Length of the data in above byte array. If it's a constructed node, thi [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | ExpressionVisitor.java | 234 public Expr visitTerminal(@NonNull TerminalNode node) { argument 236 onEnter((ParserRuleContext) node.getParent()); 237 final int type = node.getSymbol().getType(); 263 throw new RuntimeException("cannot create expression from terminal node " + 264 node.toString()); 266 return mModel.symbol(node.getText(), classType); 268 onExit((ParserRuleContext) node.getParent());
|
H A D | ExpressionParser.java | 72 public void visitTerminal(TerminalNode node) { 76 public void visitErrorNode(ErrorNode node) {
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | PropertyNodesVerifierElem.java | 34 * If the node does not exist in the "ordered list", the class refers to 35 * "unorderd expected property set" and checks the node is expected somewhere. 216 for (PropertyNode node : nodes) { 217 if (!expectedProps.contains(node.propName)) { 218 expectedProps.add(node.propName); 222 for (PropertyNode node : mUnorderedNodeList) { 223 if (!expectedProps.contains(node.propName)) { 224 expectedProps.add(node.propName); 264 // There's no expected node with same propName. 279 // There's no expected node wit [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
H A D | TextViewPrecomputedTextPerfTest.java | 353 final RenderNode node = RenderNode.create("benchmark", null); 363 final DisplayListCanvas c = node.start( 378 final RenderNode node = RenderNode.create("benchmark", null); 389 final DisplayListCanvas c = node.start( 404 final RenderNode node = RenderNode.create("benchmark", null); 417 final DisplayListCanvas c = node.start( 432 final RenderNode node = RenderNode.create("benchmark", null); 446 final DisplayListCanvas c = node.start(
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.h | 49 bool createOrUpdateLayer(RenderNode* node, const DamageAccumulator& damageAccumulator, 58 static void destroyLayer(RenderNode* node);
|
H A D | SkiaDisplayList.h | 93 bool reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) override; 111 * @return true if any content change requires the node to be invalidated 127 * Returns true if there is a child render node that is a projection receiver. 151 // mProjectionReceiver points to a child node (stored in mChildNodes) that is as a projection 156 // mProjectedOutline is valid only when render node tree is traversed during the draw pass. 157 // Render nodes that have a child receiver node, will store a pointer to their outline in 158 // mProjectedOutline. Child receiver node will apply the clip before any backward projected 159 // node is drawn. 162 // mProjectedReceiverParentMatrix is valid when render node tree is traversed during the draw 163 // pass. Render nodes that have a child receiver node, wil [all...] |
/frameworks/base/libs/hwui/protos/ |
H A D | hwui.proto | 98 optional RenderNode node = 1;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | IRenderPipeline.h | 71 virtual bool createOrUpdateLayer(RenderNode* node, const DamageAccumulator& damageAccumulator,
|
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 356 // applied as translation when updating the root render node. 718 * @param node The node to add. 719 * @param placeFront If true, the render node will be placed in front of the content node, 720 * otherwise behind the content node. 722 public void addRenderNode(RenderNode node, boolean placeFront) { argument 723 nAddRenderNode(mNativeProxy, node.mNativeRenderNode, placeFront); 728 * @param node The node whic 730 removeRenderNode(RenderNode node) argument 739 drawRenderNode(RenderNode node) argument 856 buildLayer(RenderNode node) argument 938 createHardwareBitmap(RenderNode node, int width, int height) argument 1212 nBuildLayer(long nativeProxy, long node) argument [all...] |