Home
last modified time | relevance | path

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

/external/webkit/WebCore/rendering/
DRenderThemeChromiumMac.mm512 if (style->appearance() == MenulistPart && style->effectiveZoom() != 1.0f)
537 float zoomLevel = o->style()->effectiveZoom();
692 if (style->effectiveZoom() != 1.0f) {
694 … return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
701 if (style->effectiveZoom() != 1.0f) {
703 … return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
726 fontDescription.setComputedSize([font pointSize] * style->effectiveZoom());
727 fontDescription.setSpecifiedSize([font pointSize] * style->effectiveZoom());
813 float zoomLevel = o->style()->effectiveZoom();
979 float leftEdge = bounds.right() - arrowPaddingRight * o->style()->effectiveZoom() - arrowWidth;
[all …]
DRenderThemeMac.mm460 if (style->appearance() == MenulistPart && style->effectiveZoom() != 1.0f)
485 float zoomLevel = o->style()->effectiveZoom();
621 if (style->effectiveZoom() != 1.0f) {
623 … return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
630 if (style->effectiveZoom() != 1.0f) {
632 … return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
655 fontDescription.setComputedSize([font pointSize] * style->effectiveZoom());
656 fontDescription.setSpecifiedSize([font pointSize] * style->effectiveZoom());
742 float zoomLevel = o->style()->effectiveZoom();
908 float leftEdge = bounds.right() - arrowPaddingRight * o->style()->effectiveZoom() - arrowWidth;
[all …]
DRenderHTMLCanvas.cpp69 …Size zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effe… in canvasSizeChanged()
DRenderImage.cpp242 imageWidth += newImage->image()->width() * style()->effectiveZoom(); in setImageSizeForAltText()
243 imageHeight += newImage->image()->height() * style()->effectiveZoom(); in setImageSizeForAltText()
281 if (imageSize(style()->effectiveZoom()) != intrinsicSize() || imageSizeChanged) { in imageChanged()
283 setIntrinsicSize(imageSize(style()->effectiveZoom())); in imageChanged()
522 float zoom = style()->effectiveZoom(); in nodeAtPoint()
596 width = imageSize(style()->effectiveZoom()).width(); in calcReplacedWidth()
625 height = imageSize(style()->effectiveZoom()).height(); in calcReplacedHeight()
DRenderTheme.cpp99 … borderBox = m_theme->controlBorder(part, style->font(), borderBox, style->effectiveZoom()); in adjustStyle()
128 …ingBox = m_theme->controlPadding(part, style->font(), style->paddingBox(), style->effectiveZoom()); in adjustStyle()
139 …trolSize(part, style->font(), LengthSize(style->width(), style->height()), style->effectiveZoom()); in adjustStyle()
146 …ngthSize minControlSize = m_theme->minimumControlSize(part, style->font(), style->effectiveZoom()); in adjustStyle()
153 … FontDescription controlFont = m_theme->controlFont(part, style->font(), style->effectiveZoom()); in adjustStyle()
247 …r(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->… in paint()
583 …op() + m_theme->baselinePositionAdjustment(o->style()->appearance()) * o->style()->effectiveZoom(); in baselinePosition()
622 …olPaintRect(o->style()->appearance(), controlStatesForRenderer(o), r, o->style()->effectiveZoom()); in adjustRepaintRect()
DRenderReplaced.cpp63 float oldZoom = hadStyle ? oldStyle->effectiveZoom() : RenderStyle::initialZoom(); in styleDidChange()
64 if (style() && style()->effectiveZoom() != oldZoom) in styleDidChange()
89 int scaledWidth = static_cast<int>(cDefaultWidth * style()->effectiveZoom()); in intrinsicSizeChanged()
90 int scaledHeight = static_cast<int>(cDefaultHeight * style()->effectiveZoom()); in intrinsicSizeChanged()
DRenderListMarker.cpp1143 setWidth(m_image->imageSize(this, style()->effectiveZoom()).width()); in layout()
1144 setHeight(m_image->imageSize(this, style()->effectiveZoom()).height()); in layout()
1168 …_image->imageSize(this, style()->effectiveZoom()).width() || height() != m_image->imageSize(this, … in imageChanged()
1187 … m_minPrefWidth = m_maxPrefWidth = m_image->imageSize(this, style()->effectiveZoom()).width(); in calcPrefWidths()
1392 … y(), m_image->imageSize(this, style()->effectiveZoom()).width(), m_image->imageSize(this, style()… in getRelativeMarkerRect()
DRenderVideo.cpp217 width = calcAspectRatioWidth() * style()->effectiveZoom(); in calcReplacedWidth()
231 height = calcAspectRatioHeight() * style()->effectiveZoom(); in calcReplacedHeight()
DRenderBoxModelObject.cpp528 bool shouldPaintBackgroundImage = bg && bg->canRender(style()->effectiveZoom()); in paintFillLayerExtended()
651 …w = image->imageSize(this, style()->effectiveZoom()).width() * h / image->imageSize(this, style()-… in calculateFillTileSize()
653 …h = image->imageSize(this, style()->effectiveZoom()).height() * w / image->imageSize(this, style()… in calculateFillTileSize()
657 w = image->imageSize(this, style()->effectiveZoom()).width(); in calculateFillTileSize()
658 h = image->imageSize(this, style()->effectiveZoom()).height(); in calculateFillTileSize()
675 return image->imageSize(this, style()->effectiveZoom()); in calculateFillTileSize()
815 if (!styleImage->canRender(style->effectiveZoom())) in paintNinePieceImage()
DRenderMediaControls.cpp80 float zoomLevel = o->style()->effectiveZoom(); in adjustMediaSliderThumbSize()
DRenderBox.cpp173 … (hasOverflowClip() && oldStyle && style() && oldStyle->effectiveZoom() != style()->effectiveZoom(… in styleDidChange()
176 left = (left / oldStyle->effectiveZoom()) * style()->effectiveZoom(); in styleDidChange()
181 top = (top / oldStyle->effectiveZoom()) * style()->effectiveZoom(); in styleDidChange()
709 … if (fillLayer->hasImage() && fillLayer->image()->canRender(style()->effectiveZoom())) { in paintMaskImages()
789 … && image == curLayer->image()->data() && curLayer->image()->canRender(style()->effectiveZoom())) { in repaintLayerRectsForImage()
DRenderView.cpp639 … height = m_frameView->useFixedLayout() ? ceilf(style()->effectiveZoom() * float(height)) : height; in viewHeight()
649 … width = m_frameView->useFixedLayout() ? ceilf(style()->effectiveZoom() * float(width)) : width; in viewWidth()
DRenderMediaControlsChromium.cpp297 float zoomLevel = object->style()->effectiveZoom(); in adjustMediaSliderThumbSize()
DInlineFlowBox.cpp704 bool hasFillImage = img && img->canRender(renderer()->style()->effectiveZoom()); in paintFillLayer()
784 … bool hasBorderImage = borderImage && borderImage->canRender(styleToUse->effectiveZoom()); in paintBoxDecorations()
861 … bool hasBoxImage = maskBoxImage && maskBoxImage->canRender(renderer()->style()->effectiveZoom()); in paintMask()
DRenderObject.h1018 float zoomFactor = renderer->style()->effectiveZoom(); in adjustForAbsoluteZoom()
1038 float zoomFactor = renderer->style()->effectiveZoom(); in adjustFloatPointForAbsoluteZoom()
DRenderSlider.cpp243 m_maxPrefWidth = defaultTrackLength * style()->effectiveZoom(); in calcPrefWidths()
DRenderObject.cpp674 if (!img || !img->canRender(renderer->style()->effectiveZoom())) in mustRepaintFillLayers()
705 … bool shouldPaintBorderImage = borderImage && borderImage->canRender(style()->effectiveZoom()); in mustRepaintBackgroundOrBorder()
2438 float currZoom = style()->effectiveZoom(); in offsetParent()
2458 float newZoom = curr->style()->effectiveZoom(); in offsetParent()
DRenderMedia.cpp614 return width >= minWidthToDisplayTimeDisplays * style()->effectiveZoom(); in shouldShowTimeDisplayControls()
DRenderLayer.cpp1463 float zoomFactor = renderer->style()->effectiveZoom(); in resize()
/external/webkit/WebCore/dom/
DElement.cpp251 if (renderer->style()->effectiveZoom() != 1.0f) { in localZoomForRenderer()
256 if (curr->style()->effectiveZoom() != prev->style()->effectiveZoom()) { in localZoomForRenderer()
399 rend->setScrollLeft(static_cast<int>(newLeft * rend->style()->effectiveZoom())); in setScrollLeft()
406 rend->setScrollTop(static_cast<int>(newTop * rend->style()->effectiveZoom())); in setScrollTop()
/external/webkit/WebCore/css/
DCSSGradientValue.cpp76 float zoomFactor = renderer->style()->effectiveZoom(); in createGradient()
DCSSStyleSelector.cpp1122 …omSpecifiedSize(document, fontDescription.isAbsoluteSize(), size, documentStyle->effectiveZoom())); in styleForDocument()
1500 const int intrinsicMargin = 2 * style->effectiveZoom(); in addIntrinsicMargins()
2984 float zoomFactor = m_style->effectiveZoom(); in applyProperty()
4037 double multiplier = m_style->effectiveZoom(); in applyProperty()
4323 …m_style->setEffectiveZoom(m_parentStyle ? m_parentStyle->effectiveZoom() : RenderStyle::initialZoo… in applyProperty()
4519 …ent, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), m_style->effectiveZoom())); in applyProperty()
5538 float zoomFactor = m_style->effectiveZoom(); in mapFillSize()
5573 float zoomFactor = m_style->effectiveZoom(); in mapFillXPosition()
5597 float zoomFactor = m_style->effectiveZoom(); in mapFillYPosition()
5821 if (style->effectiveZoom() == parentStyle->effectiveZoom()) in checkForZoomChange()
[all …]
DSVGCSSStyleSelector.cpp537 float zoomFactor = m_style->effectiveZoom(); in applySVGProperty()
/external/webkit/WebCore/rendering/style/
DRenderStyle.h457 float effectiveZoom() const { return inherited->m_effectiveZoom; } in effectiveZoom() function
852 … void setZoom(float f) { SET_VAR(visual, m_zoom, f); setEffectiveZoom(effectiveZoom() * zoom()); } in setZoom()
/external/webkit/WebCore/
DChangeLog-2009-06-1658935 … (WebCore::RenderVideo::calcReplacedWidth): Multiply aspect ratio width by style()->effectiveZoom()
58936 …WebCore::RenderVideo::calcReplacedHeight): Multiply aspect ratio height by style()->effectiveZoom()