Searched refs:ResXMLTree (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/tools/aapt/
H A DAaptXml.h24 * Utility methods for dealing with ResXMLTree.
31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
35 * The string must be present in the ResXMLTree's string pool (inline in the XML).
37 android::String8 getAttribute(const android::ResXMLTree& tree, const char* ns,
43 * The string must be present in the ResXMLTree's string pool (inline in the XML).
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
53 int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns,
61 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns,
71 int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
79 inline int32_t getIntegerAttribute(const android::ResXMLTree
[all...]
H A DAaptXml.cpp26 static String8 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex,
48 static int32_t getIntegerAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex,
69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) {
79 String8 getAttribute(const ResXMLTree& tree, const char* ns,
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) {
96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree,
123 int32_t getIntegerAttribute(const ResXMLTree& tree, const char* ns,
132 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue,
141 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree,
163 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree
[all...]
H A DXMLNode.h24 ResXMLTree* inXml,
31 void printXMLBlock(ResXMLTree* block);
33 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
H A DXMLNode.cpp79 ResXMLTree* inXml,
185 ResXMLTree* inXml,
200 ResXMLTree::event_code_t code;
205 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
206 if (code == ResXMLTree::TEXT) {
232 } else if (code == ResXMLTree::START_TAG) {
292 } else if (code == ResXMLTree::END_TAG) {
359 } else if (code == ResXMLTree::START_NAMESPACE) {
383 if (code == ResXMLTree
[all...]
H A DResource.cpp221 ResXMLTree block;
228 ResXMLTree::event_code_t code;
229 while ((code=block.next()) != ResXMLTree::START_TAG
230 && code != ResXMLTree::END_DOCUMENT
231 && code != ResXMLTree::BAD_DOCUMENT) {
235 if (code != ResXMLTree::START_TAG) {
257 while ((code=block.next()) != ResXMLTree::END_DOCUMENT
258 && code != ResXMLTree::BAD_DOCUMENT) {
259 if (code == ResXMLTree::START_TAG) {
549 ResXMLTree
[all...]
H A DResourceTable.cpp101 NOISY(ResXMLTree tree;
266 ResXMLTree& block, bool _appendComment)
310 ResXMLTree& block,
325 ResXMLTree::event_code_t code;
424 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
425 if (code == ResXMLTree::START_TAG) {
530 } else if (code == ResXMLTree::END_TAG) {
572 ResXMLTree* block,
667 ResXMLTree* bloc
[all...]
H A DCommand.cpp234 ResXMLTree tree;
249 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree,
326 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) {
328 ResXMLTree::event_code_t code;
332 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
333 if (code == ResXMLTree::END_TAG) {
340 if (code != ResXMLTree::START_TAG) {
405 ResXMLTree tree;
410 ResXMLTree
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp50 ResXMLTree* osb = new ResXMLTree();
65 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token);
77 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token);
352 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token);
H A Dandroid_util_AssetManager.cpp1717 ResXMLTree* block = new ResXMLTree(dynamicRefTable);
/frameworks/base/cmds/idmap/
H A Dscan.cpp91 int parse_overlay_tag(const ResXMLTree& parser, const char *target_package_name)
122 ResXMLTree parser;
/frameworks/base/include/androidfw/
H A DResourceTypes.h657 class ResXMLTree;
662 ResXMLParser(const ResXMLTree& tree);
752 friend class ResXMLTree;
756 const ResXMLTree& mTree;
765 * Convenience class for accessing data in a ResXMLTree resource.
767 class ResXMLTree : public ResXMLParser class in namespace:android
770 ResXMLTree(const DynamicRefTable* dynamicRefTable);
771 ResXMLTree();
772 ~ResXMLTree();
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp979 ResXMLParser::ResXMLParser(const ResXMLTree& tree)
1469 ResXMLTree::ResXMLTree(const DynamicRefTable* dynamicRefTable) function in class:android::ResXMLTree
1474 //ALOGI("Creating ResXMLTree %p #%d\n", this, android_atomic_inc(&gCount)+1);
1478 ResXMLTree::ResXMLTree() function in class:android::ResXMLTree
1483 //ALOGI("Creating ResXMLTree %p #%d\n", this, android_atomic_inc(&gCount)+1);
1487 ResXMLTree::~ResXMLTree()
1489 //ALOGI("Destroying ResXMLTree i
[all...]

Completed in 154 milliseconds