Searched defs:attrRes (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tools/aapt/
H A 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, argument
81 return getIntegerAttribute(tree, attrRes, -1, outError);
90 const android::ResXMLTree& tree, uint32_t attrRes, int32_t defValue = -1,
99 const android::ResXMLTree& tree, uint32_t attrRes,
101 return getResolvedIntegerAttribute(resTable, tree, attrRes, -1, outError);
110 const android::ResXMLTree& tree, uint32_t attrRes,
118 const android::ResXMLTree& tree, uint32_t attrRes, androi
98 getResolvedIntegerAttribute(const android::ResTable& resTable, const android::ResXMLTree& tree, uint32_t attrRes, android::String8* outError) argument
[all...]
H A DAaptXml.cpp69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { argument
72 if (tree.getAttributeNameResID(i) == attrRes) {
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) { argument
89 ssize_t idx = indexOfAttribute(tree, attrRes);
97 uint32_t attrRes, String8* outError) {
98 ssize_t idx = indexOfAttribute(tree, attrRes);
132 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, argument
134 ssize_t idx = indexOfAttribute(tree, attrRes);
142 uint32_t attrRes, int32_t defValue, String8* outError) {
143 ssize_t idx = indexOfAttribute(tree, attrRes);
96 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument
141 getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, String8* outError) argument
163 getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, Res_value* outValue, String8* outError) argument
[all...]
H A DCommand.cpp250 uint32_t attrRes, String8 attrLabel, String8* outError)
253 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError);
259 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError);
249 printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8 attrLabel, String8* outError) argument
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp3075 const uint32_t attrRes = bag->map.name.ident; local
3076 const uint32_t p = Res_GETPACKAGE(attrRes);
3077 const uint32_t t = Res_GETTYPE(attrRes);
3078 const uint32_t e = Res_GETENTRY(attrRes);
3081 const ssize_t pidx = mTable.getResourcePackageIndex(attrRes);
3083 ALOGE("Style contains key with bad package: 0x%08x\n", attrRes);
3100 ALOGE("Style contains key with bad type: 0x%08x\n", attrRes);
3118 ALOGE("Style contains key with bad entry: 0x%08x\n", attrRes);
3124 attrRes, bag->map.value.dataType, bag->map.value.data,

Completed in 79 milliseconds