/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebScreenInfo.h | 41 float deviceScaleFactor; member in struct:blink::WebScreenInfo 71 : deviceScaleFactor(1)
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLSrcsetParser.h | 71 ImageCandidate bestFitSourceForSrcsetAttribute(float deviceScaleFactor, const String& srcsetAttribute); 73 ImageCandidate bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, const String& srcsetAttribute); 75 String bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, ImageCandidate& srcsetImageCandidate);
|
H A D | HTMLSrcsetParser.cpp | 133 static ImageCandidate pickBestImageCandidate(float deviceScaleFactor, Vector<ImageCandidate>& imageCandidates) argument 142 if (imageCandidates[i].scaleFactor() >= deviceScaleFactor) 148 ImageCandidate bestFitSourceForSrcsetAttribute(float deviceScaleFactor, const String& srcsetAttribute) argument 154 return pickBestImageCandidate(deviceScaleFactor, imageCandidates); 157 ImageCandidate bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, const String& srcsetAttribute) argument 172 return pickBestImageCandidate(deviceScaleFactor, imageCandidates); 175 String bestFitSourceForImageAttributes(float deviceScaleFactor, const String& srcAttribute, ImageCandidate& srcsetImageCandidate) argument 186 return pickBestImageCandidate(deviceScaleFactor, imageCandidates).toString();
|
H A D | HTMLPreloadScanner.h | 47 TokenPreloadScanner(const KURL& documentURL, float deviceScaleFactor); 101 HTMLPreloadScanner(const HTMLParserOptions&, const KURL& documentURL, float deviceScaleFactor);
|
H A D | HTMLPreloadScanner.cpp | 95 StartTagScanner(const StringImpl* tagImpl, float deviceScaleFactor) argument 99 , m_deviceScaleFactor(deviceScaleFactor) 270 TokenPreloadScanner::TokenPreloadScanner(const KURL& documentURL, float deviceScaleFactor) argument 273 , m_deviceScaleFactor(deviceScaleFactor) 375 HTMLPreloadScanner::HTMLPreloadScanner(const HTMLParserOptions& options, const KURL& documentURL, float deviceScaleFactor) argument 376 : m_scanner(documentURL, deviceScaleFactor)
|
/external/chromium_org/content/renderer/ |
H A D | resizing_mode_selector.cc | 26 params.screen_info.deviceScaleFactor == 27 widget->screenInfo().deviceScaleFactor;
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | Screen.cpp | 55 return lroundf(screenRect(m_frame->view()).height() * page->deviceScaleFactor()); 65 return lroundf(screenRect(m_frame->view()).width() * page->deviceScaleFactor()); 89 return lroundf(screenAvailableRect(m_frame->view()).x() * page->deviceScaleFactor()); 99 return lroundf(screenAvailableRect(m_frame->view()).y() * page->deviceScaleFactor()); 109 return lroundf(screenAvailableRect(m_frame->view()).height() * page->deviceScaleFactor()); 119 return lroundf(screenAvailableRect(m_frame->view()).width() * page->deviceScaleFactor());
|
H A D | Frame.cpp | 648 float deviceScaleFactor = 1; local 650 deviceScaleFactor = m_page->deviceScaleFactor(); 651 paintingRect.setWidth(paintingRect.width() * deviceScaleFactor); 652 paintingRect.setHeight(paintingRect.height() * deviceScaleFactor); 657 buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); 664 return DragImage::create(image.get(), renderer->shouldRespectImageOrientation(), deviceScaleFactor); 678 float deviceScaleFactor = 1; local 680 deviceScaleFactor [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSCursorImageValue.h | 54 StyleImage* cachedImage(ResourceFetcher*, float deviceScaleFactor); 55 StyleImage* cachedOrPendingImage(float deviceScaleFactor);
|
H A D | CSSCursorImageValue.cpp | 121 StyleImage* CSSCursorImageValue::cachedImage(ResourceFetcher* loader, float deviceScaleFactor) argument 124 return toCSSImageSetValue(m_imageValue.get())->cachedImageSet(loader, deviceScaleFactor); 152 StyleImage* CSSCursorImageValue::cachedOrPendingImage(float deviceScaleFactor) argument 156 return toCSSImageSetValue(m_imageValue.get())->cachedOrPendingImageSet(deviceScaleFactor);
|
H A D | CSSImageSetValue.cpp | 91 StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(ResourceFetcher* loader, float deviceScaleFactor) argument 95 m_scaleFactor = deviceScaleFactor; 101 // FIXME: In the future, we want to take much more than deviceScaleFactor into acount here. 117 StyleImage* CSSImageSetValue::cachedOrPendingImageSet(float deviceScaleFactor) argument 122 // If the deviceScaleFactor has changed, we may not have the best image loaded, so we have to re-assess. 123 if (deviceScaleFactor != m_scaleFactor) {
|
H A D | CSSImageSetValue.h | 46 StyleFetchedImageSet* cachedImageSet(ResourceFetcher*, float deviceScaleFactor);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
H A D | DragImage.h | 42 static PassOwnPtr<DragImage> create(Image*, RespectImageOrientationEnum = DoNotRespectImageOrientation, float deviceScaleFactor = 1); 43 static PassOwnPtr<DragImage> create(const KURL&, const String& label, const FontDescription& systemFont, float deviceScaleFactor);
|
H A D | DragImage.cpp | 68 PassOwnPtr<DragImage> DragImage::create(Image* image, RespectImageOrientationEnum shouldRespectImageOrientation, float deviceScaleFactor) argument 100 return adoptPtr(new DragImage(skBitmap, deviceScaleFactor)); 107 return adoptPtr(new DragImage(skBitmap, deviceScaleFactor)); 121 PassOwnPtr<DragImage> DragImage::create(const KURL& url, const String& inLabel, const FontDescription& systemFont, float deviceScaleFactor) argument 165 scaledImageSize.scale(deviceScaleFactor); 169 buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); 194 return DragImage::create(image.get(), DoNotRespectImageOrientation, deviceScaleFactor);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | DragClientImpl.cpp | 80 if (m_webView->deviceScaleFactor() != resolutionScale) { 82 float scale = m_webView->deviceScaleFactor() / resolutionScale;
|
H A D | PageScaleConstraintsSet.h | 52 void adjustForAndroidWebViewQuirks(const WebCore::ViewportDescription&, WebCore::IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode, bool nonUserScalableQuirkEnabled);
|
H A D | InspectorClientImpl.cpp | 98 void InspectorClientImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) argument 101 agent->overrideDeviceMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow);
|
H A D | PageScaleConstraintsSet.cpp | 110 static float computeDeprecatedTargetDensityDPIFactor(const ViewportDescription& description, float deviceScaleFactor) argument 113 return 1.0f / deviceScaleFactor; 137 void PageScaleConstraintsSet::adjustForAndroidWebViewQuirks(const ViewportDescription& description, IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode, bool nonUserScalableQuirkEnabled) argument 160 targetDensityDPIFactor = computeDeprecatedTargetDensityDPIFactor(description, deviceScaleFactor);
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | ElementStyleResources.h | 66 float deviceScaleFactor() const { return m_deviceScaleFactor; } function in class:WebCore::ElementStyleResources 67 void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = deviceScaleFactor; } argument
|
H A D | StyleResourceLoader.cpp | 80 PassRefPtr<StyleImage> StyleResourceLoader::loadPendingImage(StylePendingImage* pendingImage, float deviceScaleFactor) argument 95 return cursorImageValue->cachedImage(m_fetcher, deviceScaleFactor); 100 return imageSetValue->cachedImageSet(m_fetcher, deviceScaleFactor); 137 backgroundLayer->setImage(loadPendingImage(toStylePendingImage(backgroundLayer->image()), elementStyleResources.deviceScaleFactor())); 146 RefPtr<StyleImage> loadedImage = loadPendingImage(toStylePendingImage(image), elementStyleResources.deviceScaleFactor()); 160 currentCursor.setImage(loadPendingImage(toStylePendingImage(image), elementStyleResources.deviceScaleFactor())); 168 style->setListStyleImage(loadPendingImage(toStylePendingImage(style->listStyleImage()), elementStyleResources.deviceScaleFactor())); 173 style->setBorderImageSource(loadPendingImage(toStylePendingImage(style->borderImageSource()), elementStyleResources.deviceScaleFactor())); 180 RefPtr<StyleImage> loadedImage = loadPendingImage(toStylePendingImage(maskImage.image()), elementStyleResources.deviceScaleFactor()); 188 style->setMaskBoxImageSource(loadPendingImage(toStylePendingImage(style->maskBoxImageSource()), elementStyleResources.deviceScaleFactor())); [all...] |
H A D | StyleResolverState.cpp | 51 m_elementStyleResources.setDeviceScaleFactor(page->deviceScaleFactor());
|
H A D | StyleResourceLoader.h | 55 PassRefPtr<StyleImage> loadPendingImage(StylePendingImage*, float deviceScaleFactor);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
H A D | OverridesSupport.js | 69 * @param {number} deviceScaleFactor 72 WebInspector.OverridesSupport.DeviceMetrics = function(width, height, deviceScaleFactor, textAutosizing) 76 this.deviceScaleFactor = deviceScaleFactor; 87 var deviceScaleFactor = 1; 94 deviceScaleFactor = parseFloat(splitMetrics[2]); 99 return new WebInspector.OverridesSupport.DeviceMetrics(width, height, deviceScaleFactor, textAutosizing); 126 var deviceScaleFactor = isDeviceScaleFactorValid ? parseFloat(deviceScaleFactorString) : -1; 128 return new WebInspector.OverridesSupport.DeviceMetrics(width, height, deviceScaleFactor, textAutosizing); 161 return this.deviceScaleFactor > [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGRenderingContext.cpp | 209 float deviceScaleFactor = 1; local 211 deviceScaleFactor = page->deviceScaleFactor(); 238 if (deviceScaleFactor != 1) 239 absoluteTransform.scale(deviceScaleFactor);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
H A D | RenderCoordinates.java | 49 void setDeviceScaleFactor(float deviceScaleFactor) { argument 50 mDeviceScaleFactor = deviceScaleFactor;
|