Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMarquee.cpp123 LayoutUnit contentWidth = ltr ? maxPreferredLogicalWidth() : minPreferredLogicalWidth(); in computePosition() local
125 contentWidth += (paddingRight() - borderLeft()); in computePosition()
127 contentWidth = width() - contentWidth; in computePosition()
128 contentWidth += (paddingLeft() - borderRight()); in computePosition()
132 … return max<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
134 return ltr ? contentWidth : clientWidth; in computePosition()
138 … return min<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
140 return ltr ? -clientWidth : -contentWidth; in computePosition()
DRenderRegion.cpp54 return m_flowThread->isHorizontalWritingMode() ? contentWidth() : contentHeight(); in pageLogicalWidth()
60 return m_flowThread->isHorizontalWritingMode() ? contentHeight() : contentWidth(); in pageLogicalHeight()
66 return m_flowThread->isHorizontalWritingMode() ? contentHeight() : contentWidth(); in logicalHeightOfAllFlowThreadContent()
DRenderButton.cpp133 return marginRight() + borderRight() + paddingRight() + contentWidth(); in baselinePosition()
DRenderBox.h180 …LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + … in paddingBoxRect()
185 … LayoutRect(borderLeft() + paddingLeft(), borderTop() + paddingTop(), contentWidth(), contentHeigh… in contentBoxRect()
237 LayoutUnit contentWidth() const { return clientWidth() - paddingLeft() - paddingRight(); } in contentWidth() function
239 …entLogicalWidth() const { return style()->isHorizontalWritingMode() ? contentWidth() : contentHeig… in contentLogicalWidth()
240 …calHeight() const { return style()->isHorizontalWritingMode() ? contentHeight() : contentWidth(); } in contentLogicalHeight()
DTextAutosizer.cpp539 LayoutUnit contentWidth = renderer->contentLogicalWidth(); in isNarrowDescendant() local
541 LayoutUnit widthDifference = clusterTextWidth - contentWidth; in isNarrowDescendant()
556 LayoutUnit contentWidth = renderer->contentLogicalWidth(); in isWiderDescendant() local
558 return contentWidth > clusterTextWidth; in isWiderDescendant()
DRenderDetailsMarker.cpp110 result.transform(AffineTransform().scale(contentWidth().toFloat(), contentHeight().toFloat())); 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.cpp313 contentWidth(), in controlClipRect()
318 m_innerBlock->contentWidth(), in controlClipRect()
DRenderFileUploadControl.cpp124 textX = contentLeft + contentWidth() - buttonAndSpacingWidth - textWidth; in paintObject()
DFastTextAutosizer.cpp991 float contentWidth = cluster->m_root->contentLogicalWidth().toFloat(); in isWiderOrNarrowerDescendant() local
996 if (contentWidth > clusterTextWidth) in isWiderOrNarrowerDescendant()
1002 if (clusterTextWidth - contentWidth > narrowWidthDifference) in isWiderOrNarrowerDescendant()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwLayoutSizerTest.java70 final int contentWidth = 101; in testCanQueryContentSize() local
73 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); in testCanQueryContentSize()
79 assertEquals(contentWidth, delegate.measuredWidth & View.MEASURED_SIZE_MASK); in testCanQueryContentSize()
362 int contentWidth = 9; in testViewportDipSizeOverrideRounding() local
366 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); in testViewportDipSizeOverrideRounding()
374 assertFalse((int) Math.ceil(measuredWidth / dipScale) == contentWidth); in testViewportDipSizeOverrideRounding()
392 int contentWidth = 800; in testViewportWithAtMostMeasureSpec() local
394 int contentWidthPix = contentWidth * dipAndPageScale; in testViewportWithAtMostMeasureSpec()
400 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); in testViewportWithAtMostMeasureSpec()
/external/chromium_org/ui/android/java/src/org/chromium/ui/
DDropdownPopupWindow.java103 int contentWidth = measureContentWidth(); in show() local
104 float contentWidthInDip = contentWidth / in show()
107 setContentWidth(contentWidth); in show()
/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/chrome/android/java/src/org/chromium/chrome/browser/banners/
DAppBannerView.java664 final int contentWidth = in onMeasure() local
667 measureChildForSpace(mLogoView, contentWidth, contentHeight); in onMeasure()
673 measureChildForSpace(mInstallButtonView, contentWidth, contentHeight); in onMeasure()
676 final int ratingWidth = contentWidth; in onMeasure()
681 final int closeWidth = contentWidth; in onMeasure()
691 final int titleWidth = contentWidth - getWidthWithMargins(mCloseButtonView) + mPaddingCard; in onMeasure()
/external/chromium_org/third_party/WebKit/Source/web/
DPopupListBox.cpp793 int contentWidth = windowWidth - scrollbarWidth; in layout() local
797 contentWidth = m_baseWidth - scrollbarWidth; in layout()
803 setContentsSize(IntSize(contentWidth, getRowBounds(numItems() - 1).maxY())); in layout()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/photo/
Dmosaic_mode.js1592 var contentWidth =
1594 return contentWidth + this.getTotalHorizontalSpacing_();
1605 var contentWidth = width - this.getTotalHorizontalSpacing_();
1607 Math.round(contentWidth / this.getTotalContentAspectRatio_());
1623 var contentWidth = width - this.getTotalHorizontalSpacing_();
1629 Mosaic.Layout.rescaleSizesToNewTotal(tileContentWidth, contentWidth);
/external/chromium_org/ui/file_manager/gallery/js/
Dmosaic_mode.js1592 var contentWidth =
1594 return contentWidth + this.getTotalHorizontalSpacing_();
1605 var contentWidth = width - this.getTotalHorizontalSpacing_();
1607 Math.round(contentWidth / this.getTotalContentAspectRatio_());
1623 var contentWidth = width - this.getTotalHorizontalSpacing_();
1629 Mosaic.Layout.rescaleSizesToNewTotal(tileContentWidth, contentWidth);
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DSliderThumbElement.cpp176 LayoutUnit availableExtent = isVertical ? track->contentHeight() : track->contentWidth(); in layout()
286 trackSize = trackElement->renderBox()->contentWidth() - renderBox()->width(); in setPositionFromPoint()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DImageInputType.cpp232 return box ? adjustForAbsoluteZoom(box->contentWidth(), box) : 0; in width()
/external/chromium_org/chrome/browser/resources/print_preview/
Dpreview_generator.js322 event.pageLayout.contentWidth +
/external/chromium_org/ui/file_manager/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.java2340 float contentWidth, float contentHeight,
2348 contentWidth = Math.max(contentWidth,
2355 contentWidth != mRenderCoordinates.getContentWidthCss()
2385 contentWidth, contentHeight,
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGRoot.cpp339 …m_localToBorderBoxTransform = svg->viewBoxToViewTransform(contentWidth() / scale, contentHeight() … in buildLocalToBorderBoxTransform()
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/
Dwebsite_settings_bubble_controller.mm617 CGFloat contentWidth = std::max([self defaultWindowWidth],
624 [self setWidthOfView:contentView_ to:contentWidth];
625 [self setWidthOfView:permissionsTabContentView_ to:contentWidth];
626 [self setWidthOfView:connectionTabContentView_ to:contentWidth];
699 tabViewFrame.size.width = contentWidth;
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShapeOutsideInfo.cpp133 …mValue = m_renderer.containingBlock() ? m_renderer.containingBlock()->contentWidth() : LayoutUnit(… in computedShape()

12