/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 352 : type_mask(0u), in Attribute() 358 : type_mask(t), in Attribute() 388 if (type_mask != other->type_mask || min_int != other->min_int || max_int != other->max_int) { in Equals() 417 if (type_mask == android::ResTable_map::TYPE_ANY) { in PrintMask() 423 if ((type_mask & android::ResTable_map::TYPE_REFERENCE) != 0) { in PrintMask() 432 if ((type_mask & android::ResTable_map::TYPE_STRING) != 0) { in PrintMask() 441 if ((type_mask & android::ResTable_map::TYPE_INTEGER) != 0) { in PrintMask() 450 if ((type_mask & android::ResTable_map::TYPE_BOOLEAN) != 0) { in PrintMask() 459 if ((type_mask & android::ResTable_map::TYPE_COLOR) != 0) { in PrintMask() 468 if ((type_mask & android::ResTable_map::TYPE_FLOAT) != 0) { in PrintMask() [all …]
|
D | ResourceUtils.cpp | 574 const StringPiece& value, uint32_t type_mask, in TryParseItemForAttribute() argument 592 if (type_mask & ResTable_map::TYPE_COLOR) { in TryParseItemForAttribute() 600 if (type_mask & ResTable_map::TYPE_BOOLEAN) { in TryParseItemForAttribute() 608 if (type_mask & ResTable_map::TYPE_INTEGER) { in TryParseItemForAttribute() 618 if (type_mask & float_mask) { in TryParseItemForAttribute() 622 if (type_mask & AndroidTypeToAttributeTypeMask(floating_point->value.dataType)) { in TryParseItemForAttribute() 639 const uint32_t type_mask = attr->type_mask; in TryParseItemForAttribute() local 640 auto value = TryParseItemForAttribute(str, type_mask, on_create_reference); in TryParseItemForAttribute() 645 if (type_mask & ResTable_map::TYPE_ENUM) { in TryParseItemForAttribute() 653 if (type_mask & ResTable_map::TYPE_FLAGS) { in TryParseItemForAttribute()
|
D | ResourceParser.cpp | 573 const uint32_t type_mask, in ParseXml() argument 603 ResourceUtils::TryParseItemForAttribute(raw_value, type_mask, in ParseXml() 614 if (type_mask & android::ResTable_map::TYPE_STRING) { in ParseXml() 881 uint32_t type_mask = 0; in ParseAttrImpl() local 885 type_mask = ParseFormatAttribute(maybe_format.value()); in ParseAttrImpl() 886 if (type_mask == 0) { in ParseAttrImpl() 933 (type_mask & android::ResTable_map::TYPE_INTEGER) == 0) { in ParseAttrImpl() 965 if (type_mask & android::ResTable_map::TYPE_FLAGS) { in ParseAttrImpl() 971 type_mask |= android::ResTable_map::TYPE_ENUM; in ParseAttrImpl() 974 if (type_mask & android::ResTable_map::TYPE_ENUM) { in ParseAttrImpl() [all …]
|
D | ResourceParser_test.cpp | 244 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_STRING)); in TEST_F() 248 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_ANY)); in TEST_F() 277 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_INTEGER)); in TEST_F() 296 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_STRING)); in TEST_F() 311 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_BOOLEAN)); in TEST_F() 325 EXPECT_THAT(enum_attr->type_mask, Eq(ResTable_map::TYPE_ENUM)); in TEST_F() 352 EXPECT_THAT(flag_attr->type_mask, Eq(ResTable_map::TYPE_FLAGS)); in TEST_F()
|
D | ResourceTable.cpp | 270 if (existing_attr->type_mask == incoming_attr->type_mask) { in ResolveValueCollision() 277 if (existing_attr->IsWeak() && existing_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision() 282 if (incoming_attr->IsWeak() && incoming_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision()
|
D | ResourceParser.h | 81 std::unique_ptr<Item> ParseXml(xml::XmlPullParser* parser, const uint32_t type_mask,
|
D | ResourceUtils.h | 199 const android::StringPiece& value, uint32_t type_mask,
|
D | ResourceValues.h | 255 uint32_t type_mask; member
|
D | Debug.cpp | 47 if (attr->type_mask & kMask) { in Visit()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 99 const uint32_t type_mask = attr->type_mask; in AddAttributeFormatDoc() local 100 if (type_mask & android::ResTable_map::TYPE_REFERENCE) { in AddAttributeFormatDoc() 109 if (type_mask & android::ResTable_map::TYPE_STRING) { in AddAttributeFormatDoc() 115 if (type_mask & android::ResTable_map::TYPE_INTEGER) { in AddAttributeFormatDoc() 120 if (type_mask & android::ResTable_map::TYPE_BOOLEAN) { in AddAttributeFormatDoc() 126 if (type_mask & android::ResTable_map::TYPE_COLOR) { in AddAttributeFormatDoc() 134 if (type_mask & android::ResTable_map::TYPE_FLOAT) { in AddAttributeFormatDoc() 139 if (type_mask & android::ResTable_map::TYPE_DIMENSION) { in AddAttributeFormatDoc() 149 if (type_mask & android::ResTable_map::TYPE_FRACTION) { in AddAttributeFormatDoc() 159 if (type_mask & in AddAttributeFormatDoc() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.h | 54 enum type_mask { enum
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 149 attr_->type_mask = android::ResTable_map::TYPE_ANY; in AttributeBuilder() 153 attr_->type_mask = typeMask; in SetTypeMask()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener_test.cpp | 228 attr.type_mask = android::ResTable_map::TYPE_INTEGER; in TEST_F() 244 EXPECT_EQ(attr.type_mask, actual_attr->type_mask); in TEST_F()
|
D | TableFlattener.cpp | 89 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->type_mask); in Visit()
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 129 } else if ((attribute->type_mask & android::ResTable_map::TYPE_STRING) == 0) { in Visit()
|
D | ReferenceLinker.cpp | 154 if (!transformed && (attr->type_mask & android::ResTable_map::TYPE_STRING)) { in ParseValueWithAttribute()
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 513 attr->type_mask = util::DeviceToHost32(type_mask_iter->value.data); in ParseAttr() 529 if (attr->type_mask & in ParseAttr()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 96 pb_attr->set_format_flags(attr->type_mask); in Visit()
|
D | TableProtoDeserializer.cpp | 218 attr->type_mask = pb_attr.format_flags(); in DeserializeValueFromPb()
|