/external/skia/src/xml/ |
D | SkDOM.cpp | 14 bool SkXMLParser::parse(const SkDOM& dom, const SkDOMNode* node) { in parse() 21 SkDOM::AttrIter iter(dom, node); in parse() 69 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM() function in SkDOM 71 SkDOM::~SkDOM() {} in ~SkDOM() 73 const SkDOM::Node* SkDOM::getRootNode() const { in getRootNode() 77 const SkDOM::Node* SkDOM::getFirstChild(const Node* node, const char name[]) const { in getFirstChild() 91 const SkDOM::Node* SkDOM::getNextSibling(const Node* node, const char name[]) const { in getNextSibling() 104 SkDOM::Type SkDOM::getType(const Node* node) const { in getType() 109 const char* SkDOM::getName(const Node* node) const { in getName() 114 const char* SkDOM::findAttr(const Node* node, const char name[]) const { in findAttr() [all …]
|
D | SkDOM.h | 23 class SkDOM : public SkNoncopyable { 25 SkDOM(); 26 ~SkDOM(); 34 const Node* copy(const SkDOM& dom, const Node* node); 79 AttrIter(const SkDOM&, const Node*);
|
D | SkXMLWriter.cpp | 150 static void write_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLWriter* w, bool skipRoot) { in write_dom() 153 if (dom.getType(node) == SkDOM::kText_Type) { in write_dom() 161 SkDOM::AttrIter iter(dom, node); in write_dom() 180 void SkXMLWriter::writeDOM(const SkDOM& dom, const SkDOM::Node* node, bool skipRoot) { in writeDOM()
|
D | SkXMLParser.h | 17 class SkDOM; variable 63 bool parse(const SkDOM&, const SkDOMNode*);
|
D | SkXMLWriter.h | 32 void writeDOM(const SkDOM&, const SkDOM::Node*, bool skipRoot);
|
/external/skia/tests/ |
D | SkDOMTest.cpp | 15 static const SkDOM::Node* check_node(skiatest::Reporter* r, const SkDOM& dom, in check_node() 16 const SkDOM::Node* node, const char* expectedName, in check_node() 17 SkDOM::Type expectedType) { in check_node() 42 SkDOM dom; in DEF_TEST() 45 const SkDOM::Node* root = dom.build(docStream); in DEF_TEST() 60 "elem1", SkDOM::kElement_Type); in DEF_TEST() 62 "elem2", SkDOM::kElement_Type); in DEF_TEST() 64 "elem3", SkDOM::kElement_Type); in DEF_TEST() 67 "subelem1", SkDOM::kElement_Type); in DEF_TEST() 70 "Some text.", SkDOM::kText_Type); in DEF_TEST() [all …]
|
D | SVGDeviceTest.cpp | 22 const SkDOM& dom, in check_text_node() 23 const SkDOM::Node* root, in check_text_node() 32 const SkDOM::Node* textElem = dom.getFirstChild(root, "text"); in check_text_node() 37 REPORTER_ASSERT(reporter, dom.getType(textElem) == SkDOM::kElement_Type); in check_text_node() 39 const SkDOM::Node* textNode= dom.getFirstChild(textElem); in check_text_node() 42 REPORTER_ASSERT(reporter, dom.getType(textNode) == SkDOM::kText_Type); in check_text_node() 88 SkDOM dom; in test_whitespace_pos()
|
/external/skia/src/views/ |
D | SkViewPriv.cpp | 19 void SkView::Artist::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate() 25 void SkView::Artist::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate() argument 65 void SkView::Layout::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate() 71 void SkView::Layout::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate() argument
|
D | SkView.cpp | 631 void SkView::onInflate(const SkDOM& dom, const SkDOM::Node* node) { in onInflate() 663 void SkView::inflate(const SkDOM& dom, const SkDOM::Node* node) { in inflate()
|
D | SkEvent.cpp | 124 void SkEvent::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate()
|
/external/skia/include/views/ |
D | SkView.h | 20 class SkDOM; variable 264 void inflate(const SkDOM&, const SkDOMNode*); 267 virtual void onInflate(const SkDOM&, const SkDOMNode*); 292 void inflate(const SkDOM&, const SkDOMNode*); 295 virtual void onInflate(const SkDOM&, const SkDOMNode*); 315 void inflate(const SkDOM& dom, const SkDOMNode* node); 353 virtual void onInflate(const SkDOM& dom, const SkDOMNode* node);
|
D | SkEvent.h | 14 class SkDOM; variable 185 void inflate(const SkDOM&, const SkDOMNode*);
|
/external/skia/experimental/svg/model/ |
D | SkSVGDOM.cpp | 361 void parse_node_attributes(const SkDOM& xmlDom, const SkDOM::Node* xmlNode, in parse_node_attributes() 364 SkDOM::AttrIter attrIter(xmlDom, xmlNode); in parse_node_attributes() 375 sk_sp<SkSVGNode> construct_svg_node(const SkDOM& dom, const ConstructionContext& ctx, in construct_svg_node() 376 const SkDOM::Node* xmlNode) { in construct_svg_node() 378 const SkDOM::Type elemType = dom.getType(xmlNode); in construct_svg_node() 380 if (elemType == SkDOM::kText_Type) { in construct_svg_node() 386 SkASSERT(elemType == SkDOM::kElement_Type); in construct_svg_node() 420 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromDOM(const SkDOM& xmlDom) { in MakeFromDOM() 433 SkDOM xmlDom; in MakeFromStream()
|
D | SkSVGDOM.h | 17 class SkDOM; variable 26 static sk_sp<SkSVGDOM> MakeFromDOM(const SkDOM&);
|
/external/skia/samplecode/ |
D | SampleAnimator.cpp | 64 static const SkDOMNode* find_nodeID(const SkDOM& dom, in find_nodeID() 99 SkDOM dom; in decodeStream() 100 const SkDOM::Node* root = dom.build(text, len); in decodeStream() 112 const SkDOM::Node* node = find_nodeID(dom, nullptr, name.c_str()); in decodeStream()
|
D | SampleSVGFile.cpp | 33 SkDOM xmlDom; in onOnceBeforeDraw()
|
/external/skia/ |
D | BUILD.gn | 662 "src/xml/SkDOM.cpp",
|
D | Android.bp | 748 "src/xml/SkDOM.cpp",
|