• Home
  • Raw
  • Download

Lines Matching refs:ResTable_map

179     { referenceArray, sizeof(referenceArray)/2, ResTable_map::TYPE_REFERENCE,
182 { stringArray, sizeof(stringArray)/2, ResTable_map::TYPE_STRING,
184 { integerArray, sizeof(integerArray)/2, ResTable_map::TYPE_INTEGER,
186 { booleanArray, sizeof(booleanArray)/2, ResTable_map::TYPE_BOOLEAN,
188 { colorArray, sizeof(colorArray)/2, ResTable_map::TYPE_COLOR,
191 { floatArray, sizeof(floatArray)/2, ResTable_map::TYPE_FLOAT,
193 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION,
197 { fractionArray, sizeof(fractionArray)/2, ResTable_map::TYPE_FRACTION,
201 { enumArray, sizeof(enumArray)/2, ResTable_map::TYPE_ENUM, NULL },
202 { flagsArray, sizeof(flagsArray)/2, ResTable_map::TYPE_FLAGS, NULL },
209 { suggestedArray, sizeof(suggestedArray)/2, ResTable_map::L10N_SUGGESTED, NULL },
280 if (hadType && (type&ResTable_map::TYPE_REFERENCE) == 0) { in appendTypeInfo()
306 , type(ResTable_map::TYPE_ANY) in PendingAttribute()
413 if ((minIdx >= 0 || maxIdx >= 0) && (attr.type&ResTable_map::TYPE_INTEGER) == 0) { in compileAttribute()
446 localType = ResTable_map::TYPE_ENUM; in compileAttribute()
448 localType = ResTable_map::TYPE_FLAGS; in compileAttribute()
458 if (attr.type == ResTable_map::TYPE_ANY) { in compileAttribute()
464 if ((attr.type&(ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)) == 0) { in compileAttribute()
477 …} else if ((uint32_t)(attr.type&(ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)) != localType) { in compileAttribute()
478 if (localType == ResTable_map::TYPE_ENUM) { in compileAttribute()
519 ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)); in compileAttribute()
520 enumOrFlagsComment.append((attr.type&ResTable_map::TYPE_ENUM) in compileAttribute()
552 if ((attr.type&ResTable_map::TYPE_ENUM) != 0) { in compileAttribute()
912 int32_t curFormat = ResTable_map::TYPE_ANY; in compileResourceFile()
1091 ResTable_map::TYPE_STRING, overwrite); in compileResourceFile()
1407 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING; in compileResourceFile()
1413 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1417 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1421 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_BOOLEAN; in compileResourceFile()
1425 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_INTEGER; in compileResourceFile()
1429 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
1433 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_FRACTION; in compileResourceFile()
1498 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING; in compileResourceFile()
1505 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_INTEGER; in compileResourceFile()
2145 if ((format & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) || in makeAttribute()
2428 if (getItemValue(attrID, ResTable_map::ATTR_TYPE, &value)) { in getAttributeType()
2441 if (getItemValue(attrID, ResTable_map::ATTR_MIN, &value)) { in getAttributeMin()
2452 if (getItemValue(attrID, ResTable_map::ATTR_MAX, &value)) { in getAttributeMax()
2463 if (getItemValue(attrID, ResTable_map::ATTR_L10N, &value)) { in getAttributeL10N()
2466 return ResTable_map::L10N_NOT_REQUIRED; in getAttributeL10N()
3643 sprintf(numberStr, "%d", ResTable_map::TYPE_ANY); in generateAttributes()
3813 ResTable_map map; in flatten()