Home
last modified time | relevance | path

Searched refs:containerWidth (Results 1 – 7 of 7) sorted by relevance

/external/webkit/Source/WebCore/inspector/front-end/
DFontView.js118 const containerWidth = this.element.offsetWidth - 50;
121 if (!height || !width || !containerWidth || !containerHeight) {
126 var widthRatio = containerWidth / width;
/external/skia/src/gpu/
DGrRectanizer.cpp42 bool canAddWidth(int width, int containerWidth) const { in canAddWidth()
43 return fLoc.fX + width <= containerWidth; in canAddWidth()
DGrRectanizer_fifo.cpp42 bool canAddWidth(int width, int containerWidth) const { in canAddWidth()
43 return fLoc.fX + width <= containerWidth; in canAddWidth()
/external/webkit/Source/WebCore/rendering/
DRenderBox.cpp1749 void RenderBox::computeInlineDirectionMargins(RenderBlock* containingBlock, int containerWidth, int… in computeInlineDirectionMargins() argument
1756 if ((marginStartLength.isAuto() && marginEndLength.isAuto() && childWidth < containerWidth) in computeInlineDirectionMargins()
1758 containingBlock->setMarginStartForChild(this, max(0, (containerWidth - childWidth) / 2)); in computeInlineDirectionMargins()
1759 …containingBlock->setMarginEndForChild(this, containerWidth - childWidth - containingBlock->marginS… in computeInlineDirectionMargins()
1764 if (marginEndLength.isAuto() && childWidth < containerWidth) { in computeInlineDirectionMargins()
1765 containingBlock->setMarginStartForChild(this, marginStartLength.calcValue(containerWidth)); in computeInlineDirectionMargins()
1766 …containingBlock->setMarginEndForChild(this, containerWidth - childWidth - containingBlock->marginS… in computeInlineDirectionMargins()
1773 if ((marginStartLength.isAuto() && childWidth < containerWidth) || pushToEndFromTextAlign) { in computeInlineDirectionMargins()
1774 containingBlock->setMarginEndForChild(this, marginEndLength.calcValue(containerWidth)); in computeInlineDirectionMargins()
1775 …containingBlock->setMarginStartForChild(this, containerWidth - childWidth - containingBlock->margi… in computeInlineDirectionMargins()
[all …]
DRenderBox.h259 …void computeInlineDirectionMargins(RenderBlock* containingBlock, int containerWidth, int childWidt…
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_controller.mm613 CGFloat containerWidth = [browserActionsContainerView_ isHidden] ? 0.0 :
615 if (containerWidth > 0.0)
616 [self adjustLocationSizeBy:(containerWidth * -1) animate:NO];
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller.mm137 CGFloat containerWidth = NSWidth([containerView frame]);
144 containerWidth, containerHeight);