Lines Matching refs:dom
181 static void assert_no_attr(const SkDOM& dom, const SkDOM::Node* node, const char attr[]) in assert_no_attr() argument
183 const char* value = dom.findAttr(node, attr); in assert_no_attr()
188 #define assert_no_attr(dom, node, attr) argument
191 void SkStackViewLayout::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
196 if ((index = dom.findList(node, "orient", "horizontal,vertical")) >= 0) in onInflate()
199 assert_no_attr(dom, node, "orient"); in onInflate()
201 if (dom.findScalars(node, "margin", value, 4)) in onInflate()
208 assert_no_attr(dom, node, "margin"); in onInflate()
210 if (dom.findScalar(node, "spacer", value)) in onInflate()
213 assert_no_attr(dom, node, "spacer"); in onInflate()
215 if ((index = dom.findList(node, "pack", "start,center,end")) >= 0) in onInflate()
218 assert_no_attr(dom, node, "pack"); in onInflate()
220 if ((index = dom.findList(node, "align", "start,center,end,stretch")) >= 0) in onInflate()
223 assert_no_attr(dom, node, "align"); in onInflate()
257 void SkFillViewLayout::onInflate(const SkDOM& dom, const SkDOM::Node* node) in onInflate() argument
259 this->INHERITED::onInflate(dom, node); in onInflate()
260 (void)dom.findScalars(node, "margin", (SkScalar*)&fMargin, 4); in onInflate()