Home
last modified time | relevance | path

Searched refs:contentWidth (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMarquee.cpp122 LayoutUnit contentWidth = ltr ? maxPreferredLogicalWidth() : minPreferredLogicalWidth(); in computePosition() local
124 contentWidth += (paddingRight() - borderLeft()); in computePosition()
126 contentWidth = width() - contentWidth; in computePosition()
127 contentWidth += (paddingLeft() - borderRight()); in computePosition()
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()
DTextAutosizer.cpp370 float contentWidth = renderer->contentLogicalWidth(); in isNarrowDescendant() local
372 float widthDifference = clusterTextWidth - contentWidth; in isNarrowDescendant()
387 float contentWidth = renderer->contentLogicalWidth(); in isWiderDescendant() local
389 return contentWidth > clusterTextWidth; in isWiderDescendant()
DRenderButton.cpp129 return marginRight() + borderRight() + paddingRight() + contentWidth(); in baselinePosition()
DRenderBox.h155 …LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + … in paddingBoxRect()
160 … LayoutRect(borderLeft() + paddingLeft(), borderTop() + paddingTop(), contentWidth(), contentHeigh… in contentBoxRect()
213 LayoutUnit contentWidth() const { return clientWidth() - paddingLeft() - paddingRight(); } in contentWidth() function
215 …entLogicalWidth() const { return style()->isHorizontalWritingMode() ? contentWidth() : contentHeig… in contentLogicalWidth()
216 …calHeight() const { return style()->isHorizontalWritingMode() ? contentHeight() : contentWidth(); } in contentLogicalHeight()
DRenderRegion.cpp59 return m_flowThread->isHorizontalWritingMode() ? contentWidth() : contentHeight(); in pageLogicalWidth()
69 return m_flowThread->isHorizontalWritingMode() ? contentHeight() : contentWidth(); in pageLogicalHeight()
88 return m_flowThread->isHorizontalWritingMode() ? contentHeight() : contentWidth(); in logicalHeightOfAllFlowThreadContent()
DRenderDetailsMarker.cpp109 result.transform(AffineTransform().scale(contentWidth(), contentHeight())); in getPath()
DRenderDeprecatedFlexibleBox.cpp488 remainingSpace = borderLeft() + paddingLeft() + contentWidth() - xPos; in layoutHorizontalBox()
704 …childX += child->marginLeft() + max<LayoutUnit>(0, (contentWidth() - (child->width() + child->marg… in layoutVerticalBox()
710 childX += contentWidth() - child->marginRight() - child->width(); in layoutVerticalBox()
716 childX += contentWidth() - child->marginRight() - child->width(); in layoutVerticalBox()
DRenderMenuList.cpp268 contentWidth(), in controlClipRect()
273 m_innerBlock->contentWidth(), in controlClipRect()
DRenderFileUploadControl.cpp124 textX = contentLeft + contentWidth() - buttonAndSpacingWidth - textWidth; in paintObject()
DRenderMultiColumnSet.cpp367 …tUnit ruleRight = isHorizontalWritingMode() ? ruleLeft + ruleThickness : ruleLeft + contentWidth(); in paintColumnRules()
DRenderFlowThread.cpp649 …return isHorizontalWritingMode() ? firstValidRegionInFlow->contentWidth() : firstValidRegionInFlow… in contentLogicalWidthOfFirstRegion()
657 …alWritingMode() ? firstValidRegionInFlow->contentHeight() : firstValidRegionInFlow->contentWidth(); in contentLogicalHeightOfFirstRegion()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwLayoutSizerTest.java69 final int contentWidth = 101; in testCanQueryContentSize() local
72 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); in testCanQueryContentSize()
78 assertEquals(contentWidth, delegate.measuredWidth & View.MEASURED_SIZE_MASK); in testCanQueryContentSize()
371 int contentWidth = 9; in testViewportDipSizeOverrideRounding() local
375 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); in testViewportDipSizeOverrideRounding()
383 assertFalse((int) Math.ceil(measuredWidth / dipScale) == contentWidth); in testViewportDipSizeOverrideRounding()
400 int contentWidth = 800; in testViewportWithUnspecifiedMeasureSpec() local
402 int atMostWidth = contentWidth * dipAndPageScale; in testViewportWithUnspecifiedMeasureSpec()
406 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); in testViewportWithUnspecifiedMeasureSpec()
419 assertEquals(contentWidth, delegate.fixedLayoutWidth); in testViewportWithUnspecifiedMeasureSpec()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DSuggestBox.js119 var contentWidth = this.contentElement.offsetWidth;
129 var width = Math.min(contentWidth, maxWidth - suggestBoxPaddingX) + suggestBoxPaddingX;
130 var paddedWidth = contentWidth + suggestBoxPaddingX;
135 width = Math.min(contentWidth, maxWidth - suggestBoxPaddingX) + suggestBoxPaddingX;
/external/chromium_org/ui/webui/resources/js/cr/ui/table/
Dtable_column_model.js156 normalizeWidths: function(contentWidth) { argument
160 c.width = Math.max(10, c.width - this.totalWidth + contentWidth);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAppletElement.cpp120 …LayoutUnit contentWidth = renderer->style()->width().isFixed() ? LayoutUnit(renderer->style()->wid… in updateWidgetInternal() local
189 …->loader().client()->createJavaAppletWidget(roundedIntSize(LayoutSize(contentWidth, contentHeight)… in updateWidgetInternal()
DHTMLPlugInElement.cpp449 …IntSize contentSize = roundedIntSize(LayoutSize(renderer->contentWidth(), renderer->contentHeight(… in loadPlugin()
/external/chromium_org/third_party/WebKit/Source/web/
DPopupListBox.cpp899 int contentWidth; in layout() local
902 contentWidth = m_baseWidth - scrollbarWidth; in layout()
911 contentWidth = windowWidth - scrollbarWidth; in layout()
915 contentWidth = m_baseWidth - scrollbarWidth; in layout()
921 setContentsSize(IntSize(contentWidth, getRowBounds(numItems() - 1).maxY())); in layout()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/
Dmosaic_mode.js1571 var contentWidth =
1573 return contentWidth + this.getTotalHorizontalSpacing_();
1584 var contentWidth = width - this.getTotalHorizontalSpacing_();
1586 Math.round(contentWidth / this.getTotalContentAspectRatio_());
1602 var contentWidth = width - this.getTotalHorizontalSpacing_();
1608 Mosaic.Layout.rescaleSizesToNewTotal(tileContentWidth, contentWidth);
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DSliderThumbElement.cpp174 LayoutUnit availableExtent = isVertical ? track->contentHeight() : track->contentWidth(); in layout()
279 trackSize = trackElement->renderBox()->contentWidth() - renderBox()->width(); in setPositionFromPoint()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DImageInputType.cpp235 return box ? adjustForAbsoluteZoom(box->contentWidth(), box) : 0; in width()
/external/chromium_org/chrome/browser/resources/print_preview/
Dpreview_generator.js312 event.pageLayout.contentWidth +
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dfile_table.js78 FileTableColumnModel.prototype.normalizeWidths = function(contentWidth) { argument
88 var newTotalWidth = Math.max(contentWidth - fixedWidth, 0);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java2460 float contentWidth, float contentHeight,
2467 contentWidth = Math.max(contentWidth,
2475 contentWidth != mRenderCoordinates.getContentWidthCss()
2505 contentWidth, contentHeight,
/external/chromium_org/chrome/browser/ui/cocoa/
Dwebsite_settings_bubble_controller.mm618 CGFloat contentWidth = std::max([self defaultWindowWidth],
625 [self setWidthOfView:contentView_ to:contentWidth];
626 [self setWidthOfView:permissionsTabContentView_ to:contentWidth];
627 [self setWidthOfView:connectionTabContentView_ to:contentWidth];
700 tabViewFrame.size.width = contentWidth;
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGRoot.cpp335 …m_localToBorderBoxTransform = svg->viewBoxToViewTransform(contentWidth() / scale, contentHeight() … in buildLocalToBorderBoxTransform()

12