Lines Matching full:child
64 /* Measure the main-dimension for all the children. If a child is marked flex in that direction
71 SkView* child;
75 while ((child = iter.next()) != NULL)
78 if (child->getFlags() & flexMask)
81 limit += (child->*sizeProc)();
155 SkView* child;
160 while ((child = iter.next()) != NULL)
164 (child->*mainLocP)(pos);
165 SkScalar crossLoc = crossStartM + gAlignProcs[fAlign]((child->*crossGetSizeP)(), crossLimit);
168 (child->*crossLocP)(crossLoc);
171 (child->*crossSetSizeP)(crossLimit);
172 if (child->getFlags() & flexMask)
173 (child->*mainSetSizeP)(flexAmount);
174 pos += (child->*mainGetSizeP)() + fSpacer;
247 SkView* child;
249 while ((child = iter.next()) != NULL)
251 child->setLoc(fMargin.fLeft, fMargin.fTop);
252 child->setSize( parent->width() - fMargin.fRight - fMargin.fLeft,