/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());
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | XmlEditor.java | 290 private static int recurseReplace(ElementContext node, ArrayList<String> lines, argument 294 boolean isMerge = "merge".equals(nodeName(node)); 295 final boolean containsInclude = filterNodesByName("include", elements(node)).size() > 0; 296 if (!isMerge && (hasExpressionAttributes(node) || newTag != null || containsInclude)) { 301 } else if (!"include".equals(nodeName(node))) { 305 for (AttributeContext it : expressionAttributes(node)) { 316 noTag.add(new TagAndContext(tag, node)); 326 for (ElementContext it : elements(node)) { 382 private static PositionPair findTerminalPositions(ElementContext node, argument 384 Position endPosition = toEndPosition(node [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | LegacyPasspointConfigParser.java | 72 * '+' indicates start of a new internal node. 73 * '.' indicates end of the current internal node. 74 * '=' indicates "value" of a leaf node. 98 * An abstraction for a node within a tree. A node can be an internal node (contained 99 * children nodes) or a leaf node (contained a String value). 108 * @return the name of the node 115 * Applies for internal node only. 122 * Applies for leaf node onl 506 getValue(Node node) argument [all...] |
/frameworks/rs/ |
H A D | rsMap.h | 57 LinkNode* node = bucket[index]; local 60 while (node != nullptr) { 61 if (node->entry.first == key) { 62 return node->entry.second; 64 prev = node; 65 node = node->next; 68 node = new LinkNode(); 69 node->entry.first = key; 70 node 122 LinkNode* node; member in class:android::renderscript::Map::iterator 128 LinkNode* node = bucket[i]; local 145 LinkNode* node = bucket[index]; local [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | ExploreByTouchHelperActivity.java | 173 * @param item CustomItem that will become a child node. 174 * @param parent CustomItem that will become the parent node. 332 int virtualViewId, AccessibilityNodeInfoCompat node) { 340 node.setText(item.mDescription); 354 node.setBoundsInParent(bounds); 358 node.addAction(AccessibilityNodeInfoCompat.ACTION_CLICK); 361 node.setCheckable(true); 362 node.setChecked(item.mChecked); 366 node.setParent(CustomView.this, item.mParent.mId); 369 node 331 onPopulateNodeForVirtualView( int virtualViewId, AccessibilityNodeInfoCompat node) argument [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | ExploreByTouchHelperActivity.java | 173 * @param item CustomItem that will become a child node. 174 * @param parent CustomItem that will become the parent node. 332 int virtualViewId, AccessibilityNodeInfoCompat node) { 340 node.setText(item.mDescription); 354 node.setBoundsInParent(bounds); 358 node.addAction(AccessibilityNodeInfoCompat.ACTION_CLICK); 361 node.setCheckable(true); 362 node.setChecked(item.mChecked); 366 node.setParent(CustomView.this, item.mParent.mId); 369 node 331 onPopulateNodeForVirtualView( int virtualViewId, AccessibilityNodeInfoCompat node) argument [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
H A D | ParameterManagerWrapper.cpp | 142 cnode *node; local 143 for (node = root->first_child; node != NULL; node = node->next) { 145 ALOG_ASSERT(node != NULL, "error in parsing file"); 146 const char *typeName = node->name; 147 char *valueNames = strndup(node->value, strlen(node->value)); 187 cnode *node local 197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); local 207 cnode *node; local 242 cnode *node = config_find(root, gCriterionTag.c_str()); local 295 cnode *node = config_find(root, gPolicyConfTag.c_str()); local [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 151 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); 152 if(node == null) { 155 return node.getChildCount(); 167 AccessibilityNodeInfo node = null; 171 node = getQueryController().findAccessibilityNodeInfo(getSelector()); 172 if (node != null) { 183 return node; 335 * @param node 336 * @return null if node is null, else a Rect containing visible bounds 338 private Rect getVisibleBounds(AccessibilityNodeInfo node) { argument 376 getScrollableParent(AccessibilityNodeInfo node) argument [all...] |
H A D | UiSelector.java | 307 * Set the search criteria to match the widget by its node 600 * can also be a single level referencing only one node. In such cases the return 604 * reference child node. 657 boolean isMatchFor(AccessibilityNodeInfo node, int index) { argument 668 if (node.isChecked() != getBoolean(criterion)) { 673 s = node.getClassName(); 679 s = node.getClassName(); 685 if (node.isClickable() != getBoolean(criterion)) { 690 if (node.isCheckable() != getBoolean(criterion)) { 695 if (node [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 51 static DisplayListCanvas obtain(@NonNull RenderNode node, int width, int height) { argument 52 if (node == null) throw new IllegalArgumentException("node cannot be null"); 55 canvas = new DisplayListCanvas(node, width, height); 57 nResetDisplayListCanvas(canvas.mNativeCanvasWrapper, node.mNativeRenderNode, 60 canvas.mNode = node; 84 private DisplayListCanvas(@NonNull RenderNode node, int width, int height) { argument 85 super(nCreateDisplayListCanvas(node.mNativeRenderNode, width, height)); 245 private static native long nCreateDisplayListCanvas(long node, int width, int height); argument 247 private static native void nResetDisplayListCanvas(long canvas, long node, argument [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 85 // only schedule repaint if node still on layer - possible it may have been 128 bool SkiaPipeline::createOrUpdateLayer(RenderNode* node, argument 130 SkSurface* layer = node->getLayerSurface(); 131 if (!layer || layer->width() != node->getWidth() || layer->height() != node->getHeight()) { 132 SkImageInfo info = SkImageInfo::MakeN32Premul(node->getWidth(), node->getHeight()); 135 node->setLayerSurface( 138 if (node->getLayerSurface()) { 143 node 150 destroyLayer(RenderNode* node) argument 227 nodeBounds(RenderNode& node) argument [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | OpenGLPipeline.cpp | 206 bool OpenGLPipeline::createOrUpdateLayer(RenderNode* node, argument 211 if (node->getLayer() == nullptr) { 212 node->setLayer(layerPool.get(renderState, node->getWidth(), node->getHeight())); 214 } else if (!layerMatchesWH(node->getLayer(), node->getWidth(), node->getHeight())) { 216 // Or, ideally, maintain damage between frames on node/layer so ordering is always correct 217 if (node 248 destroyLayer(RenderNode* node) argument [all...] |
H A D | CanvasContext.cpp | 88 void CanvasContext::destroyLayer(RenderNode* node) { argument 92 OpenGLPipeline::destroyLayer(node); 96 skiapipeline::SkiaPipeline::destroyLayer(node); 158 for (auto& node : mRenderNodes) { 159 node->clearRoot(); 164 void CanvasContext::addRenderNode(RenderNode* node, bool placeFront) { argument 166 node->makeRoot(); 167 mRenderNodes.emplace(mRenderNodes.begin() + pos, node); 170 void CanvasContext::removeRenderNode(RenderNode* node) { argument 171 node 506 prepareAndDraw(RenderNode* node) argument 525 markLayerInUse(RenderNode* node) argument 543 buildLayer(RenderNode* node) argument [all...] |
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 163 virtual void onMaybeRemovedFromTree(RenderNode* node) {} argument 218 sp<RenderNode> node = new RenderNode(); local 219 RenderProperties& props = node->mutateStagingProperties(); 225 node->setStagingDisplayList(canvas->finishRecording()); 227 node->setPropertyFieldsDirty(0xFFFFFFFF); 228 return node; 240 sp<RenderNode> node = new RenderNode(); local 241 RenderProperties& props = node->mutateStagingProperties(); 246 node->setStagingDisplayList(canvas.finishRecording()); 248 node 252 recordNode(RenderNode& node, std::function<void(Canvas&)> contentCallback) argument 268 sp<RenderNode> node = new RenderNode(); local 296 syncHierarchyPropertiesAndDisplayList(sp<RenderNode>& node) argument 300 getSyncedNode(sp<RenderNode>& node) argument 359 syncHierarchyPropertiesAndDisplayListImpl(RenderNode* node) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RenderNodeDrawableTests.cpp | 68 auto node = TestUtils::createSkiaNode(0, 0, 100, 100, local 73 canvas->drawRenderNode(node.get()); // canvas takes reference/sole ownership 78 auto node = TestUtils::createSkiaNode(0, 0, 100, 100, local 85 canvas->drawRenderNode(node.get()); // canvas takes reference/sole ownership 120 canvas.insertReorderBarrier(true); //reorder a node ahead of drawrect op 149 //attach a layer to the render node 242 case 0: //this is node "B" 248 case 1: //this is node "P" 254 case 2: //this is node "C" 660 //having a node tha 841 auto node = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, local [all...] |
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.cpp | 71 // Drop an empty text node. 78 std::unique_ptr<Node> node) { 79 node->line_number = XML_GetCurrentLineNumber(parser); 80 node->column_number = XML_GetCurrentColumnNumber(parser); 82 Node* this_node = node.get(); 84 stack->node_stack.top()->AppendChild(std::move(node)); 86 stack->root = std::move(node); 169 // See if we can just append the text to a previous text node. 283 std::unique_ptr<Namespace> node = util::make_unique<Namespace>(); local 287 node 77 AddToStack(Stack* stack, XML_Parser parser, std::unique_ptr<Node> node) argument 299 std::unique_ptr<Element> node = util::make_unique<Element>(); local 318 std::unique_ptr<Text> node = util::make_unique<Text>(); local 377 FindRootElement(Node* node) argument [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | BinTree.h | 244 * \brief BinaryTreeBase gives root node and memory management. 248 * inserton of a node. 258 /// TreeImpl - TreeImpl records the root node and the number of nodes 272 NodeBase node; member in class:mcld::BinaryTreeBase::TreeImpl 275 TreeImpl() : NodeFactory<DataType>() { node.left = node.right = &node; } 287 if ((*data).left == &pClient.node) 288 (*data).left = &node; 289 if ((*data).right == &pClient.node) 432 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 285 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); local [all...] |
/frameworks/support/compat/java/android/support/v4/graphics/ |
H A D | PathParser.java | 332 * @param node The source array of PathDataNode. 335 public static void nodesToPath(PathDataNode[] node, Path path) { argument 338 for (int i = 0; i < node.length; i++) { 339 addCommand(path, current, previousCommand, node[i].mType, node[i].mParams); 340 previousCommand = node[i].mType;
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 62 static int loadEffect(cnode *node); 63 // To get and add the effect pointed by the passed node to the gSubEffectList 292 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], 293 uuid->node[3],uuid->node[4],uuid->node[5]); 413 uuid->clockSeq, uuid->node[0], uuid->node[ 499 cnode *node; local 572 cnode *node; local 655 cnode *node; local 710 cnode *node; local 726 cnode *node; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | RecordedOp.h | 512 explicit LayerOp(RenderNode& node) argument 513 : RecordedOp(RecordedOpId::LayerOp, Rect(node.getWidth(), node.getHeight()), Matrix4::identity(), nullptr, nullptr) 514 , layerHandle(node.getLayerHandle()) 515 , alpha(node.properties().layerProperties().alpha() / 255.0f) 516 , mode(node.properties().layerProperties().xferMode()) 517 , colorFilter(node.properties().layerProperties().colorFilter()) {}
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 414 * @param node The source array of PathDataNode. 417 public static void nodesToPath(@NonNull PathDataNode[] node, @NonNull Path_Delegate path) { argument 421 for (int i = 0; i < node.length; i++) { 422 addCommand(path, current, previousCommand, node[i].mType, node[i].mParams); 423 previousCommand = node[i].mType;
|
/frameworks/compile/libbcc/bcinfo/ |
H A D | MetadataExtractor.cpp | 44 llvm::StringRef getStringOperand(const llvm::Metadata *node) { argument 45 if (auto *mds = llvm::dyn_cast_or_null<const llvm::MDString>(node)) { 82 // NamedMetadata - An LLVM metadata node, each of whose operands have 138 // Name of metadata node where pragma info resides (should be synced with 142 // Name of metadata node where exported variable names reside (should be 146 // Name of metadata node where exported function names reside (should be 150 // Name of metadata node where exported ForEach name information resides 155 // Name of metadata node where exported ForEach signature information resides 159 // Name of metadata node where exported general reduce information resides 163 // Name of metadata node wher [all...] |
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/ |
H A D | BindingExpressionBaseListener.java | 512 @Override public void visitTerminal(TerminalNode node) { } argument 518 @Override public void visitErrorNode(ErrorNode node) { } argument
|
/frameworks/minikin/libs/minikin/ |
H A D | Hyphenator.cpp | 399 uint32_t node = 0; // index into Trie table local 402 uint32_t entry = trie->data[node + c]; 404 node = (entry & link_mask) >> link_shift; 408 uint32_t pat_ix = trie->data[node] >> pattern_shift;
|