Home | History | Annotate | Download | only in views

Lines Matching refs:child

71 /*    Measure the main-dimension for all the children. If a child is marked flex in that direction
78 SkView* child;
82 while ((child = iter.next()) != NULL)
85 if (child->getFlags() & flexMask)
88 limit += (child->*sizeProc)();
162 SkView* child;
167 while ((child = iter.next()) != NULL)
171 (child->*mainLocP)(pos);
172 SkScalar crossLoc = crossStartM + gAlignProcs[fAlign]((child->*crossGetSizeP)(), crossLimit);
175 (child->*crossLocP)(crossLoc);
178 (child->*crossSetSizeP)(crossLimit);
179 if (child->getFlags() & flexMask)
180 (child->*mainSetSizeP)(flexAmount);
181 pos += (child->*mainGetSizeP)() + fSpacer;
259 SkView* child;
261 while ((child = iter.next()) != NULL)
263 child->setLoc(fMargin.fLeft, fMargin.fTop);
264 child->setSize( parent->width() - fMargin.fRight - fMargin.fLeft,