Lines Matching refs:attr
330 { u"attr", std::mem_fn(&ResourceParser::parseAttr) },
884 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(weak);
885 attr->symbols = std::vector<Attribute::Symbol>(items.begin(), items.end());
886 attr->typeMask = typeMask ? typeMask : uint32_t(android::ResTable_map::TYPE_ANY);
888 attr->minInt = maybeMin.value();
892 attr->maxInt = maybeMax.value();
894 outResource->value = std::move(attr);
1214 if (elementNamespace.empty() && elementName == u"attr") {
1217 mDiag->error(DiagMessage(itemSource) << "<attr> tag must have a 'name' attribute");
1223 // Eg. <attr name="android:text" />
1226 mDiag->error(DiagMessage(itemSource) << "<attr> tag has invalid name '"