Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DFontBuilder.h47 void setInitial(float effectiveZoom);
52 void fromSystemFont(CSSValueID, float effectiveZoom);
54 void setFontFamilyInitial(float effectiveZoom);
56 void setFontFamilyValue(CSSValue*, float effectiveZoom);
58 void setFontSizeInitial(float effectiveZoom);
59 void setFontSizeInherit(const FontDescription&, float effectiveZoom);
60 …lue(CSSValue*, RenderStyle* parentStyle, const RenderStyle* rootElementStyle, float effectiveZoom);
95 void setSize(FontDescription&, float effectiveZoom, float size);
101 …float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
DFontBuilder.cpp81 void FontBuilder::setInitial(float effectiveZoom) in setInitial() argument
98 …setSize(scope.fontDescription(), effectiveZoom, FontSize::fontSizeForKeyword(m_document, CSSValueM… in setInitial()
113 void FontBuilder::fromSystemFont(CSSValueID valueId, float effectiveZoom) in fromSystemFont() argument
132 …fontDescription.setComputedSize(getComputedSizeFromSpecifiedSize(fontDescription, effectiveZoom, f… in fromSystemFont()
136 void FontBuilder::setFontFamilyInitial(float effectiveZoom) in setFontFamilyInitial() argument
144 …setSize(scope.fontDescription(), effectiveZoom, FontSize::fontSizeForKeyword(m_document, CSSValueX… in setFontFamilyInitial()
160 void FontBuilder::setFontFamilyValue(CSSValue* value, float effectiveZoom) in setFontFamilyValue() argument
239 …setSize(scope.fontDescription(), effectiveZoom, FontSize::fontSizeForKeyword(m_document, CSSValueX… in setFontFamilyValue()
242 void FontBuilder::setFontSizeInitial(float effectiveZoom) in setFontSizeInitial() argument
252 setSize(scope.fontDescription(), effectiveZoom, size); in setFontSizeInitial()
[all …]
DStyleBuilderConverter.h82 if (state.style()->effectiveZoom() < 1.0f && result < 1.0) { in convertLineWidth()
DStyleBuilderCustom.cpp206 state.fontBuilder().setFontFamilyInitial(state.style()->effectiveZoom()); in applyInitialCSSPropertyFontFamily()
216 state.fontBuilder().setFontFamilyValue(value, state.style()->effectiveZoom()); in applyValueCSSPropertyFontFamily()
221 state.fontBuilder().setFontSizeInitial(state.style()->effectiveZoom()); in applyInitialCSSPropertyFontSize()
226 …te.fontBuilder().setFontSizeInherit(state.parentFontDescription(), state.style()->effectiveZoom()); in applyInheritCSSPropertyFontSize()
231 …ontSizeValue(value, state.parentStyle(), state.rootElementStyle(), state.style()->effectiveZoom()); in applyValueCSSPropertyFontSize()
275 float multiplier = state.style()->effectiveZoom(); in applyValueCSSPropertyLineHeight()
286 double multiplier = state.style()->effectiveZoom(); in applyValueCSSPropertyLineHeight()
579 …state.setEffectiveZoom(state.parentStyle() ? state.parentStyle()->effectiveZoom() : RenderStyle::i… in resetEffectiveZoom()
1336 … state.fontBuilder().fromSystemFont(primitiveValue->getValueID(), state.style()->effectiveZoom()); in oldApplyProperty()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSCalculationValueTest.cpp51 style->effectiveZoom()).get())); in testExpression()
61 actual = CSSCalcValue::createExpressionNode(Length(10, WebCore::Fixed), style->effectiveZoom()); in TEST()
75 style->effectiveZoom()); in TEST()
89 style->effectiveZoom()); in TEST()
106 style->effectiveZoom()); in TEST()
DCSSToLengthConversionData.cpp41 return m_style ? m_style->effectiveZoom() : 1; in zoom()
DCSSValuePool.cpp120 return CSSPrimitiveValue::create(value, style.effectiveZoom()); in createValue()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderHTMLCanvas.cpp82 …Size zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effe… in canvasSizeChanged()
DRenderTheme.cpp135 …formTheme->controlBorder(part, style->font().fontDescription(), borderBox, style->effectiveZoom()); in adjustStyle()
164 …controlPadding(part, style->font().fontDescription(), style->paddingBox(), style->effectiveZoom()); in adjustStyle()
175 …le->font().fontDescription(), LengthSize(style->width(), style->height()), style->effectiveZoom()); in adjustStyle()
182 …m_platformTheme->minimumControlSize(part, style->font().fontDescription(), style->effectiveZoom()); in adjustStyle()
189 …Font = m_platformTheme->controlFont(part, style->font().fontDescription(), style->effectiveZoom()); in adjustStyle()
268 …r(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->… in paint()
612 …_platformTheme->baselinePositionAdjustment(o->style()->appearance()) * o->style()->effectiveZoom(); in baselinePosition()
673 …olPaintRect(o->style()->appearance(), controlStatesForRenderer(o), r, o->style()->effectiveZoom()); in adjustRepaintRect()
935 float zoomFactor = o->style()->effectiveZoom(); in paintSliderTicks()
1243 float zoomLevel = o->style()->effectiveZoom(); in paintCheckboxUsingFallbackTheme()
[all …]
DRenderThemeChromiumMac.mm515 if (style->appearance() == MenulistPart && style->effectiveZoom() != 1.0f)
518 if (style->appearance() == SearchFieldPart && style->effectiveZoom() != 1)
544 float zoomLevel = o->style()->effectiveZoom();
695 if (style->effectiveZoom() != 1.0f) {
697 … return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
704 if (style->effectiveZoom() != 1.0f) {
706 … return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
729 fontDescription.setComputedSize([font pointSize] * style->effectiveZoom());
730 fontDescription.setSpecifiedSize([font pointSize] * style->effectiveZoom());
742 float zoomLevel = style->effectiveZoom();
[all …]
DRenderThemeChromiumDefault.cpp212 float zoomLevel = useMockTheme() ? 1 : style->effectiveZoom(); in adjustSliderThumbSize()
257 float zoomLevel = o->style()->effectiveZoom(); in paintCheckbox()
279 float zoomLevel = style->effectiveZoom(); in setCheckboxSize()
302 float zoomLevel = style->effectiveZoom(); in setRadioSize()
432 float zoomLevel = useMockTheme() ? 1 : o->style()->effectiveZoom(); in paintSliderTrack()
456 float zoomLevel = useMockTheme() ? 1 : o->style()->effectiveZoom(); in paintSliderThumb()
522 return style->effectiveZoom() != 1; in shouldUseFallbackTheme()
DRenderReplaced.cpp75 float oldZoom = hadStyle ? oldStyle->effectiveZoom() : RenderStyle::initialZoom(); in styleDidChange()
76 if (style() && style()->effectiveZoom() != oldZoom) in styleDidChange()
103 int scaledWidth = static_cast<int>(cDefaultWidth * style()->effectiveZoom()); in intrinsicSizeChanged()
104 int scaledHeight = static_cast<int>(cDefaultHeight * style()->effectiveZoom()); in intrinsicSizeChanged()
285 intrinsicSize.scale(style()->effectiveZoom()); in computeAspectRatioInformationForRenderBox()
DRenderImageResourceStyleImage.cpp75 … m_styleImage->setContainerSizeForRenderer(m_renderer, size, m_renderer->style()->effectiveZoom()); in setContainerSizeForRenderer()
DRenderImageResource.cpp97 …>setContainerSizeForRenderer(m_renderer, imageContainerSize, m_renderer->style()->effectiveZoom()); in setContainerSizeForRenderer()
DRenderImage.cpp113 …gWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style(… in imageSizeForError()
218 …= updateIntrinsicSizeIfNeeded(m_imageResource->intrinsicSize(style()->effectiveZoom()), imageSizeC… in imageDimensionsChanged()
542 float scaleFactor = 1 / style()->effectiveZoom(); in nodeAtPoint()
DRenderListMarker.cpp1331 setWidth(m_image->imageSize(this, style()->effectiveZoom()).width()); in layout()
1332 setHeight(m_image->imageSize(this, style()->effectiveZoom()).height()); in layout()
1357 …_image->imageSize(this, style()->effectiveZoom()).width() || height() != m_image->imageSize(this, … in imageChanged()
1382 …ge->setContainerSizeForRenderer(this, IntSize(bulletWidth, bulletWidth), style()->effectiveZoom()); in updateContent()
1483 LayoutSize imageSize = m_image->imageSize(this, style()->effectiveZoom()); in computePreferredLogicalWidths()
1709 …0, 0, m_image->imageSize(this, style()->effectiveZoom()).width(), m_image->imageSize(this, style()… in getRelativeMarkerRect()
DRenderSlider.cpp57 maxLogicalWidth = defaultTrackLength * style()->effectiveZoom(); in computeIntrinsicLogicalWidths()
DFilterEffectRenderer.cpp123 …float invZoom = 1.0f / ((style ? style->effectiveZoom() : 1.0f) * deviceScaleFactor(renderer->fram… in build()
379 float zoom = style ? style->effectiveZoom() : 1.0f; in prepareFilterEffect()
DRenderVideo.cpp75 size.scale(style()->effectiveZoom()); in updateIntrinsicSize()
DRenderMediaControls.cpp291 float zoomLevel = style->effectiveZoom(); in paintMediaVolumeSlider()
411 float zoomLevel = style->effectiveZoom(); in adjustMediaSliderThumbSize()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGImage.cpp74 … LayoutSize intrinsicSize = cachedImage->imageSizeForRenderer(0, style()->effectiveZoom()); in updateImageViewport()
75 if (intrinsicSize != m_imageResource->imageSize(style()->effectiveZoom())) { in updateImageViewport()
DRenderSVGRoot.cpp149 …SVG(svg->intrinsicWidth(SVGSVGElement::IgnoreCSSProperties), style()->effectiveZoom(), containingB… in computeReplacedLogicalWidth()
183 …return resolveLengthAttributeForSVG(height, style()->effectiveZoom(), containingBlock()->available… in computeReplacedLogicalHeight()
332 float scale = style()->effectiveZoom(); in buildLocalToBorderBoxTransform()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGSVGElement.cpp443 zoomFactor = 1 / renderer->style()->effectiveZoom(); in localCoordinateSpaceTransform()
585 …oxRect.width() / renderer()->style()->effectiveZoom(), contentBoxRect.height() / renderer()->style… in currentViewportSize()
DSVGGraphicsElement.cpp119 float zoom = style->effectiveZoom(); in animatedLocalTransform()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAreaElement.cpp108 float zoomFactor = obj->style()->effectiveZoom(); in computePath()

12