/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.cpp | 523 : type_mask(t), 552 if (type_mask != other->type_mask || min_int != other->min_int || max_int != other->max_int) { 579 if ((type_mask & ~android::ResTable_map::TYPE_ANY) != 0 || 580 (attr.type_mask & ~android::ResTable_map::TYPE_ANY) != 0) { 585 uint32_t this_type_mask = type_mask | android::ResTable_map::TYPE_REFERENCE; 586 uint32_t that_type_mask = attr.type_mask | android::ResTable_map::TYPE_REFERENCE; 595 if (type_mask == android::ResTable_map::TYPE_ANY) { 601 if ((type_mask & android::ResTable_map::TYPE_REFERENCE) != 0) { 610 if ((type_mask [all...] |
H A D | ResourceUtils.cpp | 583 const StringPiece& value, uint32_t type_mask, 601 if (type_mask & ResTable_map::TYPE_COLOR) { 609 if (type_mask & ResTable_map::TYPE_BOOLEAN) { 617 if (type_mask & ResTable_map::TYPE_INTEGER) { 627 if (type_mask & float_mask) { 631 if (type_mask & AndroidTypeToAttributeTypeMask(floating_point->value.dataType)) { 648 const uint32_t type_mask = attr->type_mask; local 649 auto value = TryParseItemForAttribute(str, type_mask, on_create_reference); 654 if (type_mask 582 TryParseItemForAttribute( const StringPiece& value, uint32_t type_mask, const std::function<void(const ResourceName&)>& on_create_reference) argument [all...] |
H A D | ResourceParser.h | 76 * The type of Item that can be parsed is denoted by the `type_mask`. 81 std::unique_ptr<Item> ParseXml(xml::XmlPullParser* parser, const uint32_t type_mask,
|
H A D | ResourceParser.cpp | 721 const uint32_t type_mask, 751 ResourceUtils::TryParseItemForAttribute(raw_value, type_mask, on_create_reference); 761 if (type_mask & android::ResTable_map::TYPE_STRING) { 1110 uint32_t type_mask = 0; local 1114 type_mask = ParseFormatAttribute(maybe_format.value()); 1115 if (type_mask == 0) { 1159 (type_mask & android::ResTable_map::TYPE_INTEGER) == 0) { 1190 if (type_mask & android::ResTable_map::TYPE_FLAGS) { 1196 type_mask |= android::ResTable_map::TYPE_ENUM; 1199 if (type_mask 720 ParseXml(xml::XmlPullParser* parser, const uint32_t type_mask, const bool allow_raw_value) argument [all...] |
H A D | ResourceUtils.h | 202 const android::StringPiece& value, uint32_t type_mask,
|
H A D | ResourceParser_test.cpp | 306 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_STRING)); 310 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_ANY)); 339 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_INTEGER)); 358 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_STRING)); 373 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_BOOLEAN)); 387 EXPECT_THAT(enum_attr->type_mask, Eq(ResTable_map::TYPE_ENUM)); 414 EXPECT_THAT(flag_attr->type_mask, Eq(ResTable_map::TYPE_FLAGS));
|
H A D | ResourceValues.h | 299 uint32_t type_mask; member in struct:aapt::Attribute
|
H A D | ResourceTable.cpp | 295 if (existing_attr->IsWeak() && existing_attr->type_mask == android::ResTable_map::TYPE_ANY) { 300 if (incoming_attr->IsWeak() && incoming_attr->type_mask == android::ResTable_map::TYPE_ANY) {
|
H A D | Debug.cpp | 130 if (attr->type_mask & kMask) {
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 101 const uint32_t type_mask = attr->type_mask; local 102 if (type_mask & android::ResTable_map::TYPE_REFERENCE) { 111 if (type_mask & android::ResTable_map::TYPE_STRING) { 117 if (type_mask & android::ResTable_map::TYPE_INTEGER) { 122 if (type_mask & android::ResTable_map::TYPE_BOOLEAN) { 128 if (type_mask & android::ResTable_map::TYPE_COLOR) { 136 if (type_mask & android::ResTable_map::TYPE_FLOAT) { 141 if (type_mask & android::ResTable_map::TYPE_DIMENSION) { 151 if (type_mask [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.h | 58 enum type_mask { enum in class:android::Transform
|
/frameworks/base/tools/aapt2/link/ |
H A D | XmlReferenceLinker.cpp | 121 } else if ((attribute->type_mask & android::ResTable_map::TYPE_STRING) == 0) {
|
H A D | ReferenceLinker.cpp | 136 if (!transformed && (attr->type_mask & android::ResTable_map::TYPE_STRING)) {
|
/frameworks/base/tools/aapt2/format/binary/ |
H A D | BinaryResourceParser.cpp | 516 attr->type_mask = util::DeviceToHost32(type_mask_iter->value.data); 532 if (attr->type_mask & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) {
|
H A D | TableFlattener_test.cpp | 219 attr.type_mask = android::ResTable_map::TYPE_INTEGER; 234 EXPECT_EQ(attr.type_mask, actual_attr->type_mask);
|
H A D | TableFlattener.cpp | 91 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->type_mask);
|
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.cpp | 164 attr_->type_mask = typeMask;
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize.cpp | 489 pb_attr->set_format_flags(attr->type_mask);
|