/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
DOMPresentationUtils.js | 145 var offsetWidth = precomputedDimensions ? precomputedDimensions.offsetWidth : naturalWidth; 149 if (offsetHeight === naturalHeight && offsetWidth === naturalWidth) 150 description = WebInspector.UIString("%d \xd7 %d pixels", offsetWidth, offsetHeight); 152 description = WebInspector.UIString("%d \xd7 %d pixels (Natural: %d \xd7 %d pixels)", offsetWidth, offsetHeight, naturalWidth, naturalHeight);
|
Dialog.js | 162 var positionX = offset.x + (relativeToElement.offsetWidth - element.offsetWidth) / 2; 163 positionX = Number.constrain(positionX, 0, window.innerWidth - element.offsetWidth);
|
FontView.js | 107 var result = { width: this._dummyElement.offsetWidth, height: this._dummyElement.offsetHeight }; 125 const containerWidth = this.element.offsetWidth - 50;
|
SuggestBox.js | 118 var contentWidth = this.contentElement.offsetWidth; 127 var maxWidth = document.body.offsetWidth - anchorBox.x - spacer; 133 maxWidth = document.body.offsetWidth - spacer; 135 boxX = document.body.offsetWidth - width;
|
SoftContextMenu.js | 90 if (document.body.offsetWidth < this._contextMenuElement.offsetLeft + this._contextMenuElement.offsetWidth) { 92 this._contextMenuElement.style.left = Math.max(0, targetRect.right - this._contextMenuElement.offsetWidth) + "px"; 94 this._contextMenuElement.style.left = (absoluteX - this._contextMenuElement.offsetWidth) + "px"; 233 var subMenuOffset = { x: subMenuItemElement.offsetWidth - 3, y: subMenuItemElement.offsetTop - 1 };
|
SidebarOverlay.js | 75 this._totalWidth = relativeToElement.offsetWidth;
|
ElementsPanel.js | 441 return { offsetWidth: this.offsetWidth, offsetHeight: this.offsetHeight, naturalWidth: this.naturalWidth, naturalHeight: this.naturalHeight }; 743 if (document.body.offsetWidth <= 0) { 750 if (!crumbs.childNodes.length || crumbs.offsetWidth <= 0) 797 rightPadding += errorWarningElement.offsetWidth; 798 rightPadding += WebInspector.settingsController.statusBarItem.offsetWidth; 803 return (crumbsTotalOffsetLeft + crumbs.offsetWidth + rightPadding) < windowInnerWidth; [all...] |
SplitView.js | 261 this._totalSize = this._isVertical ? this.element.offsetWidth : this.element.offsetHeight; 293 this._resizerElementSize = this._isVertical ? this._resizerElement.offsetWidth : this._resizerElement.offsetHeight;
|
DataGrid.js | 584 var tableWidth = this._dataTable.offsetWidth; 588 if (!this._columnWidthsInitialized && this.element.offsetWidth) { 594 var columnWidth = this.headerTableBody.rows[0].cells[i].offsetWidth; 728 left += this.headerTableBody.rows[0].cells[i].offsetWidth; [all...] |
DOMExtension.js | 247 var result = new Size(this.offsetWidth, this.offsetHeight); 416 anchorBox.width = Math.min(this.offsetWidth, window.innerWidth - anchorBox.x);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderVideo.h | 74 virtual LayoutUnit offsetWidth() const;
|
RenderVideo.cpp | 297 LayoutUnit RenderVideo::offsetWidth() const 300 return block->offsetWidth(); 301 return RenderMedia::offsetWidth();
|
RenderInline.h | 142 virtual LayoutUnit offsetWidth() const OVERRIDE FINAL { return linesBoundingBox().width(); }
|
/packages/apps/Gallery2/jni/filters/ |
geometry.c | 116 __inline__ void crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight){ 120 if ((srcWidth > dstWidth + offsetWidth) || (srcHeight > dstHeight + offsetHeight)){ 126 memcpy(destination + (j - offsetHeight) * new_row_width, source + j * row_width + offsetWidth * cpy_bytes, cpy_bytes * dstWidth ); 154 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterCrop, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, jint dstHeight, jint offsetWidth, jint offsetHeight) { 160 crop(source, srcWidth, srcHeight, destination, dstWidth, dstHeight, offsetWidth, offsetHeight);
|
/external/chromium/chrome/browser/resources/ |
print_preview_animations.js | 73 var offsetWidth = el.offsetWidth - el.scrollbarWidth; 76 var elevatorWidth = offsetWidth / scrollWidth * offsetWidth; 85 if (offsetWidth >= scrollWidth) { 91 var x = scrollLeft / (scrollWidth - offsetWidth); 94 el.scrollHorEl.style.left = (x * (offsetWidth - elevatorWidth - 6)) + 'px'; 151 insideEl.scrollbarWidth = insideEl.offsetWidth - insideEl.clientWidth;
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
bootstrap-collapse.js | 88 [0].offsetWidth
|
/external/chromium_org/chrome/browser/resources/ |
about_memory.js | 42 var width = el.offsetWidth;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
settings_app_browsertest.js | 30 return elem.offsetWidth > 0 || elem.offsetHeight > 0;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
HtmlTooltipHelper.java | 213 int offsetWidth = getContentOffsetWidth(browser); 216 shell.setSize(offsetWidth + ((EnvironmentUtils.IS_MAC) ? 6 : 10), size.y); 232 "return document.getElementById('_wbp_tooltip_body').offsetWidth;");
|
/external/chromium_org/chrome/test/functional/perf/endure_graphs/js/ |
plotter.js | 69 m.style.width = canvasElement.offsetWidth + 'px'; 588 r.style.width = this.canvasElement_.offsetWidth + 'px'; 778 if (evtPageXY.x + this.hoveringInfo_.getElement().offsetWidth < 779 canvasPageXY.x + this.canvasElement_.offsetWidth) { 784 evtPageXY.x - this.hoveringInfo_.getElement().offsetWidth - DIV_X_OFFSET, [all...] |
/external/chromium/chrome/browser/resources/net_internals/ |
view.js | 87 this.width_ = this.node_.offsetWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/Resources/pagepopups/ |
colorSuggestionPicker.js | 49 resizeWindow(main.offsetWidth, main.offsetHeight); 121 var elementWidth = this._element.offsetWidth;
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
webtreemap.js | 59 var width = root.dom.offsetWidth;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
popup.js | 7 (p.x <= (elem.offsetLeft + elem.offsetWidth)) && 66 return probe.offsetWidth; 718 document.getElementById('q-outer').offsetWidth + 719 document.getElementById('clear-all').offsetWidth + 720 document.getElementById('open-folder').offsetWidth) + 'px';
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/app_launcher/ |
popup.js | 97 var width = outer.offsetWidth;
|