Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp279 StringPiece type_str; in ParseStyleParentReference() local
280 android::ExtractResourceName(name, &ref.package, &type_str, &ref.entry); in ParseStyleParentReference()
281 if (!type_str.empty()) { in ParseStyleParentReference()
283 const ResourceType* parsed_type = ParseResourceType(type_str); in ParseStyleParentReference()
286 err << "invalid resource type '" << type_str << "' for parent of style"; in ParseStyleParentReference()
292 if (!has_leading_identifiers && ref.package.empty() && !type_str.empty()) { in ParseStyleParentReference()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp491 const StringPiece& type_str = to_string(name.type); in ProcessResource() local
493 StringPrintf("%s.%s = (%s.%s & 0x00ffffff) | packageIdBits;", type_str.data(), in ProcessResource()
494 field_name.data(), type_str.data(), field_name.data())); in ProcessResource()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp354 const std::string type_str = util::GetString(type_pool_, type->id - 1); in ParseType() local
358 if (const ResourceType* parsed = ParseResourceType(type_str)) { in ParseType()
361 diag_->Error(DiagMessage(source_) << "invalid type name '" << type_str << "' for type with ID " in ParseType()