HomeSort by relevance Sort by last modified time
    Searched refs:zoomFactor (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/platform/mac/
ThemeMac.h 44 virtual FontDescription controlFont(ControlPart, const Font&, float zoomFactor) const;
46 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
47 virtual LengthSize minimumControlSize(ControlPart, const Font&, float zoomFactor) const;
49 virtual LengthBox controlPadding(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
50 virtual LengthBox controlBorder(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
54 virtual void paint(ControlPart, ControlStates, GraphicsContext*, const IntRect&, float zoomFactor, ScrollView*) const;
55 virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect&, float zoomFactor) const;
ThemeMac.mm 119 static LengthSize sizeFromNSControlSize(NSControlSize nsControlSize, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
122 if (zoomFactor != 1.0f)
123 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor);
132 static LengthSize sizeFromFont(const Font& font, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
134 return sizeFromNSControlSize(controlSizeForFont(font), zoomedSize, zoomFactor, sizes);
137 static ControlSize controlSizeFromPixelSize(const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor)
139 if (minZoomedSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomFactor) &&
140 minZoomedSize.height() >= static_cast<int>(sizes[NSRegularControlSize].height() * zoomFactor))
142 if (minZoomedSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomFactor) &
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontSize.h 38 static float getComputedSizeFromSpecifiedSize(const Document*, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize = UseSmartMinimumForFontFize);
FontSize.cpp 38 float FontSize::getComputedSizeFromSpecifiedSize(const Document* document, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize useSmartMinimumForFontSize)
63 float zoomedSize = specifiedSize * zoomFactor;
CSSToStyleMap.cpp 207 float zoomFactor = style()->effectiveZoom();
213 firstLength = pair->first()->convertToLength<AnyConversion>(style(), rootElementStyle(), zoomFactor);
214 secondLength = pair->second()->convertToLength<AnyConversion>(style(), rootElementStyle(), zoomFactor);
216 firstLength = primitiveValue->convertToLength<AnyConversion>(style(), rootElementStyle(), zoomFactor);
238 float zoomFactor = style()->effectiveZoom();
249 length = primitiveValue->computeLength<Length>(style(), rootElementStyle(), zoomFactor);
253 length = Length(primitiveValue->cssCalcValue()->toCalcValue(style(), rootElementStyle(), zoomFactor));
274 float zoomFactor = style()->effectiveZoom();
285 length = primitiveValue->computeLength<Length>(style(), rootElementStyle(), zoomFactor);
289 length = Length(primitiveValue->cssCalcValue()->toCalcValue(style(), rootElementStyle(), zoomFactor));
    [all...]
CSSGradientValue.cpp 394 float zoomFactor = style->effectiveZoom();
397 return value->getFloatValue() * zoomFactor;
423 return value->computeLength<float>(style, rootStyle, zoomFactor);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
Theme.h 84 virtual FontDescription controlFont(ControlPart, const Font& font, float /*zoomFactor*/) const { return font.fontDescription(); }
87 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoomFactor*/) const { return zoomedSize; }
90 virtual LengthSize minimumControlSize(ControlPart, const Font&, float /*zoomFactor*/) const { return LengthSize(Length(0, Fixed), Length(0, Fixed)); }
93 virtual LengthBox controlPadding(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
94 virtual LengthBox controlBorder(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
100 virtual void paint(ControlPart, ControlStates, GraphicsContext*, const IntRect& /*zoomedRect*/, float /*zoomFactor*/, ScrollView*) const { }
105 // amount is also scaled by the zoomFactor.
106 virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect& /*zoomedRect*/, float /*zoomFactor*/) const { }
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
TransformBuilder.cpp 95 float zoomFactor = style ? style->effectiveZoom() : 1;
172 ty = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
174 tx = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
178 ty = convertToFloatLength(secondValue, style, rootStyle, zoomFactor);
195 tz = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
197 ty = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
199 tx = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
203 tz = convertToFloatLength(thirdValue, style, rootStyle, zoomFactor);
207 ty = convertToFloatLength(secondValue, style, rootStyle, zoomFactor);
280 double e = zoomFactor * toCSSPrimitiveValue(transformValue->itemWithoutBoundsCheck(4))->getDoubleValue()
    [all...]
FilterOperationResolver.cpp 373 float zoomFactor = (style ? style->effectiveZoom() : 1) * state.elementStyleResources().deviceScaleFactor();
472 stdDeviation = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
488 IntPoint location(item->x->computeLength<int>(style, rootStyle, zoomFactor), item->y->computeLength<int>(style, rootStyle, zoomFactor));
489 int blur = item->blur ? item->blur->computeLength<int>(style, rootStyle, zoomFactor) : 0;
FontBuilder.cpp 522 float zoomFactor = 1.0f;
524 zoomFactor = effectiveZoom;
527 zoomFactor *= frame->textZoomFactor();
530 return FontSize::getComputedSizeFromSpecifiedSize(m_document, zoomFactor, fontDescription.isAbsoluteSize(), specifiedSize);
StyleBuilderCustom.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLBodyElement.cpp 255 float zoomFactor = frame->pageZoomFactor();
256 if (zoomFactor == 1)
259 if (zoomFactor > 1)
261 return static_cast<int>(value / zoomFactor);
HTMLAreaElement.cpp 109 float zoomFactor = obj->style()->effectiveZoom();
110 if (zoomFactor != 1.0f) {
112 zoomTransform.scale(zoomFactor);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
OverviewGrid.js 130 * @param {!number} zoomFactor
133 zoom: function(zoomFactor, referencePoint)
135 this._window._zoom(zoomFactor, referencePoint);
401 const zoomFactor = 1.1;
405 this._zoom(Math.pow(zoomFactor, -event.wheelDeltaY * mouseWheelZoomSpeed), reference);
FlameChart.js 491 const zoomFactor = 1.1;
494 var zoom = Math.pow(zoomFactor, -e.wheelDeltaY * mouseWheelZoomSpeed);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGSVGElement.cpp 436 float zoomFactor = 1;
444 zoomFactor = 1 / renderer->style()->effectiveZoom();
450 location.scale(zoomFactor, zoomFactor);
459 scrollOffset.scale(zoomFactor);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderTheme.cpp     [all...]
RenderView.h 71 float zoomFactor() const;
RenderLayer.cpp     [all...]
RenderView.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
SliderThumbElement.cpp 149 float zoomFactor = style()->effectiveZoom();
150 if (zoomFactor != 1.0)
151 trackHeight *= zoomFactor;
  /external/chromium_org/third_party/WebKit/Source/core/page/
DragController.cpp 311 float zoomFactor = frame ? frame->pageZoomFactor() : 1;
312 LayoutPoint point = roundedLayoutPoint(FloatPoint(p.x() * zoomFactor, p.y() * zoomFactor));
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Element.cpp 543 float zoomFactor = 1;
550 zoomFactor = prev->style()->zoom();
556 zoomFactor = prev->style()->zoom();
558 return zoomFactor;
563 float zoomFactor = localZoomForRenderer(renderer);
564 if (zoomFactor == 1)
566 return lroundf(value / zoomFactor);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/testing/
Internals.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
RenderStyle.h     [all...]

Completed in 933 milliseconds

1 2