Searched refs:specifiedSize (Results 1 - 15 of 15) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | FontSize.h | 38 static float getComputedSizeFromSpecifiedSize(const Document*, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize = UseSmartMinimumForFontFize);
|
H A D | FontSize.cpp | 38 float FontSize::getComputedSizeFromSpecifiedSize(const Document* document, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize useSmartMinimumForFontSize) argument 44 if (fabsf(specifiedSize) < std::numeric_limits<float>::epsilon()) 63 float zoomedSize = specifiedSize * zoomFactor; 73 if (useSmartMinimumForFontSize && zoomedSize < minLogicalSize && (specifiedSize >= minLogicalSize || !isAbsoluteSize))
|
H A D | CSSPrimitiveValue.cpp | 537 factor = computingFontSize ? style->fontDescription().specifiedSize() : style->fontDescription().computedSize(); 541 // We really need to compute EX using fontMetrics for the original specifiedSize and not use 546 factor = (computingFontSize ? style->fontDescription().specifiedSize() : style->fontDescription().computedSize()) / 2.0; 550 factor = computingFontSize ? rootStyle->fontDescription().specifiedSize() : rootStyle->fontDescription().computedSize();
|
H A D | CSSComputedStyleDeclaration.cpp | 1455 return zoomAdjustedPixelValue(static_cast<int>(length.percent() * style->fontDescription().specifiedSize()) / 100, style);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebFontDescription.cpp | 45 size = desc.specifiedSize();
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | FontBuilder.h | 102 float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
|
H A D | FontBuilder.cpp | 138 fontDescription.setComputedSize(getComputedSizeFromSpecifiedSize(fontDescription, effectiveZoom, fontDescription.specifiedSize())); 265 float size = parentFontDescription.specifiedSize(); 303 parentSize = parentStyle->fontDescription().specifiedSize(); 520 float FontBuilder::getComputedSizeFromSpecifiedSize(FontDescription& fontDescription, float effectiveZoom, float specifiedSize) argument 530 return FontSize::getComputedSizeFromSpecifiedSize(m_document, zoomFactor, fontDescription.isAbsoluteSize(), specifiedSize); 616 scope.fontDescription().specifiedSize() / fixedScaleFactor : 617 scope.fontDescription().specifiedSize() * fixedScaleFactor; 630 setSize(scope.fontDescription(), style->effectiveZoom(), scope.fontDescription().specifiedSize());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | TextAutosizer.h | 54 static float computeAutosizedFontSize(float specifiedSize, float multiplier);
|
H A D | TextAutosizer.cpp | 281 float TextAutosizer::computeAutosizedFontSize(float specifiedSize, float multiplier) argument 288 // For specifiedSize between 0 and pleasantSize we directly apply the 289 // multiplier; hence for specifiedSize == pleasantSize, computedSize will be 292 // specifiedSize beyond pleasantSize we will only increase computedSize 294 // computedSize = specifiedSize line, after which we stay on that line (so 295 // then every 1px increase in specifiedSize increases computedSize by 1px). 299 if (specifiedSize <= pleasantSize) 300 computedSize = multiplier * specifiedSize; 302 computedSize = multiplier * pleasantSize + gradientAfterPleasantSize * (specifiedSize - pleasantSize); 303 if (computedSize < specifiedSize) [all...] |
H A D | RenderEmbeddedObject.cpp | 191 fontDescription.setComputedSize(fontDescription.specifiedSize());
|
H A D | RenderListBox.cpp | 243 int specifiedSize = selectElement()->size(); local 244 if (specifiedSize > 1) 245 return max(minSize, specifiedSize);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
H A D | FontDescription.h | 107 float specifiedSize() const { return m_specifiedSize; } function in class:WebCore::FontDescription
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGInlineText.cpp | 242 fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize));
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | RenderStyle.cpp | 1148 float RenderStyle::specifiedFontSize() const { return fontDescription().specifiedSize(); } 1202 // size must be specifiedSize if Text Autosizing is enabled, but computedSize if text
|
H A D | RenderStyle.h | 1035 setFontSize(fontDescription().specifiedSize());
|
Completed in 627 milliseconds