Searched refs:specifiedSize (Results 1 - 16 of 16) sorted by last modified time

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDescription.h121 float specifiedSize() const { return m_specifiedSize; } function in class:blink::FontDescription
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontDescription.cpp42 size = desc.specifiedSize();
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSComputedStyleDeclaration.cpp1403 return zoomAdjustedPixelValue(floatValueForLength(length, style.fontDescription().specifiedSize()), style);
H A DCSSPrimitiveValue.cpp615 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 DFontSize.cpp38 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 DFontSize.h41 static float getComputedSizeFromSpecifiedSize(const Document*, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize = UseSmartMinimumForFontFize);
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DFontBuilder.cpp136 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 DFontBuilder.h106 float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp1958 elementFontDescription.setComputedSize(elementFontDescription.specifiedSize());
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderEmbeddedObject.cpp171 fontDescription.setComputedSize(fontDescription.specifiedSize());
H A DRenderListBox.cpp94 int specifiedSize = selectElement()->size(); local
95 if (specifiedSize >= 1)
96 return specifiedSize;
H A DTextAutosizer.cpp1127 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 DTextAutosizer.h60 static float computeAutosizedFontSize(float specifiedSize, float multiplier);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp1113 float RenderStyle::specifiedFontSize() const { return fontDescription().specifiedSize(); }
1208 // size must be specifiedSize if Text Autosizing is enabled, but computedSize if text
H A DRenderStyle.h1122 setFontSize(fontDescription().specifiedSize());
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGInlineText.cpp236 fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(&document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize));

Completed in 2221 milliseconds