Searched defs:totalFlex (Results 1 - 1 of 1) sorted by relevance

/external/webkit/Source/WebCore/rendering/
H A DRenderFlexibleBox.cpp479 // For a given pass, we always start off by computing the totalFlex of all objects that can grow/shrink at all, and
481 // forces a totalFlex recomputation).
483 float totalFlex = 0.0f; local
486 totalFlex += child->style()->boxFlex();
492 int projectedFlex = (allowedFlex == INT_MAX) ? allowedFlex : (int)(allowedFlex * (totalFlex / child->style()->boxFlex()));
498 if (!spaceAvailableThisPass || totalFlex == 0.0f) {
505 for (RenderBox* child = iterator.first(); child && spaceAvailableThisPass && totalFlex; child = iterator.next()) {
507 int spaceAdd = (int)(spaceAvailableThisPass * (child->style()->boxFlex()/totalFlex));
518 totalFlex -= child->style()->boxFlex();
728 // For a given pass, we always start off by computing the totalFlex o
732 float totalFlex = 0.0f; local
[all...]

Completed in 18 milliseconds