/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 523 : type_mask(t), in Attribute() 552 if (type_mask != other->type_mask || min_int != other->min_int || max_int != other->max_int) { in Equals() 579 if ((type_mask & ~android::ResTable_map::TYPE_ANY) != 0 || in IsCompatibleWith() 580 (attr.type_mask & ~android::ResTable_map::TYPE_ANY) != 0) { in IsCompatibleWith() 585 uint32_t this_type_mask = type_mask | android::ResTable_map::TYPE_REFERENCE; in IsCompatibleWith() 586 uint32_t that_type_mask = attr.type_mask | android::ResTable_map::TYPE_REFERENCE; in IsCompatibleWith() 595 if (type_mask == android::ResTable_map::TYPE_ANY) { in MaskString() 601 if ((type_mask & android::ResTable_map::TYPE_REFERENCE) != 0) { in MaskString() 610 if ((type_mask & android::ResTable_map::TYPE_STRING) != 0) { in MaskString() 619 if ((type_mask & android::ResTable_map::TYPE_INTEGER) != 0) { in MaskString() [all …]
|
D | ResourceUtils.cpp | 630 const StringPiece& value, uint32_t type_mask, in TryParseItemForAttribute() argument 648 if (type_mask & ResTable_map::TYPE_COLOR) { in TryParseItemForAttribute() 656 if (type_mask & ResTable_map::TYPE_BOOLEAN) { in TryParseItemForAttribute() 664 if (type_mask & ResTable_map::TYPE_INTEGER) { in TryParseItemForAttribute() 674 if (type_mask & float_mask) { in TryParseItemForAttribute() 678 if (type_mask & AndroidTypeToAttributeTypeMask(floating_point->value.dataType)) { in TryParseItemForAttribute() 695 const uint32_t type_mask = attr->type_mask; in TryParseItemForAttribute() local 696 auto value = TryParseItemForAttribute(str, type_mask, on_create_reference); in TryParseItemForAttribute() 701 if (type_mask & ResTable_map::TYPE_ENUM) { in TryParseItemForAttribute() 709 if (type_mask & ResTable_map::TYPE_FLAGS) { in TryParseItemForAttribute()
|
D | ResourceParser.cpp | 728 const uint32_t type_mask, in ParseXml() argument 758 ResourceUtils::TryParseItemForAttribute(raw_value, type_mask, on_create_reference); in ParseXml() 768 if (type_mask & android::ResTable_map::TYPE_STRING) { in ParseXml() 1209 uint32_t type_mask = 0; in ParseAttrImpl() local 1213 type_mask = ParseFormatAttribute(maybe_format.value()); in ParseAttrImpl() 1214 if (type_mask == 0) { in ParseAttrImpl() 1258 (type_mask & android::ResTable_map::TYPE_INTEGER) == 0) { in ParseAttrImpl() 1289 if (type_mask & android::ResTable_map::TYPE_FLAGS) { in ParseAttrImpl() 1295 type_mask |= android::ResTable_map::TYPE_ENUM; in ParseAttrImpl() 1298 if (type_mask & android::ResTable_map::TYPE_ENUM) { in ParseAttrImpl() [all …]
|
D | ResourceParser.h | 91 std::unique_ptr<Item> ParseXml(xml::XmlPullParser* parser, const uint32_t type_mask,
|
D | ResourceParser_test.cpp | 332 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_STRING)); in TEST_F() 336 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_ANY)); in TEST_F() 365 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_INTEGER)); in TEST_F() 384 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_STRING)); in TEST_F() 399 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_BOOLEAN)); in TEST_F() 413 EXPECT_THAT(enum_attr->type_mask, Eq(ResTable_map::TYPE_ENUM)); in TEST_F() 443 EXPECT_THAT(flag_attr->type_mask, Eq(ResTable_map::TYPE_FLAGS)); in TEST_F()
|
D | ResourceUtils.h | 210 const android::StringPiece& value, uint32_t type_mask,
|
D | ResourceTable.cpp | 312 if (existing_attr->IsWeak() && existing_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision() 317 if (incoming_attr->IsWeak() && incoming_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision()
|
D | ResourceValues.h | 300 uint32_t type_mask; member
|
D | Debug.cpp | 136 if (attr->type_mask & kMask) { in Visit()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 101 const uint32_t type_mask = attr->type_mask; in AddAttributeFormatDoc() local 102 if (type_mask & android::ResTable_map::TYPE_REFERENCE) { in AddAttributeFormatDoc() 111 if (type_mask & android::ResTable_map::TYPE_STRING) { in AddAttributeFormatDoc() 117 if (type_mask & android::ResTable_map::TYPE_INTEGER) { in AddAttributeFormatDoc() 122 if (type_mask & android::ResTable_map::TYPE_BOOLEAN) { in AddAttributeFormatDoc() 128 if (type_mask & android::ResTable_map::TYPE_COLOR) { in AddAttributeFormatDoc() 136 if (type_mask & android::ResTable_map::TYPE_FLOAT) { in AddAttributeFormatDoc() 141 if (type_mask & android::ResTable_map::TYPE_DIMENSION) { in AddAttributeFormatDoc() 151 if (type_mask & android::ResTable_map::TYPE_FRACTION) { in AddAttributeFormatDoc() 161 if (type_mask & in AddAttributeFormatDoc() [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Transform.h | 55 enum type_mask : uint32_t { enum
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Transform.h | 55 enum type_mask : uint32_t { enum
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 131 } else if ((attribute->type_mask & android::ResTable_map::TYPE_STRING) == 0) { in Visit()
|
D | ReferenceLinker.cpp | 139 if (!transformed && (attr->type_mask & android::ResTable_map::TYPE_STRING)) { in ParseValueWithAttribute()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 569 attr->type_mask = util::DeviceToHost32(type_mask_iter->value.data); in ParseAttr() 585 if (attr->type_mask & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) { in ParseAttr()
|
D | TableFlattener_test.cpp | 223 attr.type_mask = android::ResTable_map::TYPE_INTEGER; in TEST_F() 238 EXPECT_EQ(attr.type_mask, actual_attr->type_mask); in TEST_F()
|
D | TableFlattener.cpp | 105 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->type_mask); in Visit()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 173 attr_->type_mask = typeMask; in SetTypeMask()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 567 pb_attr->set_format_flags(attr->type_mask); in Visit()
|