Searched refs:res_file (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tools/aapt2/cmd/ |
D | Compile.cpp | 487 ResourceFile res_file; in CompilePng() local 488 res_file.name = ResourceName({}, *ParseResourceType(path_data.resource_dir), path_data.name); in CompilePng() 489 res_file.config = path_data.config; in CompilePng() 490 res_file.source = path_data.source; in CompilePng() 491 res_file.type = ResourceFile::Type::kPng; in CompilePng() 585 return WriteHeaderAndDataToWriter(output_path, res_file, &buffer_in, writer, in CompilePng() 597 ResourceFile res_file; in CompileFile() local 598 res_file.name = ResourceName({}, *ParseResourceType(path_data.resource_dir), path_data.name); in CompileFile() 599 res_file.config = path_data.config; in CompileFile() 600 res_file.source = path_data.source; in CompileFile() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 738 std::string BuildResourceFileName(const ResourceFile& res_file, const NameMangler* mangler) { in BuildResourceFileName() argument 740 out << "res/" << res_file.name.type; in BuildResourceFileName() 741 if (res_file.config != ConfigDescription{}) { in BuildResourceFileName() 742 out << "-" << res_file.config; in BuildResourceFileName() 746 if (mangler && mangler->ShouldMangle(res_file.name.package)) { in BuildResourceFileName() 747 out << NameMangler::MangleEntry(res_file.name.package, res_file.name.entry); in BuildResourceFileName() 749 out << res_file.name.entry; in BuildResourceFileName() 751 out << file::GetExtension(res_file.source.path); in BuildResourceFileName()
|
D | ResourceUtils.h | 222 std::string BuildResourceFileName(const ResourceFile& res_file,
|