Searched defs:typeMask (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/test/
H A DBuilders.h175 mAttr->typeMask = android::ResTable_map::TYPE_ANY;
178 AttributeBuilder& setTypeMask(uint32_t typeMask) { argument
179 mAttr->typeMask = typeMask;
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp477 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 DResourceValues.h270 uint32_t typeMask; member in struct:aapt::Attribute
H A DResourceParser.cpp474 * 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...]
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp99 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...]

Completed in 87 milliseconds