Home
last modified time | relevance | path

Searched refs:innerHeight (Results 1 – 25 of 52) sorted by relevance

123

/external/skia/src/images/
DSkImageDecoder_libgif.cpp238 const int innerHeight = desc.Height; local
239 if (innerWidth <= 0 || innerHeight <= 0) {
257 if (innerHeight > height) {
259 height = innerHeight;
261 } else if (imageTop + innerHeight > height) {
263 imageTop = height - innerHeight;
328 if (innerWidth <= 0 || innerHeight <= 0) {
344 innerWidth < width || innerHeight < height) {
352 innerHeight / sampler.srcDY()));
357 sampler = SkScaledBitmapSampler(innerWidth, innerHeight, this->getSampleSize());
[all …]
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder_libgif.cpp238 const int innerHeight = desc.Height; local
239 if (innerWidth <= 0 || innerHeight <= 0) {
257 if (innerHeight > height) {
259 height = innerHeight;
261 } else if (imageTop + innerHeight > height) {
263 imageTop = height - innerHeight;
328 if (innerWidth <= 0 || innerHeight <= 0) {
344 innerWidth < width || innerHeight < height) {
352 innerHeight / sampler.srcDY()));
357 sampler = SkScaledBitmapSampler(innerWidth, innerHeight, this->getSampleSize());
[all …]
/external/chromium-trace/trace-viewer/src/tracing/tracks/
Ddrawing_container.js100 var innerHeight = lastChildTrackBounds.bottom - firstChildTrackBounds.top;
108 if (this.canvas_.height != innerHeight * pixelRatio) {
109 this.canvas_.height = innerHeight * pixelRatio;
110 this.canvas_.style.height = innerHeight + '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.js32 var moveByY = (window.innerHeight - height) / 2;
34 var sizeByY = height - window.innerHeight;
/external/chromium_org/remoting/webapp/
Dclient_session.js172 needsVerticalScroll = window.innerHeight < this.plugin_.desktopHeight;
177 window.innerHeight - kScrollBarWidth < this.plugin_.desktopHeight;
669 window.innerHeight,
856 window.innerHeight,
916 window.innerHeight,
975 window.innerHeight,
1041 var windowHeight = window.innerHeight;
1237 window.innerHeight, plugin.height, stopY);
1294 var dy = computeDelta(event.y, window.innerHeight);
/external/chromium/chrome/common/extensions/docs/examples/extensions/app_launcher/
Dpopup.js151 } else if (rect.bottom > innerHeight) {
152 window.scrollBy(0, rect.bottom - innerHeight);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/app_launcher/
Dpopup.js133 } else if (rect.bottom > innerHeight) {
134 window.scrollBy(0, rect.bottom - innerHeight);
/external/chromium_org/tools/telemetry/telemetry/page/actions/
Dgesture_common.js16 var outsideHeight = (rect.top + rect.height) - window.innerHeight;
Dpinch.js34 var anchor_y = window.innerHeight / 2;
Dscroll.js57 clientHeight = window.innerHeight;
/external/chromium_org/chrome/common/extensions/docs/static/js/
Dscroll.js27 if (window.innerHeight >= sidebar.scrollHeight) {
/external/chromium/chrome/browser/resources/
Dmenu.js519 if (window.innerHeight < 2) {
528 if (this.scrollHeight > window.innerHeight && this.scrollEnabled) {
529 this.style.height = (window.innerHeight - this.buttonHeight_) + 'px';
Dnew_new_tab.js418 return window.innerHeight != document.body.clientHeight;
505 var flexHeight = window.innerHeight - headerHeight - footerHeight;
579 var first = parseFloat(maxiview.style.top) / window.innerHeight;
580 var second = first + gradientHeightPx / window.innerHeight;
581 var fourth = first + (visibleHeightPx - bottomSpacing) / window.innerHeight;
582 var third = fourth - gradientHeightPx / window.innerHeight;
/external/chromium_org/chrome/browser/resources/chromeos/
Dmenu.js514 if (window.innerHeight < 2) {
523 if (this.scrollHeight > window.innerHeight && this.scrollEnabled) {
524 this.style.height = (window.innerHeight - this.buttonHeight_) + 'px';
/external/chromium_org/ui/keyboard/resources/
Dmain.js7 var y = window.innerHeight;
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/cr/ui/
Doverlay.js48 var maxHeight = Math.min(0.9 * window.innerHeight, 640) + 'px';
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/
Daudio_player.js387 this.lastExpandedHeight_ = window.innerHeight;
417 window.innerHeight >= AudioPlayer.EXPANDED_MODE_MIN_HEIGHT) {
420 window.innerHeight < AudioPlayer.EXPANDED_MODE_MIN_HEIGHT) {
/external/chromium_org/ui/webui/resources/js/cr/ui/
Doverlay.js85 var maxHeight = Math.min(0.9 * window.innerHeight, 640) + 'px';
/external/chromium_org/chrome/test/functional/perf/endure_graphs/js/
Dcoordinates.js22 height = window.innerHeight - 16;
/external/chromium/chrome/browser/resources/net_internals/
Dview.js141 this.setGeometry(0, 0, window.innerWidth, window.innerHeight);
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwViewportTest.java160 float innerHeight = Integer.parseInt( in testScreenSizeInPhysicalPixelsQuirk() local
162 assertEquals(innerHeight * dipScale, outerHeight, 10f); in testScreenSizeInPhysicalPixelsQuirk()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DDialog.js166 positionY = Number.constrain(positionY, 0, window.innerHeight - element.offsetHeight);
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
Dbouncing_balls.js62 canvasHeight = window.innerHeight;
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
Dpopuplib.js69 height = window.innerHeight;

123