Home
last modified time | relevance | path

Searched refs:zoomedSize (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/platform/mac/
DThemeMac.mm101 static LengthSize sizeFromNSControlSize(NSControlSize nsControlSize, const LengthSize& zoomedSize, …
106 LengthSize result = zoomedSize;
107 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0)
109 if (zoomedSize.height().isIntrinsicOrAuto() && controlSize.height() > 0)
114 static LengthSize sizeFromFont(const Font& font, const LengthSize& zoomedSize, float zoomFactor, co…
116 return sizeFromNSControlSize(controlSizeForFont(font), zoomedSize, zoomFactor, sizes);
187 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins…
191 …int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + mar…
192 …int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + m…
224 static LengthSize checkboxSize(const Font& font, const LengthSize& zoomedSize, float zoomFactor)
[all …]
/external/webkit/Source/WebCore/platform/chromium/
DThemeChromiumMac.mm214 static LengthSize sizeFromNSControlSize(NSControlSize nsControlSize, const LengthSize& zoomedSize, …
219 LengthSize result = zoomedSize;
220 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0)
222 if (zoomedSize.height().isIntrinsicOrAuto() && controlSize.height() > 0)
227 static LengthSize sizeFromFont(const Font& font, const LengthSize& zoomedSize, float zoomFactor, co…
229 return sizeFromNSControlSize(controlSizeForFont(font), zoomedSize, zoomFactor, sizes);
305 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins…
309 …int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + mar…
310 …int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + m…
342 static LengthSize checkboxSize(const Font& font, const LengthSize& zoomedSize, float zoomFactor)
[all …]
/external/webkit/Source/WebCore/rendering/
DRenderHTMLCanvas.cpp74 …IntSize zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->e… in canvasSizeChanged() local
76 if (zoomedSize == intrinsicSize()) in canvasSizeChanged()
79 setIntrinsicSize(zoomedSize); in canvasSizeChanged()
/external/webkit/Source/WebCore/platform/
DTheme.h87 …ze(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoomFactor*/) const { return zo… in controlSize() argument
/external/webkit/Source/WebCore/css/
DCSSStyleSelector.cpp6836 float zoomedSize = specifiedSize * zoomFactor; in getComputedSizeFromSpecifiedSize() local
6839 if (zoomedSize < minSize) in getComputedSizeFromSpecifiedSize()
6840 zoomedSize = minSize; in getComputedSizeFromSpecifiedSize()
6846 if (zoomedSize < minLogicalSize && (specifiedSize >= minLogicalSize || !isAbsoluteSize)) in getComputedSizeFromSpecifiedSize()
6847 zoomedSize = minLogicalSize; in getComputedSizeFromSpecifiedSize()
6851 return min(1000000.0f, zoomedSize); in getComputedSizeFromSpecifiedSize()