Home
last modified time | relevance | path

Searched refs:clientWidth (Results 1 – 25 of 93) sorted by relevance

1234

/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/
Dbreadcrumbs_controller.js169 var containerWidth = this.bc_.clientWidth;
177 currentWidth = item.clientWidth;
180 currentWidth += item.clientWidth;
190 var lastCrumbSeparatorWidth = lastSeparator.clientWidth;
199 if (parentCrumb && pathWidth - maxPathWidth > parentCrumb.clientWidth) {
204 collapsedWidth = Math.min(maxPathWidth, parentCrumb.clientWidth);
206 if (parentCrumb.clientWidth != collapsedWidth)
212 collapsedWidth += lastSeparator.clientWidth;
213 maxPathWidth = Math.max(0, maxPathWidth - lastSeparator.clientWidth);
221 if (pathWidth + item.clientWidth <= maxPathWidth) {
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DOverviewGrid.js53 clientWidth: function() method in WebInspector.OverviewGrid
55 return this.element.clientWidth;
280 …window.end = Math.min(this._parentElement.clientWidth, middle + WebInspector.OverviewGrid.MinSelec…
282 … if (this._parentElement.clientWidth - window.end > WebInspector.OverviewGrid.MinSelectableSize)
308 var delta = (event.pageX - this._dragStartPoint) / this._parentElement.clientWidth;
337 if (end > this._parentElement.clientWidth - 10)
338 end = this._parentElement.clientWidth;
346 this._setWindowPosition(0, this._parentElement.clientWidth);
360 var widthInPixels = width * this._parentElement.clientWidth;
387 var clientWidth = this._parentElement.clientWidth;
[all …]
DTimelineOverviewPane.js105 this._overviewCalculator.setDisplayWindow(0, this._overviewGrid.clientWidth());
265 setDisplayWindow: function(paddingLeft, clientWidth) argument
267 this._workingArea = clientWidth - paddingLeft;
357 this._canvas.width = this.element.clientWidth * window.devicePixelRatio;
DFlameChart.js421 … this._resetCanvas(this._overviewContainer.clientWidth, this._overviewContainer.clientHeight - 20);
427 this._overviewContainer.clientWidth,
872 this._pixelWindowWidth = this._chartContainer.clientWidth - this._paddingLeft;
900 this.draw(this._chartContainer.clientWidth, this._chartContainer.clientHeight);
902 this._timelineGrid.element.style.width = this.element.clientWidth;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMarquee.cpp121 LayoutUnit clientWidth = this->clientWidth(); in computePosition() local
131 … return max<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
133 return ltr ? contentWidth : clientWidth; in computePosition()
137 … return min<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
139 return ltr ? -clientWidth : -contentWidth; in computePosition()
301 int clientSize = (isHorizontal() ? clientWidth() : clientHeight()); in timerFired()
DRenderBox.h168 …t() + computedCSSPaddingLeft(), borderTop() + computedCSSPaddingTop(), clientWidth() - computedCSS… in computedCSSContentBoxRect()
213 LayoutUnit contentWidth() const { return clientWidth() - paddingLeft() - paddingRight(); } in contentWidth()
233 LayoutUnit clientWidth() const;
235 …LayoutUnit clientLogicalWidth() const { return style()->isHorizontalWritingMode() ? clientWidth() … in clientLogicalWidth()
236 …gicalHeight() const { return style()->isHorizontalWritingMode() ? clientHeight() : clientWidth(); } in clientLogicalHeight()
238 …LayoutRect clientBoxRect() const { return LayoutRect(clientLeft(), clientTop(), clientWidth(), cli… in clientBoxRect()
470 …bool hasScrollableOverflowX() const { return scrollsOverflowX() && scrollWidth() != clientWidth();… in hasScrollableOverflowX()
/external/chromium_org/tools/telemetry/telemetry/page/actions/
Dscroll.js67 var clientWidth;
70 clientWidth = window.innerWidth;
72 clientWidth = this.element_.clientWidth;
74 return this.element_.scrollWidth - this.element_.scrollLeft - clientWidth;
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_splitter.js60 var clientWidth = this.table_.querySelector('list').clientWidth;
61 var percentChange = deltaX * 100 / clientWidth;
/external/chromium/chrome/browser/resources/ntp4/
Dtile_page.js107 this.lastWidth_ = this.clientWidth;
142 var availableSpace = this.tileGrid_.clientWidth - 2 * MIN_WIDE_MARGIN;
168 (this.tileGrid_.clientWidth - effectiveGridWidth) / 2);
186 if (this.lastWidth_ == this.clientWidth)
189 this.lastWidth_ = this.clientWidth;
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dgrid.js140 var originalClientWidth = this.clientWidth;
144 this.clientWidthWithoutScrollbar_ = this.clientWidth;
146 if (this.clientWidth != originalClientWidth) {
152 this.clientWidthWithScrollbar_ = this.clientWidth;
157 this.clientWidth;
Dposition_util.js69 width: docElement.clientWidth,
73 right: docElement.clientWidth
Dbubble.js156 var documentWidth = document.documentElement.clientWidth;
219 anchorMid - this.clientWidth + BubbleBase.ARROW_OFFSET :
/external/chromium_org/third_party/angle/src/libEGL/
DSurface.cpp310 int clientWidth = client.right - client.left; in checkForOutOfDateSwapChain() local
312 bool sizeDirty = clientWidth != getWidth() || clientHeight != getHeight(); in checkForOutOfDateSwapChain()
323 resetSwapChain(clientWidth, clientHeight); in checkForOutOfDateSwapChain()
327 resizeSwapChain(clientWidth, clientHeight); in checkForOutOfDateSwapChain()
/external/chromium/chrome/browser/resources/gpu_internals/
Dtimeline.js146 this.lastSize_ = this.clientWidth + 'x' + this.clientHeight;
148 var curSize = this.clientWidth + 'x' + this.clientHeight;
149 if (this.clientWidth && curSize != this.lastSize_) {
209 if (this.needsViewportReset_ && this.clientWidth != 0) {
235 var viewWidth = this.firstCanvas.clientWidth;
/external/chromium-trace/trace-viewer/src/tracing/tracks/
Dslice_track_test.js37 track.viewport.xSetWorldBounds(0, 8.8, track.clientWidth);
62 track.viewport.xSetWorldBounds(0, 1.1 * x, track.clientWidth);
97 track.viewport.xSetWorldBounds(0, 9.5, track.clientWidth);
185 track.viewport.xSetWorldBounds(0, 3.3, track.clientWidth);
Dcounter_track_test.js52 track.viewport.xSetWorldBounds(0, 10, track.clientWidth * pixelRatio);
90 track.viewport.xSetWorldBounds(0, 7.7, track.clientWidth);
Druler_track_test.js25 track.viewport.setPanAndScale(0, track.clientWidth / 1000);
Dcpu_track_test.js36 track.viewport.xSetWorldBounds(0, 11.1, track.clientWidth);
Dobject_instance_track_test.js51 track.viewport.xSetWorldBounds(0, 50, track.clientWidth);
/external/chromium_org/chrome/browser/resources/ntp4/
Dnew_tab.js353 var pxWidth = Math.max(measuringDiv.clientWidth * 1.15 + 4, 80);
369 if (menu.clientWidth > logo.clientWidth)
370 logo.style.WebkitFlex = '0 1 ' + menu.clientWidth + 'px';
372 menu.style.WebkitFlex = '0 1 ' + logo.clientWidth + 'px';
Dtile_page.js129 this.parentNode.clientWidth - this.offsetLeft :
826 var availableSpace = this.tileGrid_.clientWidth - 2 * MIN_WIDE_MARGIN;
841 (this.tileGrid_.clientWidth - effectiveGridWidth) / 2);
970 if (this.lastWidth_ == this.clientWidth &&
977 this.lastWidth_ = this.clientWidth;
1012 'black ' + (this.tileGrid_.clientWidth - leftMargin) + 'px, ' +
1013 'transparent ' + (this.tileGrid_.clientWidth - leftMargin +
/external/chromium_org/chrome/browser/resources/extensions/
Dextensions.js395 var pxWidth = measuringDiv.clientWidth + trashWidth;
398 pxWidth = Math.max(measuringDiv.clientWidth + trashWidth, pxWidth);
401 pxWidth = Math.max(measuringDiv.clientWidth, pxWidth);
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Dposition_util.js70 width: docElement.clientWidth,
74 right: docElement.clientWidth
/external/chromium-trace/trace-viewer/src/tracing/
Dtimeline_track_view.js297 var viewWidth = this.modelTrackContainer_.canvas.clientWidth;
353 var viewWidth = this.modelTrackContainer_.canvas.clientWidth;
406 var viewWidth = this.modelTrackContainer_.canvas.clientWidth;
689 var viewWidth = this.modelTrackContainer_.canvas.clientWidth;
/external/chromium_org/remoting/webapp/
Dtoolbar.js81 var toolbarX = (window.innerWidth - this.toolbar_.clientWidth) / 2;

1234