Searched refs:res_file (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tools/aapt2/cmd/ |
D | Compile.cpp | 465 ResourceFile res_file; in CompilePng() local 466 res_file.name = ResourceName({}, *ParseResourceType(path_data.resource_dir), path_data.name); in CompilePng() 467 res_file.config = path_data.config; in CompilePng() 468 res_file.source = path_data.source; in CompilePng() 469 res_file.type = ResourceFile::Type::kPng; in CompilePng() 560 return WriteHeaderAndDataToWriter(output_path, res_file, &buffer_in, writer, in CompilePng() 572 ResourceFile res_file; in CompileFile() local 573 res_file.name = ResourceName({}, *ParseResourceType(path_data.resource_dir), path_data.name); in CompileFile() 574 res_file.config = path_data.config; in CompileFile() 575 res_file.source = path_data.source; in CompileFile() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 719 std::string BuildResourceFileName(const ResourceFile& res_file, const NameMangler* mangler) { in BuildResourceFileName() argument 721 out << "res/" << res_file.name.type; in BuildResourceFileName() 722 if (res_file.config != ConfigDescription{}) { in BuildResourceFileName() 723 out << "-" << res_file.config; in BuildResourceFileName() 727 if (mangler && mangler->ShouldMangle(res_file.name.package)) { in BuildResourceFileName() 728 out << NameMangler::MangleEntry(res_file.name.package, res_file.name.entry); in BuildResourceFileName() 730 out << res_file.name.entry; in BuildResourceFileName() 732 out << file::GetExtension(res_file.source.path); in BuildResourceFileName()
|
D | ResourceUtils.h | 225 std::string BuildResourceFileName(const ResourceFile& res_file,
|