Lines Matching refs:dom
57 static const SkDOMNode* find_nodeID(const SkDOM& dom, in find_nodeID() argument
60 node = dom.getRootNode(); in find_nodeID()
63 const char* idval = dom.findAttr(node, "id"); in find_nodeID()
67 const SkDOMNode* child = dom.getFirstChild(node); in find_nodeID()
69 const SkDOMNode* found = find_nodeID(dom, child, name); in find_nodeID()
74 } while ((node = dom.getNextSibling(node)) != NULL); in find_nodeID()
92 SkDOM dom; in decodeStream() local
93 const SkDOM::Node* root = dom.build(text, len); in decodeStream()
97 if (!fAnimator->decodeDOM(dom, root)) { in decodeStream()
105 const SkDOM::Node* node = find_nodeID(dom, NULL, name.c_str()); in decodeStream()
108 dom.findScalar(node, "left", &r.fLeft); in decodeStream()
109 dom.findScalar(node, "top", &r.fTop); in decodeStream()
110 dom.findScalar(node, "width", &r.fRight); r.fRight += r.fLeft; in decodeStream()
111 dom.findScalar(node, "height", &r.fBottom); r.fBottom += r.fTop; in decodeStream()