deviceScaleFactor 119 Source/core/css/CSSCursorImageValue.cpp StyleImage* CSSCursorImageValue::cachedImage(ResourceFetcher* loader, float deviceScaleFactor) deviceScaleFactor 122 Source/core/css/CSSCursorImageValue.cpp return toCSSImageSetValue(m_imageValue.get())->cachedImageSet(loader, deviceScaleFactor); deviceScaleFactor 150 Source/core/css/CSSCursorImageValue.cpp StyleImage* CSSCursorImageValue::cachedOrPendingImage(float deviceScaleFactor) deviceScaleFactor 154 Source/core/css/CSSCursorImageValue.cpp return toCSSImageSetValue(m_imageValue.get())->cachedOrPendingImageSet(deviceScaleFactor); deviceScaleFactor 54 Source/core/css/CSSCursorImageValue.h StyleImage* cachedImage(ResourceFetcher*, float deviceScaleFactor); deviceScaleFactor 55 Source/core/css/CSSCursorImageValue.h StyleImage* cachedOrPendingImage(float deviceScaleFactor); deviceScaleFactor 91 Source/core/css/CSSImageSetValue.cpp StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(ResourceFetcher* loader, float deviceScaleFactor, const ResourceLoaderOptions& options) deviceScaleFactor 95 Source/core/css/CSSImageSetValue.cpp m_scaleFactor = deviceScaleFactor; deviceScaleFactor 121 Source/core/css/CSSImageSetValue.cpp StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(ResourceFetcher* fetcher, float deviceScaleFactor) deviceScaleFactor 123 Source/core/css/CSSImageSetValue.cpp return cachedImageSet(fetcher, deviceScaleFactor, ResourceFetcher::defaultResourceOptions()); deviceScaleFactor 126 Source/core/css/CSSImageSetValue.cpp StyleImage* CSSImageSetValue::cachedOrPendingImageSet(float deviceScaleFactor) deviceScaleFactor 132 Source/core/css/CSSImageSetValue.cpp if (deviceScaleFactor != m_scaleFactor) { deviceScaleFactor 47 Source/core/css/CSSImageSetValue.h StyleFetchedImageSet* cachedImageSet(ResourceFetcher*, float deviceScaleFactor, const ResourceLoaderOptions&); deviceScaleFactor 48 Source/core/css/CSSImageSetValue.h StyleFetchedImageSet* cachedImageSet(ResourceFetcher*, float deviceScaleFactor); deviceScaleFactor 43 Source/core/css/MediaValues.cpp deviceWidth = lroundf(deviceWidth * frame->host()->deviceScaleFactor()); deviceScaleFactor 52 Source/core/css/MediaValues.cpp deviceHeight = lroundf(deviceHeight * frame->host()->deviceScaleFactor()); deviceScaleFactor 68 Source/core/css/resolver/ElementStyleResources.h float deviceScaleFactor() const { return m_deviceScaleFactor; } deviceScaleFactor 69 Source/core/css/resolver/ElementStyleResources.h void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = deviceScaleFactor; } deviceScaleFactor 90 Source/core/css/resolver/FilterOperationResolver.cpp float zoomFactor = unadjustedConversionData.zoom() * state.elementStyleResources().deviceScaleFactor(); deviceScaleFactor 52 Source/core/css/resolver/StyleResolverState.cpp m_elementStyleResources.setDeviceScaleFactor(document.frameHost()->deviceScaleFactor()); deviceScaleFactor 75 Source/core/css/resolver/StyleResourceLoader.cpp static PassRefPtr<StyleImage> doLoadPendingImage(ResourceFetcher* fetcher, StylePendingImage* pendingImage, float deviceScaleFactor, const ResourceLoaderOptions& options) deviceScaleFactor 88 Source/core/css/resolver/StyleResourceLoader.cpp return cursorImageValue->cachedImage(fetcher, deviceScaleFactor); deviceScaleFactor 91 Source/core/css/resolver/StyleResourceLoader.cpp return imageSetValue->cachedImageSet(fetcher, deviceScaleFactor, options); deviceScaleFactor 96 Source/core/css/resolver/StyleResourceLoader.cpp PassRefPtr<StyleImage> StyleResourceLoader::loadPendingImage(StylePendingImage* pendingImage, float deviceScaleFactor) deviceScaleFactor 98 Source/core/css/resolver/StyleResourceLoader.cpp return doLoadPendingImage(m_fetcher, pendingImage, deviceScaleFactor, ResourceFetcher::defaultResourceOptions()); deviceScaleFactor 101 Source/core/css/resolver/StyleResourceLoader.cpp void StyleResourceLoader::loadPendingShapeImage(RenderStyle* renderStyle, ShapeValue* shapeValue, float deviceScaleFactor) deviceScaleFactor 115 Source/core/css/resolver/StyleResourceLoader.cpp shapeValue->setImage(doLoadPendingImage(m_fetcher, toStylePendingImage(image), deviceScaleFactor, options)); deviceScaleFactor 131 Source/core/css/resolver/StyleResourceLoader.cpp backgroundLayer->setImage(loadPendingImage(toStylePendingImage(backgroundLayer->image()), elementStyleResources.deviceScaleFactor())); deviceScaleFactor 140 Source/core/css/resolver/StyleResourceLoader.cpp RefPtr<StyleImage> loadedImage = loadPendingImage(toStylePendingImage(image), elementStyleResources.deviceScaleFactor()); deviceScaleFactor 154 Source/core/css/resolver/StyleResourceLoader.cpp currentCursor.setImage(loadPendingImage(toStylePendingImage(image), elementStyleResources.deviceScaleFactor())); deviceScaleFactor 162 Source/core/css/resolver/StyleResourceLoader.cpp style->setListStyleImage(loadPendingImage(toStylePendingImage(style->listStyleImage()), elementStyleResources.deviceScaleFactor())); deviceScaleFactor 167 Source/core/css/resolver/StyleResourceLoader.cpp style->setBorderImageSource(loadPendingImage(toStylePendingImage(style->borderImageSource()), elementStyleResources.deviceScaleFactor())); deviceScaleFactor 174 Source/core/css/resolver/StyleResourceLoader.cpp RefPtr<StyleImage> loadedImage = loadPendingImage(toStylePendingImage(maskImage.image()), elementStyleResources.deviceScaleFactor()); deviceScaleFactor 182 Source/core/css/resolver/StyleResourceLoader.cpp style->setMaskBoxImageSource(loadPendingImage(toStylePendingImage(style->maskBoxImageSource()), elementStyleResources.deviceScaleFactor())); deviceScaleFactor 188 Source/core/css/resolver/StyleResourceLoader.cpp maskLayer->setImage(loadPendingImage(toStylePendingImage(maskLayer->image()), elementStyleResources.deviceScaleFactor())); deviceScaleFactor 193 Source/core/css/resolver/StyleResourceLoader.cpp loadPendingShapeImage(style, style->shapeOutside(), elementStyleResources.deviceScaleFactor()); deviceScaleFactor 51 Source/core/css/resolver/StyleResourceLoader.h PassRefPtr<StyleImage> loadPendingImage(StylePendingImage*, float deviceScaleFactor); deviceScaleFactor 53 Source/core/css/resolver/StyleResourceLoader.h void loadPendingShapeImage(RenderStyle*, ShapeValue*, float deviceScaleFactor); deviceScaleFactor 156 Source/core/fetch/ImageResource.cpp pair<WebCore::Image*, float> ImageResource::brokenImage(float deviceScaleFactor) deviceScaleFactor 158 Source/core/fetch/ImageResource.cpp if (deviceScaleFactor >= 2) { deviceScaleFactor 63 Source/core/fetch/ImageResource.h static std::pair<WebCore::Image*, float> brokenImage(float deviceScaleFactor); // Returns an image and the image's resolution scale factor. deviceScaleFactor 1075 Source/core/frame/DOMWindow.cpp return lroundf(host->chrome().windowRect().height() * host->deviceScaleFactor()); deviceScaleFactor 1089 Source/core/frame/DOMWindow.cpp return lroundf(host->chrome().windowRect().width() * host->deviceScaleFactor()); deviceScaleFactor 1135 Source/core/frame/DOMWindow.cpp return lroundf(host->chrome().windowRect().x() * host->deviceScaleFactor()); deviceScaleFactor 1149 Source/core/frame/DOMWindow.cpp return lroundf(host->chrome().windowRect().y() * host->deviceScaleFactor()); deviceScaleFactor 80 Source/core/frame/FrameHost.cpp return m_page.deviceScaleFactor(); deviceScaleFactor 75 Source/core/frame/FrameHost.h float deviceScaleFactor() const; deviceScaleFactor 550 Source/core/frame/LocalFrame.cpp float deviceScaleFactor = m_host->deviceScaleFactor(); deviceScaleFactor 551 Source/core/frame/LocalFrame.cpp paintingRect.setWidth(paintingRect.width() * deviceScaleFactor); deviceScaleFactor 552 Source/core/frame/LocalFrame.cpp paintingRect.setHeight(paintingRect.height() * deviceScaleFactor); deviceScaleFactor 557 Source/core/frame/LocalFrame.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); deviceScaleFactor 564 Source/core/frame/LocalFrame.cpp return DragImage::create(image.get(), renderer->shouldRespectImageOrientation(), deviceScaleFactor); deviceScaleFactor 579 Source/core/frame/LocalFrame.cpp float deviceScaleFactor = m_host->deviceScaleFactor(); deviceScaleFactor 580 Source/core/frame/LocalFrame.cpp paintingRect.setWidth(paintingRect.width() * deviceScaleFactor); deviceScaleFactor 581 Source/core/frame/LocalFrame.cpp paintingRect.setHeight(paintingRect.height() * deviceScaleFactor); deviceScaleFactor 586 Source/core/frame/LocalFrame.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); deviceScaleFactor 593 Source/core/frame/LocalFrame.cpp return DragImage::create(image.get(), DoNotRespectImageOrientation, deviceScaleFactor); deviceScaleFactor 601 Source/core/frame/LocalFrame.cpp double ratio = m_host->deviceScaleFactor(); deviceScaleFactor 55 Source/core/frame/Screen.cpp return lroundf(screenRect(m_frame->view()).height() * host->deviceScaleFactor()); deviceScaleFactor 65 Source/core/frame/Screen.cpp return lroundf(screenRect(m_frame->view()).width() * host->deviceScaleFactor()); deviceScaleFactor 89 Source/core/frame/Screen.cpp return lroundf(screenAvailableRect(m_frame->view()).x() * host->deviceScaleFactor()); deviceScaleFactor 99 Source/core/frame/Screen.cpp return lroundf(screenAvailableRect(m_frame->view()).y() * host->deviceScaleFactor()); deviceScaleFactor 109 Source/core/frame/Screen.cpp return lroundf(screenAvailableRect(m_frame->view()).height() * host->deviceScaleFactor()); deviceScaleFactor 119 Source/core/frame/Screen.cpp return lroundf(screenAvailableRect(m_frame->view()).width() * host->deviceScaleFactor()); deviceScaleFactor 134 Source/core/html/parser/HTMLSrcsetParser.cpp static ImageCandidate pickBestImageCandidate(float deviceScaleFactor, Vector<ImageCandidate>& imageCandidates) deviceScaleFactor 143 Source/core/html/parser/HTMLSrcsetParser.cpp if (imageCandidates[i].scaleFactor() >= deviceScaleFactor) deviceScaleFactor 156 Source/core/html/parser/HTMLSrcsetParser.cpp ImageCandidate bestFitSourceForSrcsetAttribute(float deviceScaleFactor, const String& srcsetAttribute) deviceScaleFactor 162 Source/core/html/parser/HTMLSrcsetParser.cpp return pickBestImageCandidate(deviceScaleFactor, imageCandidates); deviceScaleFactor 165 Source/core/html/parser/HTMLSrcsetParser.cpp ImageCandidate bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, const String& srcsetAttribute) deviceScaleFactor 180 Source/core/html/parser/HTMLSrcsetParser.cpp return pickBestImageCandidate(deviceScaleFactor, imageCandidates); deviceScaleFactor 183 Source/core/html/parser/HTMLSrcsetParser.cpp String bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, ImageCandidate& srcsetImageCandidate) deviceScaleFactor 194 Source/core/html/parser/HTMLSrcsetParser.cpp return pickBestImageCandidate(deviceScaleFactor, imageCandidates).toString(); deviceScaleFactor 76 Source/core/html/parser/HTMLSrcsetParser.h ImageCandidate bestFitSourceForSrcsetAttribute(float deviceScaleFactor, const String& srcsetAttribute); deviceScaleFactor 78 Source/core/html/parser/HTMLSrcsetParser.h ImageCandidate bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, const String& srcsetAttribute); deviceScaleFactor 80 Source/core/html/parser/HTMLSrcsetParser.h String bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, ImageCandidate& srcsetImageCandidate); deviceScaleFactor 638 Source/core/inspector/InspectorOverlay.cpp resetData->setNumber("deviceScaleFactor", m_page->deviceScaleFactor()); deviceScaleFactor 115 Source/core/inspector/InspectorPageAgent.cpp bool anyDeviceMetricsOverrideEnabled(int width, int height, double deviceScaleFactor) deviceScaleFactor 117 Source/core/inspector/InspectorPageAgent.cpp return width || height || deviceScaleFactor; deviceScaleFactor 685 Source/core/inspector/InspectorPageAgent.cpp void InspectorPageAgent::setDeviceMetricsOverride(ErrorString* errorString, int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, const bool* optionalTextAutosizing, const double* optionalFontScaleFactor) deviceScaleFactor 702 Source/core/inspector/InspectorPageAgent.cpp if (deviceScaleFactor < 0) { deviceScaleFactor 713 Source/core/inspector/InspectorPageAgent.cpp if (anyDeviceMetricsOverrideEnabled(width, height, deviceScaleFactor) && !settings.acceleratedCompositingEnabled()) { deviceScaleFactor 719 Source/core/inspector/InspectorPageAgent.cpp if (!deviceMetricsChanged(width, height, deviceScaleFactor, emulateViewport, fitWindow, fontScaleFactor, textAutosizing)) deviceScaleFactor 724 Source/core/inspector/InspectorPageAgent.cpp m_state->setDouble(PageAgentState::pageAgentDeviceScaleFactorOverride, deviceScaleFactor); deviceScaleFactor 730 Source/core/inspector/InspectorPageAgent.cpp updateViewMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow, fontScaleFactor, textAutosizing); deviceScaleFactor 733 Source/core/inspector/InspectorPageAgent.cpp bool InspectorPageAgent::deviceMetricsChanged(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizing) deviceScaleFactor 744 Source/core/inspector/InspectorPageAgent.cpp return width != currentWidth || height != currentHeight || deviceScaleFactor != currentDeviceScaleFactor || emulateViewport != currentEmulateViewport || fitWindow != currentFitWindow || fontScaleFactor != currentFontScaleFactor || textAutosizing != currentTextAutosizing; deviceScaleFactor 1133 Source/core/inspector/InspectorPageAgent.cpp void InspectorPageAgent::updateViewMetrics(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizingEnabled) deviceScaleFactor 1135 Source/core/inspector/InspectorPageAgent.cpp bool enabled = anyDeviceMetricsOverrideEnabled(width, height, deviceScaleFactor); deviceScaleFactor 1141 Source/core/inspector/InspectorPageAgent.cpp m_client->overrideDeviceMetrics(width, height, static_cast<float>(deviceScaleFactor), emulateViewport, fitWindow); deviceScaleFactor 105 Source/core/inspector/InspectorPageAgent.h virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, const bool* optionalTextAutosizing, const double* optionalFontScaleFactor) OVERRIDE; deviceScaleFactor 166 Source/core/inspector/InspectorPageAgent.h bool deviceMetricsChanged(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizing); deviceScaleFactor 167 Source/core/inspector/InspectorPageAgent.h void updateViewMetrics(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizingEnabled); deviceScaleFactor 831 Source/core/page/DragController.cpp static PassOwnPtr<DragImage> dragImageForLink(const KURL& linkURL, const String& linkText, float deviceScaleFactor, const IntPoint& mouseDraggedPoint, IntPoint& dragLoc) deviceScaleFactor 835 Source/core/page/DragController.cpp OwnPtr<DragImage> dragImage = DragImage::create(linkURL, linkText, fontDescription, deviceScaleFactor); deviceScaleFactor 910 Source/core/page/DragController.cpp float deviceScaleFactor = src->page()->deviceScaleFactor(); deviceScaleFactor 911 Source/core/page/DragController.cpp dragImage = dragImageForLink(linkURL, hitTestResult.textContent(), deviceScaleFactor, mouseDraggedPoint, dragLocation); deviceScaleFactor 106 Source/core/page/Page.cpp return page->deviceScaleFactor(); deviceScaleFactor 82 Source/core/page/Page.h float deviceScaleFactor(LocalFrame*); deviceScaleFactor 181 Source/core/page/Page.h float deviceScaleFactor() const { return m_deviceScaleFactor; } deviceScaleFactor 94 Source/core/rendering/FilterEffectRenderer.cpp float invZoom = 1.0f / ((style ? style->effectiveZoom() : 1.0f) * deviceScaleFactor(renderer->frame())); deviceScaleFactor 104 Source/core/rendering/RenderImage.cpp float deviceScaleFactor = WebCore::deviceScaleFactor(frame()); deviceScaleFactor 105 Source/core/rendering/RenderImage.cpp pair<Image*, float> brokenImageAndImageScaleFactor = ImageResource::brokenImage(deviceScaleFactor); deviceScaleFactor 325 Source/core/rendering/RenderImage.cpp float deviceScaleFactor = WebCore::deviceScaleFactor(frame()); deviceScaleFactor 327 Source/core/rendering/RenderImage.cpp pair<Image*, float> brokenImageAndImageScaleFactor = ImageResource::brokenImage(deviceScaleFactor); deviceScaleFactor 2070 Source/core/rendering/RenderLayer.cpp float deviceScaleFactor = WebCore::deviceScaleFactor(renderer()->frame()); deviceScaleFactor 2071 Source/core/rendering/RenderLayer.cpp context->setUseHighResMarkers(deviceScaleFactor > 1.5f); deviceScaleFactor 3969 Source/core/rendering/RenderLayer.cpp float zoom = style->effectiveZoom() * WebCore::deviceScaleFactor(renderer()->frame()); deviceScaleFactor 1271 Source/core/rendering/RenderLayerScrollableArea.cpp float deviceScaleFactor = WebCore::deviceScaleFactor(m_box->frame()); deviceScaleFactor 1275 Source/core/rendering/RenderLayerScrollableArea.cpp if (deviceScaleFactor >= 2) { deviceScaleFactor 219 Source/core/rendering/svg/SVGRenderingContext.cpp float deviceScaleFactor = renderer->document().frameHost()->deviceScaleFactor(); deviceScaleFactor 247 Source/core/rendering/svg/SVGRenderingContext.cpp absoluteTransform.scale(deviceScaleFactor); deviceScaleFactor 69 Source/platform/DragImage.cpp PassOwnPtr<DragImage> DragImage::create(Image* image, RespectImageOrientationEnum shouldRespectImageOrientation, float deviceScaleFactor) deviceScaleFactor 99 Source/platform/DragImage.cpp return adoptPtr(new DragImage(skBitmap, deviceScaleFactor)); deviceScaleFactor 106 Source/platform/DragImage.cpp return adoptPtr(new DragImage(skBitmap, deviceScaleFactor)); deviceScaleFactor 120 Source/platform/DragImage.cpp PassOwnPtr<DragImage> DragImage::create(const KURL& url, const String& inLabel, const FontDescription& systemFont, float deviceScaleFactor) deviceScaleFactor 164 Source/platform/DragImage.cpp scaledImageSize.scale(deviceScaleFactor); deviceScaleFactor 168 Source/platform/DragImage.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); deviceScaleFactor 199 Source/platform/DragImage.cpp return DragImage::create(image.get(), DoNotRespectImageOrientation, deviceScaleFactor); deviceScaleFactor 42 Source/platform/DragImage.h static PassOwnPtr<DragImage> create(Image*, RespectImageOrientationEnum = DoNotRespectImageOrientation, float deviceScaleFactor = 1); deviceScaleFactor 43 Source/platform/DragImage.h static PassOwnPtr<DragImage> create(const KURL&, const String& label, const FontDescription& systemFont, float deviceScaleFactor); deviceScaleFactor 150 Source/platform/DragImageTest.cpp float deviceScaleFactor = 1.0f; deviceScaleFactor 161 Source/platform/DragImageTest.cpp DragImage::create(url, testLabel, fontDescription, deviceScaleFactor); deviceScaleFactor 163 Source/platform/DragImageTest.cpp DragImage::create(url, expectedLabel, fontDescription, deviceScaleFactor); deviceScaleFactor 765 Source/platform/graphics/GraphicsContext.cpp int deviceScaleFactor = m_useHighResMarker ? 2 : 1; deviceScaleFactor 771 Source/platform/graphics/GraphicsContext.cpp SkBitmap** misspellBitmap = deviceScaleFactor == 2 ? misspellBitmap2x : misspellBitmap1x; deviceScaleFactor 775 Source/platform/graphics/GraphicsContext.cpp const int rowPixels = 4 * deviceScaleFactor; deviceScaleFactor 776 Source/platform/graphics/GraphicsContext.cpp const int colPixels = 3 * deviceScaleFactor; deviceScaleFactor 784 Source/platform/graphics/GraphicsContext.cpp if (deviceScaleFactor == 1) { deviceScaleFactor 800 Source/platform/graphics/GraphicsContext.cpp } else if (deviceScaleFactor == 2) { deviceScaleFactor 833 Source/platform/graphics/GraphicsContext.cpp const int rowPixels = 32 * deviceScaleFactor; // Must be multiple of 4 for pattern below. deviceScaleFactor 834 Source/platform/graphics/GraphicsContext.cpp const int colPixels = 2 * deviceScaleFactor; deviceScaleFactor 840 Source/platform/graphics/GraphicsContext.cpp if (deviceScaleFactor == 1) deviceScaleFactor 842 Source/platform/graphics/GraphicsContext.cpp else if (deviceScaleFactor == 2) deviceScaleFactor 852 Source/platform/graphics/GraphicsContext.cpp SkScalar originX = WebCoreFloatToSkScalar(pt.x()) * deviceScaleFactor; deviceScaleFactor 853 Source/platform/graphics/GraphicsContext.cpp SkScalar originY = WebCoreFloatToSkScalar(pt.y()) * deviceScaleFactor; deviceScaleFactor 857 Source/platform/graphics/GraphicsContext.cpp float widthMod = fmodf(width * deviceScaleFactor, rowPixels); deviceScaleFactor 858 Source/platform/graphics/GraphicsContext.cpp if (rowPixels - widthMod > deviceScaleFactor) deviceScaleFactor 859 Source/platform/graphics/GraphicsContext.cpp width -= widthMod / deviceScaleFactor; deviceScaleFactor 865 Source/platform/graphics/GraphicsContext.cpp originX *= deviceScaleFactor; deviceScaleFactor 866 Source/platform/graphics/GraphicsContext.cpp originY *= deviceScaleFactor; deviceScaleFactor 879 Source/platform/graphics/GraphicsContext.cpp rect.set(originX, originY, originX + WebCoreFloatToSkScalar(width) * deviceScaleFactor, originY + SkIntToScalar(misspellBitmap[index]->height())); deviceScaleFactor 881 Source/platform/graphics/GraphicsContext.cpp if (deviceScaleFactor == 2) { deviceScaleFactor 886 Source/platform/graphics/GraphicsContext.cpp if (deviceScaleFactor == 2) deviceScaleFactor 368 Source/platform/graphics/GraphicsContext.h void applyDeviceScaleFactor(float deviceScaleFactor) { scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); } deviceScaleFactor 80 Source/web/DragClientImpl.cpp if (m_webView->deviceScaleFactor() != resolutionScale) { deviceScaleFactor 82 Source/web/DragClientImpl.cpp float scale = m_webView->deviceScaleFactor() / resolutionScale; deviceScaleFactor 104 Source/web/InspectorClientImpl.cpp void InspectorClientImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) deviceScaleFactor 107 Source/web/InspectorClientImpl.cpp agent->overrideDeviceMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow); deviceScaleFactor 111 Source/web/PageScaleConstraintsSet.cpp static float computeDeprecatedTargetDensityDPIFactor(const ViewportDescription& description, float deviceScaleFactor) deviceScaleFactor 114 Source/web/PageScaleConstraintsSet.cpp return 1.0f / deviceScaleFactor; deviceScaleFactor 138 Source/web/PageScaleConstraintsSet.cpp void PageScaleConstraintsSet::adjustForAndroidWebViewQuirks(const ViewportDescription& description, IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode, bool nonUserScalableQuirkEnabled) deviceScaleFactor 161 Source/web/PageScaleConstraintsSet.cpp targetDensityDPIFactor = computeDeprecatedTargetDensityDPIFactor(description, deviceScaleFactor); deviceScaleFactor 53 Source/web/PageScaleConstraintsSet.h void adjustForAndroidWebViewQuirks(const WebCore::ViewportDescription&, WebCore::IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode, bool nonUserScalableQuirkEnabled); deviceScaleFactor 82 Source/web/PageWidgetDelegate.cpp gc.applyDeviceScaleFactor(page->deviceScaleFactor()); deviceScaleFactor 83 Source/web/PageWidgetDelegate.cpp gc.setUseHighResMarkers(page->deviceScaleFactor() > 1.5f); deviceScaleFactor 326 Source/web/WebDevToolsAgentImpl.cpp void WebDevToolsAgentImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) deviceScaleFactor 328 Source/web/WebDevToolsAgentImpl.cpp if (!width && !height && !deviceScaleFactor) { deviceScaleFactor 347 Source/web/WebDevToolsAgentImpl.cpp params.deviceScaleFactor = deviceScaleFactor; deviceScaleFactor 110 Source/web/WebDevToolsAgentImpl.h virtual void overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) OVERRIDE; deviceScaleFactor 210 Source/web/WebPagePopupImpl.cpp m_page->setDeviceScaleFactor(m_webView->deviceScaleFactor()); deviceScaleFactor 277 Source/web/WebPagePopupImpl.cpp m_layerTreeView->setDeviceScaleFactor(m_widgetClient->deviceScaleFactor()); deviceScaleFactor 290 Source/web/WebPluginContainerImpl.cpp return page->deviceScaleFactor(); deviceScaleFactor 122 Source/web/WebPluginContainerImpl.h virtual float deviceScaleFactor() OVERRIDE; deviceScaleFactor 227 Source/web/WebPopupMenuImpl.cpp m_layerTreeView->setDeviceScaleFactor(m_client->deviceScaleFactor()); deviceScaleFactor 262 Source/web/WebPopupMenuImpl.cpp context.applyDeviceScaleFactor(m_client->deviceScaleFactor()); deviceScaleFactor 416 Source/web/WebViewImpl.cpp setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor); deviceScaleFactor 2690 Source/web/WebViewImpl.cpp return page()->deviceScaleFactor(); deviceScaleFactor 2822 Source/web/WebViewImpl.cpp && m_pageScaleConstraintsSet.userAgentConstraints().initialScale * deviceScaleFactor() <= 1) { deviceScaleFactor 2828 Source/web/WebViewImpl.cpp m_pageScaleConstraintsSet.adjustForAndroidWebViewQuirks(adjustedDescription, m_size, defaultMinWidth.intValue(), deviceScaleFactor(), settingsImpl()->supportDeprecatedTargetDensityDPI(), page()->settings().wideViewportQuirkEnabled(), page()->settings().useWideViewport(), page()->settings().loadWithOverviewMode(), settingsImpl()->viewportMetaNonUserScalableQuirk()); deviceScaleFactor 3271 Source/web/WebViewImpl.cpp void WebViewImpl::setCompositorDeviceScaleFactorOverride(float deviceScaleFactor) deviceScaleFactor 3273 Source/web/WebViewImpl.cpp if (m_compositorDeviceScaleFactorOverride == deviceScaleFactor) deviceScaleFactor 3275 Source/web/WebViewImpl.cpp m_compositorDeviceScaleFactorOverride = deviceScaleFactor; deviceScaleFactor 3868 Source/web/WebViewImpl.cpp float deviceScaleFactor = m_compositorDeviceScaleFactorOverride ? m_compositorDeviceScaleFactorOverride : page()->deviceScaleFactor(); deviceScaleFactor 3869 Source/web/WebViewImpl.cpp m_layerTreeView->setDeviceScaleFactor(deviceScaleFactor); deviceScaleFactor 220 Source/web/WebViewImpl.h virtual float deviceScaleFactor() const OVERRIDE; deviceScaleFactor 873 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 894 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 921 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 942 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 2; deviceScaleFactor 950 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(2, webViewHelper.webView()->deviceScaleFactor()); deviceScaleFactor 969 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1006 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1042 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1066 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1086 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1107 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1128 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1150 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1171 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1190 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1211 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1231 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1262 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1282 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1311 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1336 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1359 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1385 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1412 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1437 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1490 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1517 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1536 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1557 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1585 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1608 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1645 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1664 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1684 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1719 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 1747 Source/web/tests/WebFrameTest.cpp float deviceScaleFactor = deviceScaleFactors[i]; deviceScaleFactor 1748 Source/web/tests/WebFrameTest.cpp float deviceDpi = deviceScaleFactor * 160.0f; deviceScaleFactor 1749 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = deviceScaleFactor; deviceScaleFactor 1759 Source/web/tests/WebFrameTest.cpp float densityDpiScaleRatio = deviceScaleFactor * targetDpi / deviceDpi; deviceScaleFactor 1778 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = deviceScaleFactors[i]; deviceScaleFactor 1786 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); deviceScaleFactor 1787 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportHeight * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height(), 1.0f); deviceScaleFactor 1788 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f); deviceScaleFactor 1804 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = deviceScaleFactors[i]; deviceScaleFactor 1825 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1.33f; deviceScaleFactor 1837 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); deviceScaleFactor 1838 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportHeight * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height(), 1.0f); deviceScaleFactor 1839 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f); deviceScaleFactor 1848 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1.33f; deviceScaleFactor 1861 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor / pageZoom, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); deviceScaleFactor 1862 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportHeight * client.m_screenInfo.deviceScaleFactor / pageZoom, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height(), 1.0f); deviceScaleFactor 1863 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f); deviceScaleFactor 1915 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1.33f; deviceScaleFactor 1928 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); deviceScaleFactor 1929 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportHeight * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height(), 1.0f); deviceScaleFactor 1930 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f); deviceScaleFactor 2097 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 2140 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 2166 Source/web/tests/WebFrameTest.cpp client.m_screenInfo.deviceScaleFactor = 1; deviceScaleFactor 2228 Source/web/tests/WebFrameTest.cpp const float deviceScaleFactor = 2.0f; deviceScaleFactor 2229 Source/web/tests/WebFrameTest.cpp int viewportWidth = 640 / deviceScaleFactor; deviceScaleFactor 2230 Source/web/tests/WebFrameTest.cpp int viewportHeight = 1280 / deviceScaleFactor; deviceScaleFactor 2234 Source/web/tests/WebFrameTest.cpp webViewHelper.webView()->setDeviceScaleFactor(deviceScaleFactor); deviceScaleFactor 2308 Source/web/tests/WebFrameTest.cpp const float deviceScaleFactor = 2.0f; deviceScaleFactor 2309 Source/web/tests/WebFrameTest.cpp int viewportWidth = 640 / deviceScaleFactor; deviceScaleFactor 2310 Source/web/tests/WebFrameTest.cpp int viewportHeight = 1280 / deviceScaleFactor; deviceScaleFactor 2316 Source/web/tests/WebFrameTest.cpp webViewHelper.webView()->setDeviceScaleFactor(deviceScaleFactor); deviceScaleFactor 2342 Source/web/tests/WebFrameTest.cpp const float deviceScaleFactor = 2.0f; deviceScaleFactor 2343 Source/web/tests/WebFrameTest.cpp int viewportWidth = 640 / deviceScaleFactor; deviceScaleFactor 2344 Source/web/tests/WebFrameTest.cpp int viewportHeight = 1280 / deviceScaleFactor; deviceScaleFactor 2349 Source/web/tests/WebFrameTest.cpp webViewHelper.webView()->setDeviceScaleFactor(deviceScaleFactor); deviceScaleFactor 2368 Source/web/tests/WebFrameTest.cpp const float deviceScaleFactor = 2.0f; deviceScaleFactor 2369 Source/web/tests/WebFrameTest.cpp int viewportWidth = 640 / deviceScaleFactor; deviceScaleFactor 2370 Source/web/tests/WebFrameTest.cpp int viewportHeight = 1280 / deviceScaleFactor; deviceScaleFactor 2376 Source/web/tests/WebFrameTest.cpp webViewHelper.webView()->setDeviceScaleFactor(deviceScaleFactor); deviceScaleFactor 2556 Source/web/tests/WebFrameTest.cpp const float deviceScaleFactor = 2.0f; deviceScaleFactor 2557 Source/web/tests/WebFrameTest.cpp int viewportWidth = 640 / deviceScaleFactor; deviceScaleFactor 2558 Source/web/tests/WebFrameTest.cpp int viewportHeight = 1280 / deviceScaleFactor; deviceScaleFactor 2564 Source/web/tests/WebFrameTest.cpp webViewHelper.webView()->setDeviceScaleFactor(deviceScaleFactor); deviceScaleFactor 72 public/platform/WebLayerTreeView.h virtual float deviceScaleFactor() const = 0; deviceScaleFactor 41 public/platform/WebScreenInfo.h float deviceScaleFactor; deviceScaleFactor 71 public/platform/WebScreenInfo.h : deviceScaleFactor(1) deviceScaleFactor 25 public/web/WebDeviceEmulationParams.h float deviceScaleFactor; deviceScaleFactor 38 public/web/WebDeviceEmulationParams.h , deviceScaleFactor(0) deviceScaleFactor 123 public/web/WebPluginContainer.h virtual float deviceScaleFactor() = 0; deviceScaleFactor 276 public/web/WebView.h virtual float deviceScaleFactor() const = 0; deviceScaleFactor 158 public/web/WebWidgetClient.h virtual float deviceScaleFactor() { return 1; }