Home
last modified time | relevance | path

Searched refs:ResourceParser (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceParser.cpp167 ResourceParser::ResourceParser(IDiagnostics* diag, ResourceTable* table, in ResourceParser() function in aapt::ResourceParser
236 bool ResourceParser::FlattenXmlSubtree( in FlattenXmlSubtree()
387 bool ResourceParser::Parse(xml::XmlPullParser* parser) { in Parse()
414 bool ResourceParser::ParseResources(xml::XmlPullParser* parser) { in ParseResources()
486 bool ResourceParser::ParseResource(xml::XmlPullParser* parser, in ParseResource()
493 using BagParseFunc = std::function<bool(ResourceParser*, xml::XmlPullParser*, in ParseResource()
514 {"add-resource", std::mem_fn(&ResourceParser::ParseAddResource)}, in ParseResource()
515 {"array", std::mem_fn(&ResourceParser::ParseArray)}, in ParseResource()
516 {"attr", std::mem_fn(&ResourceParser::ParseAttr)}, in ParseResource()
518 std::bind(&ResourceParser::ParseStyle, std::placeholders::_1, ResourceType::kConfigVarying, in ParseResource()
[all …]
DResourceParser.h63 class ResourceParser {
65 ResourceParser(IDiagnostics* diag, ResourceTable* table, const Source& source,
71 DISALLOW_COPY_AND_ASSIGN(ResourceParser);
DAndroid.bp141 "ResourceParser.cpp",
DResourceParser_test.cpp53 ResourceParser parser(context->GetDiagnostics(), &table, Source{"test"}, {}); in TEST()
74 ResourceParser parser(context_->GetDiagnostics(), &table_, Source{"test"}, config, in TestParse()
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp169 ResourceParser res_parser(context->GetDiagnostics(), &table, path_data.source, path_data.config, in CompileTable()