Home
last modified time | relevance | path

Searched refs:innerWidth (Results 1 – 25 of 48) sorted by relevance

12

/external/skia/src/images/
DSkImageDecoder_libgif.cpp237 const int innerWidth = desc.Width; local
239 if (innerWidth <= 0 || innerHeight <= 0) {
244 if (innerWidth > width) {
246 width = innerWidth;
248 } else if (imageLeft + innerWidth > width) {
250 imageLeft = width - innerWidth;
328 if (innerWidth <= 0 || innerHeight <= 0) {
334 SkAutoMalloc storage(innerWidth);
344 innerWidth < width || innerHeight < height) {
351 innerWidth / sampler.srcDX(),
[all …]
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder_libgif.cpp237 const int innerWidth = desc.Width; local
239 if (innerWidth <= 0 || innerHeight <= 0) {
244 if (innerWidth > width) {
246 width = innerWidth;
248 } else if (imageLeft + innerWidth > width) {
250 imageLeft = width - innerWidth;
328 if (innerWidth <= 0 || innerHeight <= 0) {
334 SkAutoMalloc storage(innerWidth);
344 innerWidth < width || innerHeight < height) {
351 innerWidth / sampler.srcDX(),
[all …]
/external/chromium-trace/trace-viewer/src/tracing/tracks/
Ddrawing_container.js98 var innerWidth = firstChildTrackBounds.width -
103 if (this.canvas_.width != innerWidth * pixelRatio) {
104 this.canvas_.width = innerWidth * pixelRatio;
105 this.canvas_.style.width = innerWidth + 'px';
/external/chromium_org/third_party/WebKit/PerformanceTests/Interactive/resources/
Dwindow-resize.js5 var portrait = { width: window.innerWidth, height: window.innerHeight };
6 var landscape = { width: window.innerHeight, height: window.innerWidth };
/external/chromium/chrome/browser/printing/cloud_print/resources/
Dcloud_print_setup_flow.js31 var moveByX = (window.innerWidth - width) / 2;
33 var sizeByX = width - window.innerWidth;
/external/chromium_org/remoting/webapp/
Dclient_session.js173 needsHorizontalScroll = window.innerWidth < this.plugin_.desktopWidth;
180 window.innerWidth - kScrollBarWidth < this.plugin_.desktopWidth;
668 this.plugin_.notifyClientResolution(window.innerWidth,
855 this.plugin_.notifyClientResolution(window.innerWidth,
915 this.plugin_.notifyClientResolution(window.innerWidth,
974 window.innerWidth,
1040 var windowWidth = window.innerWidth;
1234 window.innerWidth, plugin.width, stopX);
1293 var dx = computeDelta(event.x, window.innerWidth);
Dtoolbar.js81 var toolbarX = (window.innerWidth - this.toolbar_.clientWidth) / 2;
/external/chromium_org/chrome/browser/resources/local_ntp/
Dlocal_ntp.js722 var innerWidth = window.innerWidth || 820;
731 if (innerWidth >= 820)
733 else if (innerWidth >= 660)
741 var availableWidth = innerWidth + TILE_MARGIN_START -
/external/chromium_org/tools/telemetry/telemetry/page/actions/
Dgesture_common.js17 var outsideWidth = (rect.left + rect.width) - window.innerWidth;
Dpinch.js33 var anchor_x = window.innerWidth / 2;
Dscroll.js70 clientWidth = window.innerWidth;
/external/chromium_org/ui/keyboard/resources/
Dmain.js6 var x = window.innerWidth;
/external/chromium-trace/trace-viewer/src/ui/
Dmouse_mode_selector.js50 x: base.Settings.get('mouse_mode_selector.x', window.innerWidth - 50),
303 var right = window.innerWidth - this.offsetWidth;
/external/chromium_org/chrome/test/functional/perf/endure_graphs/js/
Dcoordinates.js23 width = window.innerWidth - 16;
/external/chromium/chrome/browser/resources/net_internals/
Dview.js141 this.setGeometry(0, 0, window.innerWidth, window.innerHeight);
/external/chromium/chrome/browser/resources/
Dkeyboard_overlay.js350 var minX = window.innerWidth;
354 var multiplier = 1.38 * window.innerWidth / BASE_KEYBOARD.width;
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwViewportTest.java144 float innerWidth = Integer.parseInt( in testScreenSizeInPhysicalPixelsQuirk() local
146 assertEquals(innerWidth * dipScale, outerWidth, 10f); in testScreenSizeInPhysicalPixelsQuirk()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DDialog.js163 positionX = Number.constrain(positionX, 0, window.innerWidth - element.offsetWidth);
/external/chromium_org/chrome/browser/resources/chromeos/
Dkeyboard_overlay.js480 var minX = window.innerWidth;
484 var multiplier = 1.38 * window.innerWidth / BASE_KEYBOARD.width;
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
Dbouncing_balls.js61 canvasWidth = window.innerWidth;
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
Dpopuplib.js68 width = window.innerWidth;
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
Dpopuplib.js68 width = window.innerWidth;
/external/chromium/chrome/common/extensions/docs/examples/extensions/app_launcher/
Dpopup.js96 var correction = window.innerWidth - document.documentElement.clientWidth;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/app_launcher/
Dpopup.js96 var correction = window.innerWidth - document.documentElement.clientWidth;
/external/chromium_org/chrome/browser/resources/net_internals/
Dview.js196 this.setGeometry(0, 0, window.innerWidth, window.innerHeight);

12