/external/webkit/WebCore/rendering/ |
D | RenderThemeChromiumMac.mm | 512 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 …]
|
D | RenderThemeMac.mm | 460 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 …]
|
D | RenderHTMLCanvas.cpp | 69 …Size zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effe… in canvasSizeChanged()
|
D | RenderImage.cpp | 242 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()
|
D | RenderTheme.cpp | 99 … 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()
|
D | RenderReplaced.cpp | 63 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()
|
D | RenderListMarker.cpp | 1143 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()
|
D | RenderVideo.cpp | 217 width = calcAspectRatioWidth() * style()->effectiveZoom(); in calcReplacedWidth() 231 height = calcAspectRatioHeight() * style()->effectiveZoom(); in calcReplacedHeight()
|
D | RenderBoxModelObject.cpp | 528 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()
|
D | RenderMediaControls.cpp | 80 float zoomLevel = o->style()->effectiveZoom(); in adjustMediaSliderThumbSize()
|
D | RenderBox.cpp | 173 … (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()
|
D | RenderView.cpp | 639 … 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()
|
D | RenderMediaControlsChromium.cpp | 297 float zoomLevel = object->style()->effectiveZoom(); in adjustMediaSliderThumbSize()
|
D | InlineFlowBox.cpp | 704 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()
|
D | RenderObject.h | 1018 float zoomFactor = renderer->style()->effectiveZoom(); in adjustForAbsoluteZoom() 1038 float zoomFactor = renderer->style()->effectiveZoom(); in adjustFloatPointForAbsoluteZoom()
|
D | RenderSlider.cpp | 243 m_maxPrefWidth = defaultTrackLength * style()->effectiveZoom(); in calcPrefWidths()
|
D | RenderObject.cpp | 674 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()
|
D | RenderMedia.cpp | 614 return width >= minWidthToDisplayTimeDisplays * style()->effectiveZoom(); in shouldShowTimeDisplayControls()
|
D | RenderLayer.cpp | 1463 float zoomFactor = renderer->style()->effectiveZoom(); in resize()
|
/external/webkit/WebCore/dom/ |
D | Element.cpp | 251 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/ |
D | CSSGradientValue.cpp | 76 float zoomFactor = renderer->style()->effectiveZoom(); in createGradient()
|
D | CSSStyleSelector.cpp | 1122 …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 …]
|
D | SVGCSSStyleSelector.cpp | 537 float zoomFactor = m_style->effectiveZoom(); in applySVGProperty()
|
/external/webkit/WebCore/rendering/style/ |
D | RenderStyle.h | 457 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/ |
D | ChangeLog-2009-06-16 | 58935 … (WebCore::RenderVideo::calcReplacedWidth): Multiply aspect ratio width by style()->effectiveZoom() 58936 …WebCore::RenderVideo::calcReplacedHeight): Multiply aspect ratio height by style()->effectiveZoom()
|