Home
last modified time | relevance | path

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

/frameworks/base/libs/utils/
DResourceTypes.cpp124 inline void Res_value::copyFrom_dtoh(const Res_value& src) in copyFrom_dtoh()
680 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const in getTextValue()
684 return sizeof(Res_value); in getTextValue()
850 return Res_value::TYPE_NULL; in getAttributeDataType()
868 ssize_t ResXMLParser::getAttributeValue(size_t idx, Res_value* outValue) const in getAttributeValue()
878 return sizeof(Res_value); in getAttributeValue()
1466 memset(curEntries, Res_value::TYPE_NULL, cnt*sizeof(theme_entry)); in applyStyle()
1481 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { in applyStyle()
1537 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, in getAttribute()
1567 if (type == Res_value::TYPE_ATTRIBUTE) { in getAttribute()
[all …]
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp80 const Res_value& value, uint32_t ref, ssize_t block,
84 const Res_value& value, uint32_t ref, ssize_t block, in copyValue()
713 Res_value value; in android_content_AssetManager_loadResourceValue()
750 Res_value value; in android_content_AssetManager_loadResourceBagValue()
857 Res_value value; in android_content_AssetManager_loadThemeAttributeValue()
930 Res_value value; in android_content_AssetManager_applyStyle()
964 Res_value value; in android_content_AssetManager_applyStyle()
966 if (value.dataType == Res_value::TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
980 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
1028 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
[all …]
Dandroid_util_XmlBlock.cpp334 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.cpp244 Res_value value; in getAttribute()
246 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
262 Res_value value; in getAttribute()
264 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
281 Res_value value; in getIntegerAttribute()
283 if (value.dataType < Res_value::TYPE_FIRST_INT in getIntegerAttribute()
284 || value.dataType > Res_value::TYPE_LAST_INT) { in getIntegerAttribute()
299 Res_value value; in getResolvedAttribute()
301 if (value.dataType == Res_value::TYPE_STRING) { in getResolvedAttribute()
307 if (value.dataType != Res_value::TYPE_STRING) { in getResolvedAttribute()
[all …]
DResourceTable.h175 bool stringToValue(Res_value* outValue, StringPool* pool,
206 Res_value* outValue);
209 Res_value* outValue);
251 Res_value parsedValue;
529 Res_value* outValue);
DXMLNode.cpp444 Res_value value; in printXMLBlock()
446 if (value.dataType == Res_value::TYPE_NULL) { in printXMLBlock()
448 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in printXMLBlock()
450 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in printXMLBlock()
452 } else if (value.dataType == Res_value::TYPE_STRING) { in printXMLBlock()
1444 if (ae.value.dataType == Res_value::TYPE_NULL in flatten_node()
1445 || ae.value.dataType == Res_value::TYPE_STRING) { in flatten_node()
1447 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node()
DResourceTable.cpp879 Res_value identValue; in compileResourceFile()
951 Res_value startValue; in compileResourceFile()
971 Res_value endValue; in compileResourceFile()
2009 bool ResourceTable::stringToValue(Res_value* outValue, StringPool* pool, in stringToValue()
2029 outValue->size = sizeof(Res_value); in stringToValue()
2104 Res_value value; in getAttributeType()
2117 Res_value value; in getAttributeMin()
2128 Res_value value; in getAttributeMax()
2139 Res_value value; in getAttributeL10N()
2185 Res_value* outValue) in getAttributeEnum()
[all …]
DResource.cpp390 Res_value value; in validateAttr()
393 if (value.dataType == Res_value::TYPE_REFERENCE) { in validateAttr()
420 if (value.dataType == Res_value::TYPE_STRING) { in validateAttr()
/frameworks/base/include/utils/
DResourceTypes.h224 struct Res_value struct
332 void copyFrom_dtoh(const Res_value& src); argument
526 struct Res_value typedData;
603 struct Res_value typedValue;
651 ssize_t getTextValue(Res_value* outValue) const;
683 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const;
1723 Res_value value;
1774 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag=false,
1777 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue,
1782 ssize_t resolveReference(Res_value* inOutValue,
[all …]