/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/ |
D | BindingExpressionParser.java | 120 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument 121 …if ( visitor instanceof BindingExpressionVisitor<?> ) return ((BindingExpressionVisitor<? extends … in accept() 122 else return visitor.visitChildren(this); in accept() 175 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument 176 …if ( visitor instanceof BindingExpressionVisitor<?> ) return ((BindingExpressionVisitor<? extends … in accept() 177 else return visitor.visitChildren(this); in accept() 230 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument 231 …if ( visitor instanceof BindingExpressionVisitor<?> ) return ((BindingExpressionVisitor<? extends … in accept() 232 else return visitor.visitChildren(this); in accept() 313 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument [all …]
|
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/ |
D | XMLParser.java | 70 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument 71 …if ( visitor instanceof XMLParserVisitor<?> ) return ((XMLParserVisitor<? extends Result>)visitor)… in accept() 72 else return visitor.visitChildren(this); in accept() 154 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument 155 …if ( visitor instanceof XMLParserVisitor<?> ) return ((XMLParserVisitor<? extends Result>)visitor)… in accept() 156 else return visitor.visitChildren(this); in accept() 240 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument 241 …if ( visitor instanceof XMLParserVisitor<?> ) return ((XMLParserVisitor<? extends Result>)visitor)… in accept() 242 else return visitor.visitChildren(this); in accept() 357 public <Result> Result accept(ParseTreeVisitor<? extends Result> visitor) { in accept() argument [all …]
|
/frameworks/base/tools/aapt2/ |
D | ValueVisitor_test.cpp | 55 SingleReferenceVisitor visitor; in TEST() local 56 ref.accept(&visitor); in TEST() 58 EXPECT_EQ(visitor.visited, &ref); in TEST() 67 StyleVisitor visitor; in TEST() local 68 style->accept(&visitor); in TEST() 70 ASSERT_EQ(style.get(), visitor.visitedStyle); in TEST() 73 ASSERT_EQ(style->entries.size() + 2, visitor.visitedRefs.size()); in TEST()
|
D | ValueVisitor.h | 144 DynCastVisitor<T> visitor; 145 value->accept(&visitor); 146 return visitor.value; 149 inline void visitAllValuesInPackage(ResourceTablePackage* pkg, RawValueVisitor* visitor) { 153 configValue->value->accept(visitor); 159 inline void visitAllValuesInTable(ResourceTable* table, RawValueVisitor* visitor) { 161 visitAllValuesInPackage(pkg.get(), visitor);
|
D | ResourceValues.h | 104 virtual void accept(RawValueVisitor* visitor) = 0; 128 void accept(RawValueVisitor* visitor) override; 152 void accept(RawValueVisitor* visitor) override;
|
D | ResourceValues.cpp | 30 void BaseValue<Derived>::accept(RawValueVisitor* visitor) { in accept() argument 31 visitor->visit(static_cast<Derived*>(this)); in accept() 35 void BaseItem<Derived>::accept(RawValueVisitor* visitor) { in accept() argument 36 visitor->visit(static_cast<Derived*>(this)); in accept()
|
D | Debug.cpp | 120 PrintVisitor visitor; in printTable() local 168 value->value->accept(&visitor); in printTable()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.h | 50 virtual void accept(RawVisitor* visitor) = 0; 59 virtual void accept(RawVisitor* visitor) override; 195 void BaseNode<Derived>::accept(RawVisitor* visitor) { in accept() argument 196 visitor->visit(static_cast<Derived*>(this)); in accept() 212 NodeCastImpl<T> visitor; in nodeCast() local 213 node->accept(&visitor); in nodeCast() 214 return visitor.value; in nodeCast()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 189 ManifestVisitor visitor(source, keepSet); in collectProguardRulesForManifest() local 191 res->root->accept(&visitor); in collectProguardRulesForManifest() 204 LayoutVisitor visitor(source, keepSet); in collectProguardRules() local 205 res->root->accept(&visitor); in collectProguardRules() 210 XmlResourceVisitor visitor(source, keepSet); in collectProguardRules() local 211 res->root->accept(&visitor); in collectProguardRules() 216 TransitionVisitor visitor(source, keepSet); in collectProguardRules() local 217 res->root->accept(&visitor); in collectProguardRules()
|
/frameworks/base/tools/aapt2/flatten/ |
D | XmlFlattener.cpp | 258 XmlFlattenerVisitor visitor(&nodeBuffer, mOptions); in flatten() local 259 node->accept(&visitor); in flatten() 262 for (auto& packagePoolEntry : visitor.mPackagePools) { in flatten() 263 visitor.mPool.merge(std::move(packagePoolEntry.second)); in flatten() 267 visitor.mPool.sort([](const StringPool::Entry& a, const StringPool::Entry& b) -> bool { in flatten() 272 for (const auto& refEntry : visitor.mStringRefs) { in flatten() 281 StringPool::flattenUtf16(mBuffer, visitor.mPool); in flatten() 287 for (const auto& str : visitor.mPool) { in flatten()
|
D | TableFlattener.cpp | 295 MapFlattenVisitor visitor(outEntry, buffer); in flattenValue() local 296 entry->value->accept(&visitor); in flattenValue() 297 visitor.finish(); in flattenValue()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | ExpressionParser.java | 45 final ExpressionVisitor visitor; field in ExpressionParser 49 visitor = new ExpressionVisitor(mModel); in ExpressionParser() 68 visitor.setParseTreeListener(new ParseTreeListener() { in parse() 98 return root.accept(visitor); in parse()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 191 Visitor visitor(pool, method); in pseudolocalizeIfNeeded() local 192 originalValue->value->accept(&visitor); in pseudolocalizeIfNeeded() 195 if (visitor.mValue) { in pseudolocalizeIfNeeded() 196 localizedValue = std::move(visitor.mValue); in pseudolocalizeIfNeeded() 197 } else if (visitor.mItem) { in pseudolocalizeIfNeeded() 198 localizedValue = std::move(visitor.mItem); in pseudolocalizeIfNeeded()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 217 DependencyVisitor visitor = mAa.getVisitor(zipClasses, keep, new_keep, in_deps, out_deps); in testDependencyVisitor() local 220 cr.accept(visitor, 0 /* flags */); in testDependencyVisitor() 234 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor() 249 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor()
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 164 XmlVisitor visitor(context, context->getExternalSymbols(), resource->file.source, in consume() local 167 resource->root->accept(&visitor); in consume() 168 return !visitor.hasError(); in consume()
|
D | ReferenceLinker.cpp | 318 ReferenceLinkerVisitor visitor(context, context->getExternalSymbols(), in consume() local 322 configValue->value->accept(&visitor); in consume() 325 if (visitor.hasError()) { in consume()
|
D | ManifestFixer.cpp | 253 FullyQualifiedClassNameVisitor visitor(originalPackage); in renameManifestPackage() local 254 manifestEl->accept(&visitor); in renameManifestPackage()
|
/frameworks/data-binding/compilerCommon/ |
D | build.gradle | 51 …args "XMLParser.g4", "-visitor", "-o", "src/main/java/android/databinding/parser", "-package", "an… 57 …args "BindingExpression.g4", "-visitor", "-o", "src/main/grammar-gen/android/databinding/parser", …
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzer.java | 325 DependencyVisitor visitor = getVisitor(zipClasses, in findDeps() local 330 visitor.setClassName(cr.getClassName()); in findDeps() 331 cr.accept(visitor, 0 /* flags */); in findDeps() 347 visitor.setClassName(cr.getClassName()); in findDeps() 348 cr.accept(visitor, 0 /* flags */); in findDeps()
|
D | DependencyFinder.java | 206 DependencyVisitor visitor = getVisitor(); in findClassesDeps() local 215 visitor.setDependencySet(set); in findClassesDeps() 218 cr.accept(visitor, 0 /* flags */); in findClassesDeps() 220 visitor.setDependencySet(null); in findClassesDeps()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 264 PbSerializerVisitor visitor(&sourcePool, &symbolPool, pbValue); in serializeTableToPb() local 265 configValue->value->accept(&visitor); in serializeTableToPb()
|
D | TableProtoDeserializer.cpp | 153 ReferenceIdToNameVisitor visitor(&idIndex); in deserializeFromPb() local 154 visitAllValuesInPackage(pkg, &visitor); in deserializeFromPb()
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 255 ReferenceIdToNameVisitor visitor(&mIdIndex); in parsePackage() local 256 visitAllValuesInTable(mTable, &visitor); in parsePackage()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1122 private void visitAllKeyboardLayouts(KeyboardLayoutVisitor visitor) { in visitAllKeyboardLayouts() argument 1130 visitKeyboardLayoutsInPackage(pm, activityInfo, null, priority, visitor); in visitAllKeyboardLayouts() 1135 KeyboardLayoutVisitor visitor) { in visitKeyboardLayout() argument 1145 visitKeyboardLayoutsInPackage(pm, receiver, d.keyboardLayoutName, 0, visitor); in visitKeyboardLayout() 1152 String keyboardName, int requestedPriority, KeyboardLayoutVisitor visitor) { in visitKeyboardLayoutsInPackage() argument 1217 visitor.visitKeyboardLayout( in visitKeyboardLayoutsInPackage()
|
/frameworks/base/tools/layoutlib/create/ |
D | README.txt | 38 The ASM library is used to do the bytecode modification using its visitor pattern API. 79 ASM visitor on the class, the field types, the method types and annotations types. Classes that
|