HomeSort by relevance Sort by last modified time
    Searched refs:ResXMLTree (Results 1 - 15 of 15) sorted by null

  /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,
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& 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 234 ResXMLTree block;
241 ResXMLTree::event_code_t code;
242 while ((code=block.next()) != ResXMLTree::START_TAG
243 && code != ResXMLTree::END_DOCUMENT
244 && code != ResXMLTree::BAD_DOCUMENT) {
248 if (code != ResXMLTree::START_TAG) {
275 while ((code=block.next()) != ResXMLTree::END_DOCUMENT
276 && code != ResXMLTree::BAD_DOCUMENT) {
277 if (code == ResXMLTree::START_TAG) {
584 ResXMLTree::event_code_t code
    [all...]
ResourceTable.cpp 131 ResXMLTree tree;
294 ResXMLTree& block, bool _appendComment)
320 ResXMLTree& block,
335 ResXMLTree::event_code_t code;
434 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
435 if (code == ResXMLTree::START_TAG) {
540 } else if (code == ResXMLTree::END_TAG) {
582 ResXMLTree* block,
679 ResXMLTree* block
    [all...]
Command.cpp 235 ResXMLTree tree;
250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree,
328 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) {
330 ResXMLTree::event_code_t code;
334 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
335 if (code == ResXMLTree::END_TAG) {
342 if (code != ResXMLTree::START_TAG) {
417 ResXMLTree tree;
422 ResXMLTree::event_code_t code
    [all...]
  /frameworks/base/tools/aapt2/flatten/
XmlFlattener_test.cpp 47 ::testing::AssertionResult flatten(xml::XmlResource* doc, android::ResXMLTree* outTree,
77 android::ResXMLTree tree;
80 ASSERT_EQ(tree.next(), android::ResXMLTree::START_NAMESPACE);
89 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG);
102 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG);
115 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG);
116 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG);
123 ASSERT_EQ(tree.next(), android::ResXMLTree::TEXT);
127 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG);
132 ASSERT_EQ(tree.next(), 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/cmds/idmap/
scan.cpp 68 int parse_overlay_tag(const ResXMLTree& parser, const char *target_package_name)
99 ResXMLTree parser;
  /frameworks/base/include/androidfw/
ResourceTypes.h 684 class ResXMLTree;
689 ResXMLParser(const ResXMLTree& tree);
779 friend class ResXMLTree;
783 const ResXMLTree& mTree;
792 * Convenience class for accessing data in a ResXMLTree resource.
794 class ResXMLTree : public ResXMLParser
797 ResXMLTree(const DynamicRefTable* dynamicRefTable);
798 ResXMLTree();
799 ~ResXMLTree();
    [all...]
  /frameworks/base/tools/split-select/
Main.cpp 136 ResXMLTree xml;
  /frameworks/base/tools/aapt2/xml/
XmlDom.cpp 238 ResXMLTree tree;
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp     [all...]

Completed in 865 milliseconds