Home
last modified time | relevance | path

Searched refs:res_file (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
DCompile.cpp460 ResourceFile res_file; in CompilePng() local
461 res_file.name = ResourceName({}, *ParseResourceType(path_data.resource_dir), path_data.name); in CompilePng()
462 res_file.config = path_data.config; in CompilePng()
463 res_file.source = path_data.source; in CompilePng()
464 res_file.type = ResourceFile::Type::kPng; in CompilePng()
555 return WriteHeaderAndDataToWriter(output_path, res_file, &buffer_in, writer, in CompilePng()
567 ResourceFile res_file; in CompileFile() local
568 res_file.name = ResourceName({}, *ParseResourceType(path_data.resource_dir), path_data.name); in CompileFile()
569 res_file.config = path_data.config; in CompileFile()
570 res_file.source = path_data.source; in CompileFile()
[all …]
/frameworks/base/tools/aapt2/
DResourceUtils.cpp722 std::string BuildResourceFileName(const ResourceFile& res_file, const NameMangler* mangler) { in BuildResourceFileName() argument
724 out << "res/" << res_file.name.type; in BuildResourceFileName()
725 if (res_file.config != ConfigDescription{}) { in BuildResourceFileName()
726 out << "-" << res_file.config; in BuildResourceFileName()
730 if (mangler && mangler->ShouldMangle(res_file.name.package)) { in BuildResourceFileName()
731 out << NameMangler::MangleEntry(res_file.name.package, res_file.name.entry); in BuildResourceFileName()
733 out << res_file.name.entry; in BuildResourceFileName()
735 out << file::GetExtension(res_file.source.path); in BuildResourceFileName()
DResourceUtils.h225 std::string BuildResourceFileName(const ResourceFile& res_file,