OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:deviceScaleFactor
(Results
1 - 25
of
76
) sorted by null
1
2
3
4
/external/chromium_org/third_party/WebKit/public/platform/
WebScreenInfo.h
41
float
deviceScaleFactor
;
71
:
deviceScaleFactor
(1)
WebLayerTreeView.h
72
virtual float
deviceScaleFactor
() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
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);
HTMLSrcsetParser.cpp
133
static ImageCandidate pickBestImageCandidate(float
deviceScaleFactor
, Vector<ImageCandidate>& imageCandidates)
142
if (imageCandidates[i].scaleFactor() >=
deviceScaleFactor
)
148
ImageCandidate bestFitSourceForSrcsetAttribute(float
deviceScaleFactor
, const String& srcsetAttribute)
154
return pickBestImageCandidate(
deviceScaleFactor
, imageCandidates);
157
ImageCandidate bestFitSourceForImageAttributes(float
deviceScaleFactor
, const String& srcAttribute, const String& srcsetAttribute)
172
return pickBestImageCandidate(
deviceScaleFactor
, imageCandidates);
175
String bestFitSourceForImageAttributes(float
deviceScaleFactor
, const String& srcAttribute, ImageCandidate& srcsetImageCandidate)
186
return pickBestImageCandidate(
deviceScaleFactor
, imageCandidates).toString();
HTMLPreloadScanner.h
47
TokenPreloadScanner(const KURL& documentURL, float
deviceScaleFactor
);
101
HTMLPreloadScanner(const HTMLParserOptions&, const KURL& documentURL, float
deviceScaleFactor
);
/external/chromium_org/content/renderer/
resizing_mode_selector.cc
26
params.screen_info.
deviceScaleFactor
==
27
widget->screenInfo().
deviceScaleFactor
;
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
ElementStyleResources.h
66
float
deviceScaleFactor
() const { return m_deviceScaleFactor; }
67
void setDeviceScaleFactor(float
deviceScaleFactor
) { m_deviceScaleFactor =
deviceScaleFactor
; }
StyleResourceLoader.cpp
80
PassRefPtr<StyleImage> StyleResourceLoader::loadPendingImage(StylePendingImage* pendingImage, float
deviceScaleFactor
)
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
...]
StyleResolverState.cpp
51
m_elementStyleResources.setDeviceScaleFactor(page->
deviceScaleFactor
());
StyleResourceLoader.h
55
PassRefPtr<StyleImage> loadPendingImage(StylePendingImage*, float
deviceScaleFactor
);
/external/chromium_org/third_party/WebKit/Source/core/frame/
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
());
Frame.cpp
648
float
deviceScaleFactor
= 1;
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;
680
deviceScaleFactor
= m_page->deviceScaleFactor()
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/platform/
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
);
DragImage.cpp
68
PassOwnPtr<DragImage> DragImage::create(Image* image, RespectImageOrientationEnum shouldRespectImageOrientation, float
deviceScaleFactor
)
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
)
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/core/css/
CSSCursorImageValue.h
54
StyleImage* cachedImage(ResourceFetcher*, float
deviceScaleFactor
);
55
StyleImage* cachedOrPendingImage(float
deviceScaleFactor
);
CSSCursorImageValue.cpp
121
StyleImage* CSSCursorImageValue::cachedImage(ResourceFetcher* loader, float
deviceScaleFactor
)
124
return toCSSImageSetValue(m_imageValue.get())->cachedImageSet(loader,
deviceScaleFactor
);
152
StyleImage* CSSCursorImageValue::cachedOrPendingImage(float
deviceScaleFactor
)
156
return toCSSImageSetValue(m_imageValue.get())->cachedOrPendingImageSet(
deviceScaleFactor
);
CSSImageSetValue.cpp
91
StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(ResourceFetcher* loader, float
deviceScaleFactor
)
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
)
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) {
CSSImageSetValue.h
46
StyleFetchedImageSet* cachedImageSet(ResourceFetcher*, float
deviceScaleFactor
);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
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
> 0
[
all
...]
/external/chromium_org/third_party/WebKit/Source/web/
DragClientImpl.cpp
80
if (m_webView->
deviceScaleFactor
() != resolutionScale) {
82
float scale = m_webView->
deviceScaleFactor
() / resolutionScale;
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);
/external/chromium_org/third_party/WebKit/public/web/
WebDevToolsAgentClient.h
99
float
deviceScaleFactor
, bool fitToView) { }
WebPluginContainer.h
123
virtual float
deviceScaleFactor
() = 0;
WebWidgetClient.h
154
virtual float
deviceScaleFactor
() { return 1; }
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGRenderingContext.cpp
209
float
deviceScaleFactor
= 1;
211
deviceScaleFactor
= page->
deviceScaleFactor
();
238
if (
deviceScaleFactor
!= 1)
239
absoluteTransform.scale(
deviceScaleFactor
);
Completed in 3411 milliseconds
1
2
3
4