• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/rendering/

Lines Matching refs:multiplier

149     float multiplier = logicalClusterWidth / logicalWindowWidth;
150 multiplier *= m_document->settings()->textAutosizingFontScaleFactor();
151 return std::max(1.0f, multiplier);
154 void TextAutosizer::processClusterInternal(TextAutosizingClusterInfo& clusterInfo, RenderBlock* container, RenderObject* subtreeRoot, const TextAutosizingWindowInfo& windowInfo, float multiplier)
156 processContainer(multiplier, container, clusterInfo, subtreeRoot, windowInfo);
172 float multiplier = 1.0;
174 multiplier = clusterMultiplier(clusterInfo.root->style()->writingMode(), windowInfo, textWidth);
175 processClusterInternal(clusterInfo, container, subtreeRoot, windowInfo, multiplier);
190 float multiplier = 1.0;
192 multiplier = clusterMultiplier(clusterInfos[0].root->style()->writingMode(), windowInfo, maxTextWidth);
195 processClusterInternal(clusterInfos[i], clusterInfos[i].root, clusterInfos[i].root, windowInfo, multiplier);
199 void TextAutosizer::processContainer(float multiplier, RenderBlock* container, TextAutosizingClusterInfo& clusterInfo, RenderObject* subtreeRoot, const TextAutosizingWindowInfo& windowInfo)
203 float localMultiplier = containerShouldBeAutosized(container) ? multiplier: 1;
219 // Narrow descendants are processed together later to be able to apply the same multiplier
223 processContainer(multiplier, descendantBlock, clusterInfo, descendantBlock, windowInfo);
229 void TextAutosizer::setMultiplier(RenderObject* renderer, float multiplier)
232 newStyle->setTextAutosizingMultiplier(multiplier);
236 float TextAutosizer::computeAutosizedFontSize(float specifiedSize, float multiplier)
244 // multiplier; hence for specifiedSize == pleasantSize, computedSize will be
245 // multiplier * pleasantSize. For greater specifiedSizes we want to
246 // gradually fade out the multiplier, so for every 1px increase in
255 computedSize = multiplier * specifiedSize;
257 computedSize = multiplier * pleasantSize + gradientAfterPleasantSize * (specifiedSize - pleasantSize);
329 // want to enforce a uniform text size multiplier, in the hopes of making
332 // the same multiplier, except for subtrees which are themselves clusters,