Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/rendering/
DRenderHTMLCanvas.cpp74 …Size zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effe… in canvasSizeChanged()
DRenderImage.cpp98 …mage->image()->width() * style()->effectiveZoom(), paddingHeight + newImage->image()->height() * s… in imageSizeForError()
173 … if (m_imageResource->imageSize(style()->effectiveZoom()) != intrinsicSize() || imageSizeChanged) { in imageDimensionsChanged()
175 setIntrinsicSize(m_imageResource->imageSize(style()->effectiveZoom())); in imageDimensionsChanged()
419 float zoom = style()->effectiveZoom(); in nodeAtPoint()
493 IntSize size = m_imageResource->imageSize(style()->effectiveZoom()); in computeReplacedLogicalWidth()
523 IntSize size = m_imageResource->imageSize(style()->effectiveZoom()); in computeReplacedLogicalHeight()
DRenderThemeMac.mm495 if (style->appearance() == MenulistPart && style->effectiveZoom() != 1.0f)
521 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());
691 fontDescription.setComputedSize([font pointSize] * style->effectiveZoom());
692 fontDescription.setSpecifiedSize([font pointSize] * style->effectiveZoom());
779 float zoomLevel = o->style()->effectiveZoom();
1099 float leftEdge = bounds.maxX() - arrowPaddingRight * o->style()->effectiveZoom() - arrowWidth;
[all …]
DRenderMediaControls.cpp76 float zoomLevel = o->style()->effectiveZoom(); in getUnzoomedRectAndAdjustCurrentContext()
101 float zoomLevel = o->style()->effectiveZoom(); in adjustMediaSliderThumbSize()
188 float zoomLevel = muteButtonBox->style()->effectiveZoom(); in volumeSliderOffsetFromMuteButton()
DRenderReplaced.cpp73 float oldZoom = hadStyle ? oldStyle->effectiveZoom() : RenderStyle::initialZoom(); in styleDidChange()
74 if (style() && style()->effectiveZoom() != oldZoom) in styleDidChange()
99 int scaledWidth = static_cast<int>(cDefaultWidth * style()->effectiveZoom()); in intrinsicSizeChanged()
100 int scaledHeight = static_cast<int>(cDefaultHeight * style()->effectiveZoom()); in intrinsicSizeChanged()
DRenderTheme.cpp111 … borderBox = m_theme->controlBorder(part, style->font(), borderBox, style->effectiveZoom()); in adjustStyle()
140 …ingBox = m_theme->controlPadding(part, style->font(), style->paddingBox(), style->effectiveZoom()); in adjustStyle()
151 …trolSize(part, style->font(), LengthSize(style->width(), style->height()), style->effectiveZoom()); in adjustStyle()
158 …ngthSize minControlSize = m_theme->minimumControlSize(part, style->font(), style->effectiveZoom()); in adjustStyle()
165 … FontDescription controlFont = m_theme->controlFont(part, style->font(), style->effectiveZoom()); in adjustStyle()
275 …r(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->… in paint()
637 …op() + m_theme->baselinePositionAdjustment(o->style()->appearance()) * o->style()->effectiveZoom(); in baselinePosition()
682 …olPaintRect(o->style()->appearance(), controlStatesForRenderer(o), r, o->style()->effectiveZoom()); in adjustRepaintRect()
DRenderListMarker.cpp1310 setWidth(m_image->imageSize(this, style()->effectiveZoom()).width()); in layout()
1311 setHeight(m_image->imageSize(this, style()->effectiveZoom()).height()); in layout()
1336 …_image->imageSize(this, style()->effectiveZoom()).width() || height() != m_image->imageSize(this, … in imageChanged()
1356 IntSize imageSize = m_image->imageSize(this, style()->effectiveZoom()); in computePreferredLogicalWidths()
1580 …0, 0, m_image->imageSize(this, style()->effectiveZoom()).width(), m_image->imageSize(this, style()… in getRelativeMarkerRect()
DRenderSlider.cpp81 m_maxPreferredLogicalWidth = defaultTrackLength * style()->effectiveZoom(); in computePreferredLogicalWidths()
DRenderVideo.cpp84 size.scale(style()->effectiveZoom()); in updateIntrinsicSize()
DRenderBox.cpp316 … (hasOverflowClip() && oldStyle && style() && oldStyle->effectiveZoom() != style()->effectiveZoom(… in styleDidChange()
318 left = (left / oldStyle->effectiveZoom()) * style()->effectiveZoom(); in styleDidChange()
322 top = (top / oldStyle->effectiveZoom()) * style()->effectiveZoom(); in styleDidChange()
919 … if (fillLayer->hasImage() && fillLayer->image()->canRender(style()->effectiveZoom())) { in paintMaskImages()
1017 … && image == curLayer->image()->data() && curLayer->image()->canRender(style()->effectiveZoom())) { in repaintLayerRectsForImage()
DRenderMediaControlsChromium.cpp294 float zoomLevel = object->style()->effectiveZoom(); in adjustMediaSliderThumbSize()
DRenderView.cpp704 … height = m_frameView->useFixedLayout() ? ceilf(style()->effectiveZoom() * float(height)) : height; in viewHeight()
714 … width = m_frameView->useFixedLayout() ? ceilf(style()->effectiveZoom() * float(width)) : width; in viewWidth()
DRenderBoxModelObject.cpp591 bool shouldPaintBackgroundImage = bgImage && bgImage->canRender(style()->effectiveZoom()); in paintFillLayerExtended()
809 IntSize imageIntrinsicSize = image->imageSize(this, style()->effectiveZoom()); in calculateFillTileSize()
813 IntSize imageIntrinsicSize = image->imageSize(this, style()->effectiveZoom()); in calculateFillTileSize()
818 IntSize imageIntrinsicSize = image->imageSize(this, style()->effectiveZoom()); in calculateFillTileSize()
839 return image->imageSize(this, style()->effectiveZoom()); in calculateFillTileSize()
935 if (!styleImage->canRender(style->effectiveZoom())) in paintNinePieceImage()
DInlineFlowBox.cpp1030 bool hasFillImage = img && img->canRender(renderer()->style()->effectiveZoom()); in paintFillLayer()
1123 … bool hasBorderImage = borderImage && borderImage->canRender(styleToUse->effectiveZoom()); in paintBoxDecorations()
1209 … bool hasBoxImage = maskBoxImage && maskBoxImage->canRender(renderer()->style()->effectiveZoom()); in paintMask()
DRenderObject.cpp668 if (!img || !img->canRender(renderer->style()->effectiveZoom())) in mustRepaintFillLayers()
699 … bool shouldPaintBorderImage = borderImage && borderImage->canRender(style()->effectiveZoom()); in mustRepaintBackgroundOrBorder()
2526 float currZoom = style()->effectiveZoom(); in offsetParent()
2545 float newZoom = curr->style()->effectiveZoom(); in offsetParent()
DRenderObject.h1079 float zoomFactor = renderer->style()->effectiveZoom(); in adjustFloatPointForAbsoluteZoom()
DRenderLayer.cpp1655 float zoomFactor = renderer->style()->effectiveZoom(); in scrollTo()
/external/webkit/Source/WebCore/rendering/mathml/
DRenderMathMLSubSup.cpp195 float zoomFactor = style()->effectiveZoom(); in baselinePosition()
DRenderMathMLUnderOver.cpp275 float zoomFactor = style()->effectiveZoom(); in baselinePosition()
/external/webkit/Source/WebCore/css/
DCSSGradientValue.cpp162 … float length = stop.m_position->computeLengthFloat(style, rootStyle, style->effectiveZoom()); in addStops()
367 float zoomFactor = style->effectiveZoom(); in positionFromValue()
632 float zoomFactor = style->effectiveZoom(); in resolveRadius()
DCSSStyleSelector.cpp1760 const int intrinsicMargin = 2 * style->effectiveZoom(); in addIntrinsicMargins()
3557 float zoomFactor = m_style->effectiveZoom(); in applyProperty()
4765 …m_style->setEffectiveZoom(m_parentStyle ? m_parentStyle->effectiveZoom() : RenderStyle::initialZoo… in applyProperty()
6397 float zoomFactor = m_style->effectiveZoom(); in mapFillSize()
6432 float zoomFactor = m_style->effectiveZoom(); in mapFillXPosition()
6456 float zoomFactor = m_style->effectiveZoom(); in mapFillYPosition()
6749 if (style->effectiveZoom() == parentStyle->effectiveZoom()) in checkForZoomChange()
6815 zoomFactor = style->effectiveZoom(); in getComputedSizeFromSpecifiedSize()
7093 float zoomFactor = style ? style->effectiveZoom() : 1; in createTransformOperations()
DCSSComputedStyleDeclaration.cpp365 …return primitiveValueCache->createValue(value / style->effectiveZoom(), CSSPrimitiveValue::CSS_NUM… in zoomAdjustedNumberValue()
/external/webkit/Source/WebCore/dom/
DElement.cpp330 if (renderer->style()->effectiveZoom() != 1) { in localZoomForRenderer()
335 if (curr->style()->effectiveZoom() != prev->style()->effectiveZoom()) { in localZoomForRenderer()
478 rend->setScrollLeft(static_cast<int>(newLeft * rend->style()->effectiveZoom())); in setScrollLeft()
485 rend->setScrollTop(static_cast<int>(newTop * rend->style()->effectiveZoom())); in setScrollTop()
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.h491 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } in effectiveZoom() function
939 … void setZoom(float f) { SET_VAR(visual, m_zoom, f); setEffectiveZoom(effectiveZoom() * zoom()); } in setZoom()
1372 double zoomFactor = style->effectiveZoom(); in adjustForAbsoluteZoom()
1388 return value / style->effectiveZoom(); in adjustFloatForAbsoluteZoom()
/external/webkit/Source/WebCore/platform/qt/
DRenderThemeQt.cpp481 checkBoxWidth *= renderStyle->effectiveZoom(); in computeSizeBasedOnStyle()
489 radioWidth *= renderStyle->effectiveZoom(); in computeSizeBasedOnStyle()

12