Lines Matching defs:clusterInfo

159     TextAutosizingClusterInfo clusterInfo(cluster);
160 processCluster(clusterInfo, container, layoutRoot, windowInfo);
176 void TextAutosizer::processClusterInternal(TextAutosizingClusterInfo& clusterInfo, RenderBlock* container, RenderObject* subtreeRoot, const TextAutosizingWindowInfo& windowInfo, float multiplier)
178 processContainer(multiplier, container, clusterInfo, subtreeRoot, windowInfo);
181 getNarrowDescendantsGroupedByWidth(clusterInfo, narrowDescendantsGroups);
186 void TextAutosizer::processCluster(TextAutosizingClusterInfo& clusterInfo, RenderBlock* container, RenderObject* subtreeRoot, const TextAutosizingWindowInfo& windowInfo)
192 clusterInfo.blockContainingAllText = findDeepestBlockContainingAllText(clusterInfo.root);
193 float textWidth = clusterInfo.blockContainingAllText->contentLogicalWidth();
195 if (clusterShouldBeAutosized(clusterInfo, textWidth))
196 multiplier = clusterMultiplier(clusterInfo.root->style()->writingMode(), windowInfo, textWidth);
197 processClusterInternal(clusterInfo, container, subtreeRoot, windowInfo, multiplier);
207 TextAutosizingClusterInfo& clusterInfo = clusterInfos[i];
208 clusterInfo.blockContainingAllText = findDeepestBlockContainingAllText(clusterInfo.root);
209 maxTextWidth = max<float>(maxTextWidth, clusterInfo.blockContainingAllText->contentLogicalWidth());
221 void TextAutosizer::processContainer(float multiplier, RenderBlock* container, TextAutosizingClusterInfo& clusterInfo, RenderObject* subtreeRoot, const TextAutosizingWindowInfo& windowInfo)
244 if (isWiderDescendant(descendantBlock, clusterInfo) || isIndependentDescendant(descendantBlock))
246 else if (isNarrowDescendant(descendantBlock, clusterInfo)) {
249 clusterInfo.narrowDescendants.append(descendantClusterInfo);
251 processContainer(multiplier, descendantBlock, clusterInfo, descendantBlock, windowInfo);
508 bool TextAutosizer::clusterShouldBeAutosized(TextAutosizingClusterInfo& clusterInfo, float blockWidth)
510 Vector<TextAutosizingClusterInfo> clusterInfos(1, clusterInfo);
544 void TextAutosizer::measureDescendantTextWidth(const RenderBlock* container, TextAutosizingClusterInfo& clusterInfo, float minTextWidth, float& textWidth)
554 if (!isAutosizingCluster(descendantBlock, clusterInfo))
555 measureDescendantTextWidth(descendantBlock, clusterInfo, minTextWidth, textWidth);