/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | FontSize.h | 41 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 | 615 factor = computingFontSize ? style.fontDescription().specifiedSize() : style.fontDescription().computedSize(); 619 // We really need to compute EX using fontMetrics for the original specifiedSize and not use 624 factor = (computingFontSize ? style.fontDescription().specifiedSize() : style.fontDescription().computedSize()) / 2.0; 628 factor = computingFontSize ? rootStyle->fontDescription().specifiedSize() : rootStyle->fontDescription().computedSize();
|
H A D | CSSComputedStyleDeclaration.cpp | 1403 return zoomAdjustedPixelValue(floatValueForLength(length, style.fontDescription().specifiedSize()), style);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderListBox.cpp | 94 int specifiedSize = selectElement()->size(); local 95 if (specifiedSize >= 1) 96 return specifiedSize;
|
H A D | TextAutosizer.cpp | 1127 float TextAutosizer::computeAutosizedFontSize(float specifiedSize, float multiplier) argument 1134 // For specifiedSize between 0 and pleasantSize we directly apply the 1135 // multiplier; hence for specifiedSize == pleasantSize, computedSize will be 1138 // specifiedSize beyond pleasantSize we will only increase computedSize 1140 // computedSize = specifiedSize line, after which we stay on that line (so 1141 // then every 1px increase in specifiedSize increases computedSize by 1px). 1145 if (specifiedSize <= pleasantSize) { 1146 computedSize = multiplier * specifiedSize; 1148 computedSize = multiplier * pleasantSize + gradientAfterPleasantSize * (specifiedSize - pleasantSize); 1149 if (computedSize < specifiedSize) [all...] |
H A D | RenderEmbeddedObject.cpp | 171 fontDescription.setComputedSize(fontDescription.specifiedSize());
|
H A D | TextAutosizer.h | 60 static float computeAutosizedFontSize(float specifiedSize, float multiplier);
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | FontBuilder.cpp | 136 fontDescription.setComputedSize(getComputedSizeFromSpecifiedSize(fontDescription, effectiveZoom, fontDescription.specifiedSize())); 317 float specifiedSize = size.value; local 319 if (!specifiedSize && size.keyword) 320 specifiedSize = FontSize::fontSizeForKeyword(m_document, size.keyword, fontDescription.fixedPitchFontType()); 322 if (specifiedSize < 0) 327 specifiedSize = std::min(maximumAllowedFontSize, specifiedSize); 330 fontDescription.setSpecifiedSize(specifiedSize); 334 float FontBuilder::getComputedSizeFromSpecifiedSize(FontDescription& fontDescription, float effectiveZoom, float specifiedSize) argument 341 return FontSize::getComputedSizeFromSpecifiedSize(m_document, zoomFactor, fontDescription.isAbsoluteSize(), specifiedSize); [all...] |
H A D | FontBuilder.h | 106 float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebFontDescription.cpp | 42 size = desc.specifiedSize();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGInlineText.cpp | 236 fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(&document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | FontDescription.h | 121 float specifiedSize() const { return m_specifiedSize; } function in class:blink::FontDescription
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | RenderStyle.cpp | 1113 float RenderStyle::specifiedFontSize() const { return fontDescription().specifiedSize(); } 1208 // size must be specifiedSize if Text Autosizing is enabled, but computedSize if text
|
H A D | RenderStyle.h | 1122 setFontSize(fontDescription().specifiedSize());
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasRenderingContext2D.cpp | 1958 elementFontDescription.setComputedSize(elementFontDescription.specifiedSize());
|