/external/chromium_org/third_party/WebKit/Source/core/platform/mac/ |
D | ThemeMac.mm | 119 …lSize(NSControlSize nsControlSize, const LengthSize& zoomedSize, float zoomFactor, const IntSize* … 122 if (zoomFactor != 1.0f) 123 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor); 132 … FontDescription& fontDescription, const LengthSize& zoomedSize, float zoomFactor, const IntSize* … 134 … return sizeFromNSControlSize(controlSizeForFont(fontDescription), zoomedSize, zoomFactor, sizes); 137 …Size 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) && 143 minZoomedSize.height() >= static_cast<int>(sizes[NSSmallControlSize].height() * zoomFactor)) [all …]
|
D | ThemeMac.h | 44 … virtual FontDescription controlFont(ControlPart, const FontDescription&, float zoomFactor) const; 46 …thSize controlSize(ControlPart, const FontDescription&, const LengthSize&, float zoomFactor) const; 47 …virtual LengthSize minimumControlSize(ControlPart, const FontDescription&, float zoomFactor) const; 49 …olPadding(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const; 50 …rolBorder(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const; 54 …nt(ControlPart, ControlStates, GraphicsContext*, const IntRect&, float zoomFactor, ScrollView*) co… 55 …virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect&, float zoomFactor) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | Theme.h | 90 …olPadding(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const; 91 …rolBorder(ControlPart, const FontDescription&, const LengthBox& zoomedBox, float zoomFactor) const;
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | TransformBuilder.cpp | 95 float zoomFactor = conversionData.zoom(); in createTransformOperations() local 280 …double e = zoomFactor * toCSSPrimitiveValue(transformValue->itemWithoutBoundsCheck(4))->getDoubleV… in createTransformOperations() 281 …double f = zoomFactor * toCSSPrimitiveValue(transformValue->itemWithoutBoundsCheck(5))->getDoubleV… in createTransformOperations() 300 … zoomFactor * toCSSPrimitiveValue(transformValue->itemWithoutBoundsCheck(12))->getDoubleValue(), in createTransformOperations() 301 … zoomFactor * toCSSPrimitiveValue(transformValue->itemWithoutBoundsCheck(13))->getDoubleValue(), in createTransformOperations()
|
D | FontBuilder.cpp | 516 float zoomFactor = 1.0f; in getComputedSizeFromSpecifiedSize() local 518 zoomFactor = effectiveZoom; in getComputedSizeFromSpecifiedSize() 521 zoomFactor *= frame->textZoomFactor(); in getComputedSizeFromSpecifiedSize() 524 …return FontSize::getComputedSizeFromSpecifiedSize(m_document, zoomFactor, fontDescription.isAbsolu… in getComputedSizeFromSpecifiedSize()
|
D | FilterOperationResolver.cpp | 365 …float zoomFactor = unadjustedConversionData.zoom() * state.elementStyleResources().deviceScaleFact… in createFilterOperations() local 366 …ToLengthConversionData& conversionData = unadjustedConversionData.copyWithAdjustedZoom(zoomFactor); in createFilterOperations()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | FontSize.cpp | 38 float FontSize::getComputedSizeFromSpecifiedSize(const Document* document, float zoomFactor, bool i… in getComputedSizeFromSpecifiedSize() argument 63 float zoomedSize = specifiedSize * zoomFactor; in getComputedSizeFromSpecifiedSize()
|
D | FontSize.h | 38 …static float getComputedSizeFromSpecifiedSize(const Document*, float zoomFactor, bool isAbsoluteSi…
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
D | splitter.js | 50 var zoomFactor = parseFloat(cs.width) / 100; 52 return zoomFactor;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLAreaElement.cpp | 108 float zoomFactor = obj->style()->effectiveZoom(); in computePath() local 109 if (zoomFactor != 1.0f) { in computePath() 111 zoomTransform.scale(zoomFactor); in computePath()
|
D | HTMLBodyElement.cpp | 193 float zoomFactor = frame->pageZoomFactor(); in adjustForZoom() local 194 if (zoomFactor == 1) in adjustForZoom() 197 if (zoomFactor > 1) in adjustForZoom() 199 return static_cast<int>(value / zoomFactor); in adjustForZoom()
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | splitter.js | 50 var zoomFactor = parseFloat(cs.width) / 100; 52 return zoomFactor;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderLayerScrollableArea.cpp | 1256 float zoomFactor = m_box->style()->effectiveZoom(); in resize() local 1259 newOffset.setWidth(newOffset.width() / zoomFactor); in resize() 1260 newOffset.setHeight(newOffset.height() / zoomFactor); in resize() 1262 LayoutSize currentSize = LayoutSize(m_box->width() / zoomFactor, m_box->height() / zoomFactor); in resize() 1266 …ize adjustedOldOffset = LayoutSize(oldOffset.width() / zoomFactor, oldOffset.height() / zoomFactor… in resize() 1280 …element->setInlineStyleProperty(CSSPropertyMarginLeft, m_box->marginLeft() / zoomFactor, CSSPrimit… in resize() 1281 …>setInlineStyleProperty(CSSPropertyMarginRight, m_box->marginRight() / zoomFactor, CSSPrimitiveVal… in resize() 1284 baseWidth = baseWidth / zoomFactor; in resize() 1291 …element->setInlineStyleProperty(CSSPropertyMarginTop, m_box->marginTop() / zoomFactor, CSSPrimitiv… in resize() 1292 …etInlineStyleProperty(CSSPropertyMarginBottom, m_box->marginBottom() / zoomFactor, CSSPrimitiveVal… in resize() [all …]
|
D | RenderTheme.cpp | 935 float zoomFactor = o->style()->effectiveZoom(); in paintSliderTicks() local 951 tickRect.setWidth(floor(tickSize.width() * zoomFactor)); in paintSliderTicks() 952 tickRect.setHeight(floor(tickSize.height() * zoomFactor)); in paintSliderTicks() 953 …kRect.setY(floor(rect.y() + rect.height() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor)); in paintSliderTicks() 954 …tickRegionSideMargin = trackBounds.x() + (thumbSize.width() - tickSize.width() * zoomFactor) / 2.0; in paintSliderTicks() 957 tickRect.setWidth(floor(tickSize.height() * zoomFactor)); in paintSliderTicks() 958 tickRect.setHeight(floor(tickSize.width() * zoomFactor)); in paintSliderTicks() 959 …ckRect.setX(floor(rect.x() + rect.width() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor)); in paintSliderTicks() 960 …tickRegionSideMargin = trackBounds.y() + (thumbSize.width() - tickSize.width() * zoomFactor) / 2.0; in paintSliderTicks()
|
D | RenderView.h | 78 float zoomFactor() const;
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
D | waterfall_view.js | 222 var zoomFactor = Math.pow(MOUSE_WHEEL_ZOOM_RATE, 231 this.scaleAll_(this.scaleFactor_ * zoomFactor); 237 oldCursorPositionInTable * zoomFactor - event.pageX + waterfallLeft;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | OverviewGrid.js | 132 zoom: function(zoomFactor, referencePoint) argument 134 this._window._zoom(zoomFactor, referencePoint); 399 const zoomFactor = 1.1; 403 this._zoom(Math.pow(zoomFactor, -event.wheelDeltaY * mouseWheelZoomSpeed), reference);
|
D | FlameChart.js | 641 const zoomFactor = 1.1; 644 var zoom = Math.pow(zoomFactor, -e.wheelDeltaY * mouseWheelZoomSpeed);
|
D | ScreencastView.js | 125 dimensions.width *= WebInspector.zoomFactor(); 126 dimensions.height *= WebInspector.zoomFactor();
|
D | externs.js | 355 WebInspector.zoomFactor = function() {} function
|
D | inspector.js | 166 zoomFactor: function() method 178 InspectorFrontendHost.setZoomFactor(this.zoomFactor());
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGSVGElement.cpp | 435 float zoomFactor = 1; in localCoordinateSpaceTransform() local 443 zoomFactor = 1 / renderer->style()->effectiveZoom(); in localCoordinateSpaceTransform() 449 location.scale(zoomFactor, zoomFactor); in localCoordinateSpaceTransform() 458 scrollOffset.scale(zoomFactor); in localCoordinateSpaceTransform()
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
D | SliderThumbElement.cpp | 130 float zoomFactor = style()->effectiveZoom(); in computeLogicalHeight() local 131 if (zoomFactor != 1.0) in computeLogicalHeight() 132 trackHeight *= zoomFactor; in computeLogicalHeight()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DragController.cpp | 317 float zoomFactor = frame ? frame->pageZoomFactor() : 1; in elementUnderMouse() local 318 LayoutPoint point = roundedLayoutPoint(FloatPoint(p.x() * zoomFactor, p.y() * zoomFactor)); in elementUnderMouse()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Element.cpp | 531 float zoomFactor = 1; in localZoomForRenderer() local 538 zoomFactor = prev->style()->zoom(); in localZoomForRenderer() 544 zoomFactor = prev->style()->zoom(); in localZoomForRenderer() 546 return zoomFactor; in localZoomForRenderer() 551 float zoomFactor = localZoomForRenderer(renderer); in adjustForLocalZoom() local 552 if (zoomFactor == 1) in adjustForLocalZoom() 554 return lroundf(value / zoomFactor); in adjustForLocalZoom()
|