/external/chromium_org/ppapi/examples/scaling/ |
scaling.cc | 160 // when displayed on a non-high-DPI device (window.devicePixelRatio == 1).
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
Frame.h | 186 double devicePixelRatio() const;
|
DOMWindow.h | 214 double devicePixelRatio() const;
|
Window.idl | 141 [Replaceable] readonly attribute double devicePixelRatio;
|
DOMWindow.cpp | [all...] |
Frame.cpp | 697 double Frame::devicePixelRatio() const
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
Internals.idl | 110 float devicePixelRatio,
|
Internals.h | 156 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
ScreencastView.js | 506 this._canvasElement.width = window.devicePixelRatio * this._canvasElement.offsetWidth; 507 this._canvasElement.height = window.devicePixelRatio * this._canvasElement.offsetHeight; 510 this._context.scale(window.devicePixelRatio, window.devicePixelRatio); [all...] |
HeapSnapshotView.js | [all...] |
OverridesView.js | 427 this._viewportValueElement.textContent = WebInspector.UIString("%s \u00D7 %s, devicePixelRatio = %s", metrics.width, metrics.height, metrics.deviceScaleFactor); [all...] |
/frameworks/base/docs/html/guide/webapps/ |
targeting.jd | 412 device—the <code>window.devicePixelRatio</code> DOM property. The value of this property 414 of <code>window.devicePixelRatio</code> is "1.0", then the device is considered a medium density 427 if (window.devicePixelRatio == 1.5) { 429 } else if (window.devicePixelRatio == 0.75) {
|
migrating.jd | 311 is set to 1.0, you can use <code>window.devicePixelRatio</code>
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLDocumentParser.cpp | 568 m_preloadScanner = adoptPtr(new HTMLPreloadScanner(m_options, document()->url(), document()->devicePixelRatio())); 645 m_insertionPreloadScanner = adoptPtr(new HTMLPreloadScanner(m_options, document()->url(), document()->devicePixelRatio())); 668 config->preloadScanner = adoptPtr(new TokenPreloadScanner(document()->url().copy(), document()->devicePixelRatio())); [all...] |
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
slice_track.js | 95 var pixelRatio = window.devicePixelRatio || 1;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLImageElement.cpp | 129 ImageCandidate candidate = bestFitSourceForImageAttributes(document().devicePixelRatio(), fastGetAttribute(srcAttr), fastGetAttribute(srcsetAttr));
|
/external/chromium-trace/trace-viewer/src/tracing/ |
timeline_track_view.js | 407 var pixelRatio = window.devicePixelRatio || 1; 565 var pixelRatio = window.devicePixelRatio || 1;
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
image_view.js | 932 * for devicePixelRatio. 995 * should be given in device coordinates (accounting for devicePixelRatio). [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
user_images_grid.js | 205 this.previewImage_.src = url + '@' + window.devicePixelRatio + 'x';
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaQueryEvaluator.cpp | 282 actualResolution = clampTo<float>(frame->devicePixelRatio());
|
/external/chromium-trace/ |
script.js | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Document.h | 440 float devicePixelRatio() const; [all...] |
Document.cpp | [all...] |
/frameworks/base/core/java/android/webkit/ |
WebView.java | 215 * <li>The {@code window.devicePixelRatio} DOM property. The value of this property specifies the 217 * window.devicePixelRatio} is "1.0", then the device is considered a medium density (mdpi) device [all...] |
/external/chromium_org/chrome/browser/resources/ntp_android/ |
ntp_android.js | 613 iconUrl = 'chrome://touch-icon/size/16@' + window.devicePixelRatio + [all...] |