/frameworks/base/tools/aapt/ |
AaptXml.h | 24 * 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& tree, uint32_t attrRes [all...] |
AaptXml.cpp | 26 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, 139 int32_t getIntegerAttribute(const ResXMLTree& tree, const char* ns, 148 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, 157 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, 179 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree [all...] |
XMLNode.h | 26 ResXMLTree* inXml, 33 void printXMLBlock(ResXMLTree* block); 35 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
|
XMLNode.cpp | 100 ResXMLTree* inXml, 206 ResXMLTree* inXml, 222 ResXMLTree::event_code_t code; 224 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 225 if (code == ResXMLTree::TEXT) { 245 } else if (code == ResXMLTree::START_TAG) { 305 } else if (code == ResXMLTree::END_TAG) { 372 } else if (code == ResXMLTree::START_NAMESPACE) { 379 if (code == ResXMLTree::BAD_DOCUMENT) [all...] |
Resource.cpp | 230 ResXMLTree block; 237 ResXMLTree::event_code_t code; 238 while ((code=block.next()) != ResXMLTree::START_TAG 239 && code != ResXMLTree::END_DOCUMENT 240 && code != ResXMLTree::BAD_DOCUMENT) { 244 if (code != ResXMLTree::START_TAG) { 271 while ((code=block.next()) != ResXMLTree::END_DOCUMENT 272 && code != ResXMLTree::BAD_DOCUMENT) { 273 if (code == ResXMLTree::START_TAG) { 580 ResXMLTree::event_code_t code [all...] |
ResourceTable.cpp | 142 ResXMLTree tree; 305 ResXMLTree& block, bool _appendComment) 331 ResXMLTree& block, 346 ResXMLTree::event_code_t code; 445 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 446 if (code == ResXMLTree::START_TAG) { 551 } else if (code == ResXMLTree::END_TAG) { 593 ResXMLTree* block, 690 ResXMLTree* block [all...] |
Command.cpp | 235 ResXMLTree tree; 250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, 330 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { 332 ResXMLTree::event_code_t code; 336 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 337 if (code == ResXMLTree::END_TAG) { 344 if (code != ResXMLTree::START_TAG) { 431 ResXMLTree tree; 436 ResXMLTree::event_code_t code [all...] |
/frameworks/base/tools/aapt2/flatten/ |
XmlFlattener_test.cpp | 59 android::ResXMLTree* out_tree, 87 android::ResXMLTree tree; 89 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_NAMESPACE)); 95 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); 106 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); 114 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); 115 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); 121 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); 124 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); 128 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)) [all...] |
/frameworks/base/core/jni/ |
android_util_XmlBlock.cpp | 50 ResXMLTree* osb = new ResXMLTree(); 65 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); 77 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); 353 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token);
|
android_util_AssetManager.cpp | [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
ResourceTypes.h | 683 class ResXMLTree; 688 ResXMLParser(const ResXMLTree& tree); 778 friend class ResXMLTree; 782 const ResXMLTree& mTree; 791 * Convenience class for accessing data in a ResXMLTree resource. 793 class ResXMLTree : public ResXMLParser 796 ResXMLTree(const DynamicRefTable* dynamicRefTable); 797 ResXMLTree(); 798 ~ResXMLTree(); [all...] |
/frameworks/base/cmds/idmap/ |
scan.cpp | 98 int parse_overlay_tag(const ResXMLTree& parser, const char *target_package_name, 157 ResXMLTree parser;
|
/frameworks/base/libs/androidfw/tests/ |
AttributeResolution_test.cpp | 65 ResXMLTree xml_parser_;
|
/frameworks/base/tools/split-select/ |
Main.cpp | 136 ResXMLTree xml;
|
/frameworks/base/tools/aapt2/xml/ |
XmlDom.cpp | 266 ResXMLTree tree;
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |