/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.cpp | 299 typeMask(t), 311 return this->typeMask == other->typeMask && this->minInt == other->minInt && 325 if (typeMask == android::ResTable_map::TYPE_ANY) { 331 if ((typeMask & android::ResTable_map::TYPE_REFERENCE) != 0) { 340 if ((typeMask & android::ResTable_map::TYPE_STRING) != 0) { 349 if ((typeMask & android::ResTable_map::TYPE_INTEGER) != 0) { 358 if ((typeMask & android::ResTable_map::TYPE_BOOLEAN) != 0) { 367 if ((typeMask & android::ResTable_map::TYPE_COLOR) != 0) { 376 if ((typeMask [all...] |
H A D | ResourceParser.h | 71 * The type of Item that can be parsed is denoted by the `typeMask`. 75 std::unique_ptr<Item> parseXml(xml::XmlPullParser* parser, const uint32_t typeMask, 99 bool parseArrayImpl(xml::XmlPullParser* parser, ParsedResource* outResource, uint32_t typeMask);
|
H A D | ResourceUtils.cpp | 477 const StringPiece16& value, uint32_t typeMask, 493 if (typeMask & android::ResTable_map::TYPE_COLOR) { 501 if (typeMask & android::ResTable_map::TYPE_BOOLEAN) { 509 if (typeMask & android::ResTable_map::TYPE_INTEGER) { 519 if (typeMask & floatMask) { 523 if (typeMask & androidTypeToAttributeTypeMask(floatingPoint->value.dataType)) { 538 const uint32_t typeMask = attr->typeMask; local 539 std::unique_ptr<Item> value = parseItemForAttribute(str, typeMask, onCreateReference); 544 if (typeMask 476 parseItemForAttribute( const StringPiece16& value, uint32_t typeMask, std::function<void(const ResourceName&)> onCreateReference) argument [all...] |
H A D | ResourceUtils.h | 154 const StringPiece16& value, uint32_t typeMask,
|
H A D | ResourceParser.cpp | 474 * with typeMask denoting which items it can be. If allowRawValue is 479 std::unique_ptr<Item> ResourceParser::parseXml(xml::XmlPullParser* parser, const uint32_t typeMask, argument 503 std::unique_ptr<Item> processedItem = ResourceUtils::parseItemForAttribute(rawValue, typeMask, 514 if (typeMask & android::ResTable_map::TYPE_STRING) { 752 uint32_t typeMask = 0; local 756 typeMask = parseFormatAttribute(maybeFormat.value()); 757 if (typeMask == 0) { 798 if ((maybeMin || maybeMax) && (typeMask & android::ResTable_map::TYPE_INTEGER) == 0) { 829 if (typeMask & android::ResTable_map::TYPE_FLAGS) { 835 typeMask | 1055 parseArrayImpl(xml::XmlPullParser* parser, ParsedResource* outResource, const uint32_t typeMask) argument [all...] |
H A D | ResourceParser_test.cpp | 136 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_STRING), attr->typeMask); 140 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_ANY), attr->typeMask); 169 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_INTEGER), attr->typeMask); 188 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_STRING), attr->typeMask); 202 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_BOOLEAN), attr->typeMask); 215 EXPECT_EQ(enumAttr->typeMask, android::ResTable_map::TYPE_ENUM); 241 EXPECT_EQ(flagAttr->typeMask, android::ResTable_map::TYPE_FLAGS);
|
H A D | ResourceTable.cpp | 244 if (existingAttr->typeMask == incomingAttr->typeMask) { 251 if (existingAttr->isWeak() && existingAttr->typeMask == android::ResTable_map::TYPE_ANY) { 256 if (incomingAttr->isWeak() && incomingAttr->typeMask == android::ResTable_map::TYPE_ANY) {
|
H A D | Debug.cpp | 42 if (attr->typeMask & kMask) {
|
H A D | ResourceValues.h | 270 uint32_t typeMask; member in struct:aapt::Attribute
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 99 const uint32_t typeMask = attr->typeMask; local 100 if (typeMask & android::ResTable_map::TYPE_REFERENCE) { 108 if (typeMask & android::ResTable_map::TYPE_STRING) { 114 if (typeMask & android::ResTable_map::TYPE_INTEGER) { 118 if (typeMask & android::ResTable_map::TYPE_BOOLEAN) { 124 if (typeMask & android::ResTable_map::TYPE_COLOR) { 131 if (typeMask & android::ResTable_map::TYPE_FLOAT) { 136 if (typeMask & android::ResTable_map::TYPE_DIMENSION) { 145 if (typeMask [all...] |
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.h | 175 mAttr->typeMask = android::ResTable_map::TYPE_ANY; 178 AttributeBuilder& setTypeMask(uint32_t typeMask) { argument 179 mAttr->typeMask = typeMask;
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | TableFlattener_test.cpp | 211 attr.typeMask = android::ResTable_map::TYPE_INTEGER; 226 EXPECT_EQ(attr.typeMask, actualAttr->typeMask);
|
H A D | TableFlattener.cpp | 86 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->typeMask);
|
/frameworks/base/tools/aapt2/link/ |
H A D | XmlReferenceLinker.cpp | 112 !(attribute->typeMask & android::ResTable_map::TYPE_STRING)) {
|
H A D | ReferenceLinker.cpp | 144 if (!transformed && (attr->typeMask & android::ResTable_map::TYPE_STRING)) {
|
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 501 attr->typeMask = util::deviceToHost32(typeMaskIter->value.data); 517 if (attr->typeMask & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) {
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 161 s->attribute->typeMask = entry[i].map.value.data;
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer.cpp | 88 pbAttr->set_format_flags(attr->typeMask);
|
H A D | TableProtoDeserializer.cpp | 236 attr->typeMask = pbAttr.format_flags();
|