Home
last modified time | relevance | path

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

123

/external/webkit/Source/WebCore/rendering/
DRenderMarquee.cpp118 int clientWidth = box->clientWidth(); in computePosition() local
128 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
130 return ltr ? contentWidth : clientWidth; in computePosition()
134 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
136 return ltr ? -clientWidth : -contentWidth; in computePosition()
295 …int clientSize = (isHorizontal() ? m_layer->renderBox()->clientWidth() : m_layer->renderBox()->cli… in timerFired()
DRenderBox.h140 …ow() const { return m_overflow ? m_overflow->maxXLayoutOverflow() : borderLeft() + clientWidth(); } in maxXLayoutOverflow()
165 int contentWidth() const { return clientWidth() - paddingLeft() - paddingRight(); } in contentWidth()
179 int clientWidth() const;
181 …int clientLogicalWidth() const { return style()->isHorizontalWritingMode() ? clientWidth() : clien… in clientLogicalWidth()
182 …gicalHeight() const { return style()->isHorizontalWritingMode() ? clientHeight() : clientWidth(); } in clientLogicalHeight()
184 …IntRect clientBoxRect() const { return IntRect(clientLeft(), clientTop(), clientWidth(), clientHei… in clientBoxRect()
DRenderLayer.cpp1349 int maxX = scrollWidth() - box->clientWidth(); in scrollTo()
1484 …tRect(absPos.x() + scrollXOffset(), absPos.y() + scrollYOffset(), box->clientWidth(), box->clientH… in scrollTo()
2172 *needHBar = m_scrollWidth > box->clientWidth(); in scrollTo()
2214 int newX = max(0, min(scrollXOffset(), scrollWidth() - box->clientWidth())); in scrollTo()
2288 int clientWidth = box->clientWidth(); in scrollTo() local
2289 …int pageStep = max(max<int>(clientWidth * Scrollbar::minFractionToStepWhenPaging(), clientWidth - … in scrollTo()
2291 m_hBar->setProportion(clientWidth, m_scrollWidth); in scrollTo()
/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;
Dtable_header.js43 this.headerInner_.style.width = list.clientWidth + 'px';
/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/webkit/Source/WebCore/inspector/front-end/
DTimelineGrid.js74 var dividersLabelBarElementClientWidth = this._dividersLabelBarElement.clientWidth;
75 var clientWidth = dividersLabelBarElementClientWidth - paddingLeft;
89 dividersLabelBarElementClientWidth = this._dividersLabelBarElement.clientWidth;
108 var left = paddingLeft + clientWidth * (i / dividerCount);
DTimelineOverviewPane.js282 if (end > this._overviewGrid.element.clientWidth) {
283 end = this._overviewGrid.element.clientWidth;
304 if (end > this._overviewGrid.element.clientWidth - 10)
305 end = this._overviewGrid.element.clientWidth;
313 const rulerAdjustment = 1 / this._overviewGrid.element.clientWidth;
315 this.windowLeft = start / this._overviewGrid.element.clientWidth;
321 this.windowRight = end / this._overviewGrid.element.clientWidth;
DDrawer.js115 …var oldRight = this._drawerStatusBar.clientWidth - (this._counters.offsetLeft + this._currentPanel…
174 var newRight = this._drawerStatusBar.clientWidth - this._counters.offsetLeft;
175 …var oldRight = this._mainStatusBar.clientWidth - (this._currentPanelCounters.offsetLeft + this._cu…
DTimelinePanel.js227 var clientWidth = this._graphRowsElement.offsetWidth - this._expandOffset;
231 var positions = this._calculator.computeBarGraphWindowPosition(record, clientWidth);
233 if (dividerPosition < 0 || dividerPosition >= clientWidth || dividers[dividerPosition])
700 computeBarGraphWindowPosition: function(record, clientWidth) argument
704 var workingArea = clientWidth - minWidth - borderWidth;
833 update: function(record, isEven, calculator, clientWidth, expandOffset, index) argument
837 … var barPosition = calculator.computeBarGraphWindowPosition(record, clientWidth - expandOffset);
/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;
Dtimeline_track.js210 this.canvas_.width = this.canvasContainer_.clientWidth;
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Dposition_util.js70 width: docElement.clientWidth,
74 right: docElement.clientWidth
Dgrid.js91 return width ? Math.floor(this.clientWidth / width) : 0;
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
DSurface.cpp373 int clientWidth = client.right - client.left; in checkForOutOfDateSwapChain() local
375 bool sizeDirty = clientWidth != getWidth() || clientHeight != getHeight(); in checkForOutOfDateSwapChain()
379 resetSwapChain(clientWidth, clientHeight); in checkForOutOfDateSwapChain()
/external/chromium-trace/trace-viewer/src/
Dtimeline_viewport.js108 if (!this.isAttachedToDocument_ || this.clientWidth == 0)
121 var curSize = this.clientWidth + 'x' + this.clientHeight;
Dui.js136 var max = parentEl.clientWidth - startPos - inner - parentPadding;
Dtimeline.js228 var viewWidth = this.firstCanvas.clientWidth;
291 var viewWidth = this.firstCanvas.clientWidth;
354 var viewWidth = this.firstCanvas.clientWidth;
/external/chromium/chrome/browser/resources/shared/js/cr/
Dui.js136 var max = parentEl.clientWidth - startPos - inner - parentPadding;
/external/chromium/chrome/browser/resources/bookmark_manager/js/bmm/
Dbookmark_list.js320 if (list.offsetWidth != list.parentNode.clientWidth - list.offsetLeft) {
322 list.style.width = list.parentNode.clientWidth - list.offsetLeft + 'px';
/external/webkit/Source/WebCore/platform/
DScrollView.cpp602 int clientWidth = visibleWidth(); in updateScrollbars() local
603 m_horizontalScrollbar->setEnabled(contentsWidth() > clientWidth); in updateScrollbars()
604 …int pageStep = max(max<int>(clientWidth * Scrollbar::minFractionToStepWhenPaging(), clientWidth - … in updateScrollbars()
617 m_horizontalScrollbar->setProportion(clientWidth, contentsWidth()); in updateScrollbars()
/external/chromium/chrome/common/extensions/docs/examples/extensions/app_launcher/
Dpopup.js96 var correction = window.innerWidth - document.documentElement.clientWidth;
/external/webkit/Source/WebCore/page/
DSpatialNavigation.cpp388 …)->scrollWidth() > (container->renderBox()->scrollLeft() + container->renderBox()->clientWidth())); in scrollInDirection()
389 …)->scrollWidth() - (container->renderBox()->scrollLeft() + container->renderBox()->clientWidth())); in scrollInDirection()
467 …DDEN && container->renderBox()->scrollLeft() + container->renderBox()->clientWidth() < container->… in canScrollInDirection()
/external/chromium/chrome/browser/resources/
Dprint_preview_animations.js151 insideEl.scrollbarWidth = insideEl.offsetWidth - insideEl.clientWidth;
/external/chromium/chrome/browser/resources/file_manager/js/
Dfile_manager.js729 this.grid_.parentNode.clientWidth + 'px';
731 this.table_.list_.style.width = this.table_.parentNode.clientWidth + 'px';
1849 input.style.width = label.clientWidth + 'px';

123