/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 250 typeMask(t), in Attribute() 261 if (typeMask == android::ResTable_map::TYPE_ANY) { in printMask() 267 if ((typeMask & android::ResTable_map::TYPE_REFERENCE) != 0) { in printMask() 276 if ((typeMask & android::ResTable_map::TYPE_STRING) != 0) { in printMask() 285 if ((typeMask & android::ResTable_map::TYPE_INTEGER) != 0) { in printMask() 294 if ((typeMask & android::ResTable_map::TYPE_BOOLEAN) != 0) { in printMask() 303 if ((typeMask & android::ResTable_map::TYPE_COLOR) != 0) { in printMask() 312 if ((typeMask & android::ResTable_map::TYPE_FLOAT) != 0) { in printMask() 321 if ((typeMask & android::ResTable_map::TYPE_DIMENSION) != 0) { in printMask() 330 if ((typeMask & android::ResTable_map::TYPE_FRACTION) != 0) { in printMask() [all …]
|
D | ResourceUtils.cpp | 477 const StringPiece16& value, uint32_t typeMask, in parseItemForAttribute() argument 493 if (typeMask & android::ResTable_map::TYPE_COLOR) { in parseItemForAttribute() 501 if (typeMask & android::ResTable_map::TYPE_BOOLEAN) { in parseItemForAttribute() 509 if (typeMask & android::ResTable_map::TYPE_INTEGER) { in parseItemForAttribute() 519 if (typeMask & floatMask) { in parseItemForAttribute() 523 if (typeMask & androidTypeToAttributeTypeMask(floatingPoint->value.dataType)) { in parseItemForAttribute() 538 const uint32_t typeMask = attr->typeMask; in parseItemForAttribute() local 539 std::unique_ptr<Item> value = parseItemForAttribute(str, typeMask, onCreateReference); in parseItemForAttribute() 544 if (typeMask & android::ResTable_map::TYPE_ENUM) { in parseItemForAttribute() 552 if (typeMask & android::ResTable_map::TYPE_FLAGS) { in parseItemForAttribute()
|
D | ResourceParser.cpp | 479 std::unique_ptr<Item> ResourceParser::parseXml(xml::XmlPullParser* parser, const uint32_t typeMask, in parseXml() argument 503 std::unique_ptr<Item> processedItem = ResourceUtils::parseItemForAttribute(rawValue, typeMask, in parseXml() 514 if (typeMask & android::ResTable_map::TYPE_STRING) { in parseXml() 752 uint32_t typeMask = 0; in parseAttrImpl() local 756 typeMask = parseFormatAttribute(maybeFormat.value()); in parseAttrImpl() 757 if (typeMask == 0) { in parseAttrImpl() 798 if ((maybeMin || maybeMax) && (typeMask & android::ResTable_map::TYPE_INTEGER) == 0) { in parseAttrImpl() 829 if (typeMask & android::ResTable_map::TYPE_FLAGS) { in parseAttrImpl() 835 typeMask |= android::ResTable_map::TYPE_ENUM; in parseAttrImpl() 838 if (typeMask & android::ResTable_map::TYPE_ENUM) { in parseAttrImpl() [all …]
|
D | ResourceParser.h | 75 std::unique_ptr<Item> parseXml(xml::XmlPullParser* parser, const uint32_t typeMask, 99 bool parseArrayImpl(xml::XmlPullParser* parser, ParsedResource* outResource, uint32_t typeMask);
|
D | ResourceParser_test.cpp | 136 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_STRING), attr->typeMask); in TEST_F() 140 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_ANY), attr->typeMask); in TEST_F() 169 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_INTEGER), attr->typeMask); in TEST_F() 188 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_STRING), attr->typeMask); in TEST_F() 202 EXPECT_EQ(uint32_t(android::ResTable_map::TYPE_BOOLEAN), attr->typeMask); in TEST_F() 215 EXPECT_EQ(enumAttr->typeMask, android::ResTable_map::TYPE_ENUM); in TEST_F() 241 EXPECT_EQ(flagAttr->typeMask, android::ResTable_map::TYPE_FLAGS); in TEST_F()
|
D | ResourceTable.cpp | 233 if (existingAttr->typeMask == incomingAttr->typeMask) { in resolveValueCollision() 240 if (existingAttr->isWeak() && existingAttr->typeMask == android::ResTable_map::TYPE_ANY) { in resolveValueCollision() 245 if (incomingAttr->isWeak() && incomingAttr->typeMask == android::ResTable_map::TYPE_ANY) { in resolveValueCollision()
|
D | ResourceUtils.h | 154 const StringPiece16& value, uint32_t typeMask,
|
D | ResourceValues.h | 264 uint32_t typeMask; member
|
D | Debug.cpp | 42 if (attr->typeMask & kMask) { in visit()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 99 const uint32_t typeMask = attr->typeMask; in addAttributeFormatDoc() local 100 if (typeMask & android::ResTable_map::TYPE_REFERENCE) { in addAttributeFormatDoc() 108 if (typeMask & android::ResTable_map::TYPE_STRING) { in addAttributeFormatDoc() 114 if (typeMask & android::ResTable_map::TYPE_INTEGER) { in addAttributeFormatDoc() 118 if (typeMask & android::ResTable_map::TYPE_BOOLEAN) { in addAttributeFormatDoc() 124 if (typeMask & android::ResTable_map::TYPE_COLOR) { in addAttributeFormatDoc() 131 if (typeMask & android::ResTable_map::TYPE_FLOAT) { in addAttributeFormatDoc() 136 if (typeMask & android::ResTable_map::TYPE_DIMENSION) { in addAttributeFormatDoc() 145 if (typeMask & android::ResTable_map::TYPE_FRACTION) { in addAttributeFormatDoc() 153 if (typeMask & (android::ResTable_map::TYPE_FLAGS | android::ResTable_map::TYPE_ENUM)) { in addAttributeFormatDoc() [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 175 mAttr->typeMask = android::ResTable_map::TYPE_ANY; in mAttr() 178 AttributeBuilder& setTypeMask(uint32_t typeMask) { in setTypeMask() argument 179 mAttr->typeMask = typeMask; in setTypeMask()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener_test.cpp | 211 attr.typeMask = android::ResTable_map::TYPE_INTEGER; in TEST_F() 226 EXPECT_EQ(attr.typeMask, actualAttr->typeMask); in TEST_F()
|
D | TableFlattener.cpp | 86 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->typeMask); in visit()
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 112 !(attribute->typeMask & android::ResTable_map::TYPE_STRING)) { in visit()
|
D | ReferenceLinker.cpp | 144 if (!transformed && (attr->typeMask & android::ResTable_map::TYPE_STRING)) { in parseValueWithAttribute()
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 501 attr->typeMask = util::deviceToHost32(typeMaskIter->value.data); in parseAttr() 517 if (attr->typeMask & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) { in parseAttr()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 161 s->attribute->typeMask = entry[i].map.value.data; in lookupAttributeInTable()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 88 pbAttr->set_format_flags(attr->typeMask); in visit()
|
D | TableProtoDeserializer.cpp | 236 attr->typeMask = pbAttr.format_flags(); in deserializeValueFromPb()
|