Home | History | Annotate | Download | only in animated

Lines Matching refs:node

12 static void assert_no_attr(const SkDOM& dom, const SkDOM::Node* node, const char attr[])
14 const char* value = dom.findAttr(node, attr);
19 #define assert_no_attr(dom, node, attr)
151 void SkStaticTextView::onInflate(const SkDOM& dom, const SkDOM::Node* node)
154 this->INHERITED::onInflate(dom, node);
157 if ((index = dom.findList(node, "mode", "fixed,auto-width,auto-height")) >= 0) {
160 assert_no_attr(dom, node, "mode");
163 if ((index = dom.findList(node, "spacing-align", "start,center,end")) >= 0) {
166 assert_no_attr(dom, node, "spacing-align");
170 if (dom.findScalars(node, "margin", s, 2)) {
173 assert_no_attr(dom, node, "margin");
176 const char* text = dom.findAttr(node, "text");
181 if ((node = dom.getFirstChild(node, "paint")) != nullptr &&
182 (node = dom.getFirstChild(node, "screenplay")) != nullptr)
187 inflate_paint(dom, node, &fPaint);