Searched refs:effectiveZoom (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutEngineSpacing.h33 SVGTextLayoutEngineSpacing(const Font&, float effectiveZoom);
H A DSVGTextLayoutEngineSpacing.cpp36 SVGTextLayoutEngineSpacing::SVGTextLayoutEngineSpacing(const Font& font, float effectiveZoom) argument
39 , m_effectiveZoom(effectiveZoom)
H A DRenderSVGImage.cpp102 LayoutSize intrinsicSize = m_imageResource->intrinsicSize(style()->effectiveZoom());
103 if (intrinsicSize != m_imageResource->imageSize(style()->effectiveZoom())) {
H A DRenderSVGRoot.cpp140 return resolveLengthAttributeForSVG(svg->intrinsicWidth(), style()->effectiveZoom(), containingBlock()->availableLogicalWidth().toFloat());
162 return resolveLengthAttributeForSVG(svg->intrinsicHeight(), style()->effectiveZoom(), containingBlock()->availableLogicalHeight(IncludeMarginBorderPadding).toFloat());
321 float scale = style()->effectiveZoom();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderHTMLCanvas.cpp61 LayoutSize zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effectiveZoom());
H A DRenderImageResourceStyleImage.cpp75 m_styleImage->setContainerSizeForRenderer(m_renderer, size, m_renderer->style()->effectiveZoom());
H A DRenderThemeChromiumMac.mm511 if (style->appearance() == MenulistPart && style->effectiveZoom() != 1.0f)
514 if (style->appearance() == SearchFieldPart && style->effectiveZoom() != 1)
540 float zoomLevel = o->style()->effectiveZoom();
657 if (style->effectiveZoom() != 1.0f) {
659 return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
666 if (style->effectiveZoom() != 1.0f) {
668 return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
692 fontDescription.setComputedSize([font pointSize] * style->effectiveZoom());
[all...]
H A DRenderImageResource.cpp96 m_cachedImage->setContainerSizeForRenderer(m_renderer, imageContainerSize, m_renderer->style()->effectiveZoom());
H A DRenderTheme.cpp128 borderBox = m_platformTheme->controlBorder(part, style->font().fontDescription(), borderBox, style->effectiveZoom());
157 LengthBox paddingBox = m_platformTheme->controlPadding(part, style->font().fontDescription(), style->paddingBox(), style->effectiveZoom());
168 LengthSize controlSize = m_platformTheme->controlSize(part, style->font().fontDescription(), LengthSize(style->width(), style->height()), style->effectiveZoom());
175 LengthSize minControlSize = m_platformTheme->minimumControlSize(part, style->font().fontDescription(), style->effectiveZoom());
182 FontDescription controlFont = m_platformTheme->controlFont(part, style->font().fontDescription(), style->effectiveZoom());
246 m_platformTheme->paint(part, controlStatesForRenderer(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->frameView());
534 return box->height() + box->marginTop() + m_platformTheme->baselinePositionAdjustment(o->style()->appearance()) * o->style()->effectiveZoom();
596 m_platformTheme->inflateControlPaintRect(o->style()->appearance(), controlStatesForRenderer(o), r, o->style()->effectiveZoom());
849 float zoomFactor = o->style()->effectiveZoom();
1133 float zoomLevel = o->style()->effectiveZoom();
[all...]
H A DRenderSlider.cpp58 maxLogicalWidth = defaultTrackLength * style()->effectiveZoom();
H A DRenderImage.cpp113 return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style()->effectiveZoom());
197 LayoutSize newIntrinsicSize = m_imageResource->intrinsicSize(style()->effectiveZoom());
237 const LayoutSize imageSizeWithoutZoom = m_imageResource->imageSize(1 / style()->effectiveZoom());
365 float scaleFactor = 1 / style()->effectiveZoom();
H A DRenderThemeChromiumDefault.cpp212 float zoomLevel = useMockTheme() ? 1 : style->effectiveZoom();
252 float zoomLevel = o->style()->effectiveZoom();
275 float zoomLevel = style->effectiveZoom();
298 float zoomLevel = style->effectiveZoom();
427 float zoomLevel = useMockTheme() ? 1 : o->style()->effectiveZoom();
452 float zoomLevel = useMockTheme() ? 1 : o->style()->effectiveZoom();
519 return style->effectiveZoom() != 1;
H A DRenderSliderContainer.cpp80 float zoomFactor = style()->effectiveZoom();
H A DRenderReplaced.cpp73 float oldZoom = hadStyle ? oldStyle->effectiveZoom() : RenderStyle::initialZoom();
74 if (style() && style()->effectiveZoom() != oldZoom)
102 int scaledWidth = static_cast<int>(defaultWidth * style()->effectiveZoom());
103 int scaledHeight = static_cast<int>(defaultHeight * style()->effectiveZoom());
251 intrinsicSize.scale(style()->effectiveZoom());
H A DRenderVideo.cpp70 size.scale(style()->effectiveZoom());
H A DRenderListMarker.cpp1140 setWidth(m_image->imageSize(this, style()->effectiveZoom()).width());
1141 setHeight(m_image->imageSize(this, style()->effectiveZoom()).height());
1166 if (width() != m_image->imageSize(this, style()->effectiveZoom()).width() || height() != m_image->imageSize(this, style()->effectiveZoom()).height() || m_image->errorOccurred())
1193 m_image->setContainerSizeForRenderer(this, imageSize, style()->effectiveZoom());
1294 LayoutSize imageSize = m_image->imageSize(this, style()->effectiveZoom());
1499 return IntRect(0, 0, m_image->imageSize(this, style()->effectiveZoom()).width(), m_image->imageSize(this, style()->effectiveZoom()).height());
H A DFilterEffectRenderer.cpp92 float invZoom = style ? 1.0f / style->effectiveZoom() : 1.0f;
315 float zoom = style ? style->effectiveZoom() : 1.0f;
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DFontBuilder.h49 void setInitial(float effectiveZoom);
54 void fromSystemFont(CSSValueID, float effectiveZoom);
106 float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
H A DFontBuilder.cpp93 void FontBuilder::setInitial(float effectiveZoom) argument
118 void FontBuilder::fromSystemFont(CSSValueID valueId, float effectiveZoom) argument
136 fontDescription.setComputedSize(getComputedSizeFromSpecifiedSize(fontDescription, effectiveZoom, fontDescription.specifiedSize()));
334 float FontBuilder::getComputedSizeFromSpecifiedSize(FontDescription& fontDescription, float effectiveZoom, float specifiedSize) argument
336 float zoomFactor = effectiveZoom;
443 float computedSize = getComputedSizeFromSpecifiedSize(fontDescription, style->effectiveZoom(), fontDescription.specifiedSize());
H A DStyleBuilderConverter.h113 if (state.style()->effectiveZoom() < 1.0f && result < 1.0) {
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSToLengthConversionData.cpp76 return m_style ? m_style->effectiveZoom() : 1;
H A DCSSValuePool.cpp125 return CSSPrimitiveValue::create(value, style.effectiveZoom());
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DInlineFlowBoxPainter.cpp99 bool hasFillImage = img && img->canRender(m_inlineFlowBox.renderer(), m_inlineFlowBox.renderer().style()->effectiveZoom());
218 bool hasBorderImage = borderImageSource && borderImageSource->canRender(m_inlineFlowBox.renderer(), styleToUse->effectiveZoom());
289 bool hasBoxImage = maskBoxImage && maskBoxImage->canRender(m_inlineFlowBox.renderer(), m_inlineFlowBox.renderer().style()->effectiveZoom());
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGSVGElement.cpp500 zoomFactor = 1 / renderer->style()->effectiveZoom();
636 return FloatSize(contentBoxRect.width() / renderer()->style()->effectiveZoom(), contentBoxRect.height() / renderer()->style()->effectiveZoom());
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLBodyElement.cpp256 render->setScrollLeft(static_cast<int>(scrollLeft * render->style()->effectiveZoom()));
303 render->setScrollTop(static_cast<int>(scrollTop * render->style()->effectiveZoom()));

Completed in 2107 milliseconds

12