Home
last modified time | relevance | path

Searched refs:Res_value (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/include/androidfw/
DResourceTypes.h224 struct Res_value struct
332 void copyFrom_dtoh(const Res_value& src); argument
534 struct Res_value typedData;
611 struct Res_value typedValue;
659 ssize_t getTextValue(Res_value* outValue) const;
691 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const;
1268 Res_value value;
1319 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1324 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue,
1329 ssize_t resolveReference(Res_value* inOutValue,
[all …]
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp82 const Res_value& value, uint32_t ref, ssize_t block,
86 const Res_value& value, uint32_t ref, ssize_t block, in copyValue()
698 Res_value value; in android_content_AssetManager_loadResourceValue()
735 Res_value value; in android_content_AssetManager_loadResourceBagValue()
842 Res_value value; in android_content_AssetManager_loadThemeAttributeValue()
899 Res_value value; in android_content_AssetManager_applyStyle()
931 Res_value value; in android_content_AssetManager_applyStyle()
933 if (value.dataType == Res_value::TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
947 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
995 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
[all …]
Dandroid_util_XmlBlock.cpp324 Res_value value; in android_content_XmlBlock_nativeGetStyleAttribute()
/frameworks/base/tools/aapt/
DXMLNode.h77 value.dataType = Res_value::TYPE_NULL; in attribute_entry()
82 || value.dataType == Res_value::TYPE_NULL in needStringValue()
83 || value.dataType == Res_value::TYPE_STRING; in needStringValue()
89 Res_value value;
192 Res_value mCharsValue;
DCommand.cpp248 Res_value value; in getAttribute()
250 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
266 Res_value value; in getAttribute()
268 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
285 Res_value value; in getIntegerAttribute()
287 if (value.dataType < Res_value::TYPE_FIRST_INT in getIntegerAttribute()
288 || value.dataType > Res_value::TYPE_LAST_INT) { in getIntegerAttribute()
303 Res_value value; in getResolvedIntegerAttribute()
305 if (value.dataType == Res_value::TYPE_REFERENCE) { in getResolvedIntegerAttribute()
308 if (value.dataType < Res_value::TYPE_FIRST_INT in getResolvedIntegerAttribute()
[all …]
DResourceTable.h211 bool stringToValue(Res_value* outValue, StringPool* pool,
244 Res_value* outValue);
247 Res_value* outValue);
289 Res_value parsedValue;
539 Res_value* outValue);
DXMLNode.cpp451 Res_value value; in printXMLBlock()
453 if (value.dataType == Res_value::TYPE_NULL) { in printXMLBlock()
455 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in printXMLBlock()
457 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in printXMLBlock()
459 } else if (value.dataType == Res_value::TYPE_STRING) { in printXMLBlock()
1466 if (ae.value.dataType == Res_value::TYPE_NULL in flatten_node()
1467 || ae.value.dataType == Res_value::TYPE_STRING) { in flatten_node()
1469 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node()
DResourceTable.cpp882 Res_value identValue; in compileResourceFile()
954 Res_value startValue; in compileResourceFile()
974 Res_value endValue; in compileResourceFile()
2093 bool ResourceTable::stringToValue(Res_value* outValue, StringPool* pool, in stringToValue()
2114 outValue->size = sizeof(Res_value); in stringToValue()
2198 Res_value value; in getAttributeType()
2211 Res_value value; in getAttributeMin()
2222 Res_value value; in getAttributeMax()
2233 Res_value value; in getAttributeL10N()
2279 Res_value* outValue) in getAttributeEnum()
[all …]
DResource.cpp458 Res_value value; in validateAttr()
461 if (value.dataType == Res_value::TYPE_REFERENCE) { in validateAttr()
488 if (value.dataType == Res_value::TYPE_STRING) { in validateAttr()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp128 inline void Res_value::copyFrom_dtoh(const Res_value& src) in copyFrom_dtoh()
836 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const in getTextValue()
840 return sizeof(Res_value); in getTextValue()
1006 return Res_value::TYPE_NULL; in getAttributeDataType()
1024 ssize_t ResXMLParser::getAttributeValue(size_t idx, Res_value* outValue) const in getAttributeValue()
1034 return sizeof(Res_value); in getAttributeValue()
2550 memset(curEntries, Res_value::TYPE_NULL, cnt*sizeof(theme_entry)); in applyStyle()
2565 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { in applyStyle()
2621 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, in getAttribute()
2651 if (type == Res_value::TYPE_ATTRIBUTE) { in getAttribute()
[all …]