Home
last modified time | relevance | path

Searched refs:attrRes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt/
DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
71 int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
79 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes, in getIntegerAttribute() argument
81 return getIntegerAttribute(tree, attrRes, -1, outError); in getIntegerAttribute()
90 const android::ResXMLTree& tree, uint32_t attrRes, int32_t defValue = -1,
99 const android::ResXMLTree& tree, uint32_t attrRes, in getResolvedIntegerAttribute() argument
101 return getResolvedIntegerAttribute(resTable, tree, attrRes, -1, outError); in getResolvedIntegerAttribute()
110 const android::ResXMLTree& tree, uint32_t attrRes,
118 const android::ResXMLTree& tree, uint32_t attrRes, android::Res_value* outValue,
DAaptXml.cpp69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { in indexOfAttribute() argument
72 if (tree.getAttributeNameResID(i) == attrRes) { in indexOfAttribute()
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) { in getAttribute() argument
89 ssize_t idx = indexOfAttribute(tree, attrRes); in getAttribute()
97 uint32_t attrRes, String8* outError) { in getResolvedAttribute() argument
98 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedAttribute()
132 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, in getIntegerAttribute() argument
134 ssize_t idx = indexOfAttribute(tree, attrRes); in getIntegerAttribute()
142 uint32_t attrRes, int32_t defValue, String8* outError) { in getResolvedIntegerAttribute() argument
143 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedIntegerAttribute()
[all …]
DCommand.cpp251 uint32_t attrRes, String8 attrLabel, String8* outError) in printResolvedResourceAttribute() argument
254 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); in printResolvedResourceAttribute()
260 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError); in printResolvedResourceAttribute()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3263 const uint32_t attrRes = bag->map.name.ident; in applyStyle() local
3264 const uint32_t p = Res_GETPACKAGE(attrRes); in applyStyle()
3265 const uint32_t t = Res_GETTYPE(attrRes); in applyStyle()
3266 const uint32_t e = Res_GETENTRY(attrRes); in applyStyle()
3269 const ssize_t pidx = mTable.getResourcePackageIndex(attrRes); in applyStyle()
3271 ALOGE("Style contains key with bad package: 0x%08x\n", attrRes); in applyStyle()
3287 ALOGE("Style contains key with bad type: 0x%08x\n", attrRes); in applyStyle()
3308 ALOGE("Style contains key with bad entry: 0x%08x\n", attrRes); in applyStyle()
3315 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle()