OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hasInfiniteLineLength
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderFlexibleBox.h
124
LayoutUnit preferredMainAxisContentExtentForChild(RenderBox& child, bool
hasInfiniteLineLength
, bool relayoutChildren = false);
125
bool childPreferredMainAxisContentExtentRequiresLayout(RenderBox& child, bool
hasInfiniteLineLength
) const;
145
bool computeNextFlexLine(OrderedFlexItemList& orderedChildren, LayoutUnit& sumFlexBaseSize, double& totalFlexGrow, double& totalWeightedFlexShrink, LayoutUnit& sumHypotheticalMainSize, bool&
hasInfiniteLineLength
, bool relayoutChildren);
147
bool resolveFlexibleLengths(FlexSign, const OrderedFlexItemList&, LayoutUnit& availableFreeSpace, double& totalFlexGrow, double& totalWeightedFlexShrink, InflexibleFlexItemSize&, Vector<LayoutUnit, 16>& childSizes, bool
hasInfiniteLineLength
);
148
void freezeViolations(const Vector<Violation>&, LayoutUnit& availableFreeSpace, double& totalFlexGrow, double& totalWeightedFlexShrink, InflexibleFlexItemSize&, bool
hasInfiniteLineLength
);
154
void layoutAndPlaceChildren(LayoutUnit& crossAxisOffset, const OrderedFlexItemList&, const Vector<LayoutUnit, 16>& childSizes, LayoutUnit availableFreeSpace, bool relayoutChildren, Vector<LineContext>&, bool
hasInfiniteLineLength
);
RenderFlexibleBox.cpp
600
static inline bool preferredMainAxisExtentDependsOnLayout(const Length& flexBasis, bool
hasInfiniteLineLength
)
602
return flexBasis.isAuto() || (flexBasis.isPercent() &&
hasInfiniteLineLength
);
605
bool RenderFlexibleBox::childPreferredMainAxisContentExtentRequiresLayout(RenderBox& child, bool
hasInfiniteLineLength
) const
607
return preferredMainAxisExtentDependsOnLayout(flexBasisForChild(child),
hasInfiniteLineLength
) && hasOrthogonalFlow(child);
610
LayoutUnit RenderFlexibleBox::preferredMainAxisContentExtentForChild(RenderBox& child, bool
hasInfiniteLineLength
, bool relayoutChildren)
618
if (preferredMainAxisExtentDependsOnLayout(flexBasis,
hasInfiniteLineLength
)) {
650
bool
hasInfiniteLineLength
= false;
651
while (computeNextFlexLine(orderedChildren, sumFlexBaseSize, totalFlexGrow, totalWeightedFlexShrink, sumHypotheticalMainSize,
hasInfiniteLineLength
, relayoutChildren)) {
657
while (!resolveFlexibleLengths(flexSign, orderedChildren, availableFreeSpace, totalFlexGrow, totalWeightedFlexShrink, inflexibleItems, childSizes,
hasInfiniteLineLength
)) {
662
layoutAndPlaceChildren(crossAxisOffset, orderedChildren, childSizes, availableFreeSpace, relayoutChildren, lineContexts,
hasInfiniteLineLength
);
[
all
...]
Completed in 28 milliseconds