/external/webkit/WebCore/rendering/ |
D | RenderBox.cpp | 609 int bw = max(w + marginLeft() + marginRight() + borderLeft() + borderRight(), rw); in paintRootBoxDecorations() 809 …(layerRenderer->width() + layerRenderer->marginLeft() + layerRenderer->marginRight() + layerRender… in repaintLayerRectsForImage() 1306 Length marginRight = style()->marginRight(); in calcWidth() local 1311 m_marginRight = marginRight.calcMinValue(containerWidth); in calcWidth() 1365 m_marginRight = marginRight.calcMinValue(containerWidth); in calcWidth() 1369 calcHorizontalMargins(marginLeft, marginRight, containerWidth); in calcWidth() 1409 int marginRight = style()->marginRight().calcMinValue(cw); in calcWidthUsing() local 1411 widthResult = cw - marginLeft - marginRight; in calcWidthUsing() 1453 void RenderBox::calcHorizontalMargins(const Length& marginLeft, const Length& marginRight, int cont… in calcHorizontalMargins() argument 1458 m_marginRight = marginRight.calcMinValue(containerWidth); in calcHorizontalMargins() [all …]
|
D | RenderScrollbar.cpp | 292 int marginRight = part ? part->marginRight() : 0; in trackRect() local 294 endLength += marginRight; in trackRect() 319 rect.setWidth(rect.width() - (partRenderer->marginLeft() + partRenderer->marginRight())); in trackPieceRectWithMargins()
|
D | RenderFlexibleBox.cpp | 132 Length mr = child->style()->marginRight(); in calcHorizontalPrefWidths() 133 int margin = 0, marginLeft = 0, marginRight = 0; in calcHorizontalPrefWidths() local 137 marginRight += mr.value(); in calcHorizontalPrefWidths() 138 margin = marginLeft + marginRight; in calcHorizontalPrefWidths() 156 Length mr = child->style()->marginRight(); in calcVerticalPrefWidths() 474 xPos += child->width() + child->marginRight(); in layoutHorizontalBox() 816 …eft() + max(0, (contentWidth() - (child->width() + child->marginLeft() + child->marginRight()))/2); in layoutVerticalBox() 822 childX += contentWidth() - child->marginRight() - child->width(); in layoutVerticalBox() 828 childX += contentWidth() - child->marginRight() - child->width(); in layoutVerticalBox()
|
D | RenderBoxModelObject.h | 81 virtual int marginRight() const = 0; 83 …rgin() const { return hasHorizontalBordersOrPadding() || marginLeft() != 0 || marginRight() != 0; } in hasHorizontalBordersPaddingOrMargin()
|
D | InlineFlowBox.h | 99 int marginBorderPaddingRight() const { return marginRight() + borderRight() + paddingRight(); } in marginBorderPaddingRight() 101 …int marginRight() const { if (includeRightEdge()) return boxModelObject()->marginRight(); return 0… in marginRight() function
|
D | RenderText.h | 100 virtual int marginRight() const { return style()->marginRight().calcMinValue(0); } in marginRight() function
|
D | RenderListMarker.cpp | 1153 Length rightMargin = style()->marginRight(); in layout() 1302 int marginRight = 0; in updateMargins() local 1307 marginRight = cMarkerPadding; in updateMargins() 1316 marginRight = font.ascent() - minPrefWidth() + 1; in updateMargins() 1319 marginRight = -1; in updateMargins() 1361 marginRight = -marginLeft - minPrefWidth(); in updateMargins() 1365 style()->setMarginRight(Length(marginRight, Fixed)); in updateMargins()
|
D | RenderBox.h | 140 virtual int marginRight() const { return m_marginRight; } in marginRight() function 189 …void calcHorizontalMargins(const Length& marginLeft, const Length& marginRight, int containerWidth… 338 … Length left, Length right, Length marginLeft, Length marginRight,
|
D | RenderBlock.cpp | 1192 …d->calcHorizontalMargins(child->style()->marginLeft(), child->style()->marginRight(), lineWidth(ch… in determineHorizontalPosition() 1200 int chPos = xPos - (child->width() + child->marginRight()); in determineHorizontalPosition() 1203 … if (style()->textAlign() != WEBKIT_CENTER && child->style()->marginRight().type() != Auto) { in determineHorizontalPosition() 1204 if (child->marginRight() < 0) in determineHorizontalPosition() 1205 rightOff -= child->marginRight(); in determineHorizontalPosition() 1213 …d->calcHorizontalMargins(child->style()->marginLeft(), child->style()->marginRight(), lineWidth(ch… in determineHorizontalPosition() 1214 chPos = rightOff - child->marginRight() - child->width(); in determineHorizontalPosition() 2370 newObj->m_width = o->width() + o->marginLeft() + o->marginRight(); in insertFloatingObject() 2464 o->setLocation(fx - o->marginRight() - o->width(), y + o->marginTop()); in positionNewFloats() 2864 int childRightEdge = currBox->x() + currBox->width() + currBox->marginRight(); in rightmostPosition() [all …]
|
D | RenderScrollbarPart.cpp | 97 m_marginRight = style()->marginRight().calcMinValue(visibleSize); in computeScrollbarWidth()
|
D | RenderBlockLineLayout.cpp | 62 return child->marginRight() + child->paddingRight() + child->borderRight(); in getBorderPaddingMargin() 374 totWidth += renderBox->marginLeft() + renderBox->marginRight(); in computeHorizontalPositionsForLine() 1006 …IntSize newSize(f->width() + f->marginLeft() +f->marginRight(), f->height() + f->marginTop() + f->… in determineStartPosition() 1510 …atsFitOnLine && floatBox->width() + floatBox->marginLeft() + floatBox->marginRight() + w + tmpW <=… in findNextLineBreak() 1581 flowBox->marginRight() + flowBox->borderRight() + flowBox->paddingRight(); in findNextLineBreak() 1614 …mpW += replacedBox->width() + replacedBox->marginLeft() + replacedBox->marginRight() + inlineWidth… in findNextLineBreak() 1616 …tmpW += replacedBox->width() + replacedBox->marginLeft() + replacedBox->marginRight() + inlineWidt… in findNextLineBreak()
|
D | RenderInline.h | 42 virtual int marginRight() const;
|
D | RenderTable.cpp | 232 if (!style()->marginRight().isAuto()) in calcWidth() 233 marginTotal += style()->marginRight().calcValue(availableWidth); in calcWidth() 252 calcHorizontalMargins(style()->marginLeft(), style()->marginRight(), availableWidth); in calcWidth()
|
D | RenderTextControlSingleLine.cpp | 378 …width -= resultsRenderer->width() + resultsRenderer->marginLeft() + resultsRenderer->marginRight(); in textBlockWidth() 383 … width -= cancelRenderer->width() + cancelRenderer->marginLeft() + cancelRenderer->marginRight(); in textBlockWidth()
|
D | RenderFieldset.cpp | 83 … xPos = width() - paddingRight() - borderRight() - legend->width() - legend->marginRight(); in layoutLegend()
|
D | RenderInline.cpp | 472 int RenderInline::marginRight() const in marginRight() function in WebCore::RenderInline 474 Length margin = style()->marginRight(); in marginRight()
|
D | InlineFlowBox.cpp | 318 xPos += flow->marginRight(); in placeBoxesHorizontally() 337 xPos += curr->width() + curr->boxModelObject()->marginRight(); in placeBoxesHorizontally()
|
D | RenderView.cpp | 626 int dw = c->width() + c->marginLeft() + c->marginRight(); in docWidth()
|
D | RenderBlock.h | 241 …rginLeft(), f->y() - f->marginTop(), f->width() + f->marginLeft() + f->marginRight(), f->height() … in FloatWithRect()
|
/external/webkit/WebCore/platform/graphics/android/ |
D | LayerAndroid.h | 97 SkLength marginRight, // CSS margin-right property in setFixedPosition() argument 109 m_fixedMarginRight = marginRight; in setFixedPosition()
|
D | GraphicsLayerAndroid.cpp | 244 SkLength marginLeft, marginTop, marginRight, marginBottom; in updateFixedPosition() local 247 marginRight = convertLength(view->style()->marginRight()); in updateFixedPosition() 252 marginRight, marginBottom, in updateFixedPosition()
|
/external/webkit/WebCore/bindings/objc/ |
D | DOMCSS.h | 182 - (NSString *)marginRight; 183 - (void)setMarginRight:(NSString *)marginRight;
|
D | DOMCSS.mm | 780 - (NSString *)marginRight 785 - (void)setMarginRight:(NSString *)marginRight 787 [self setProperty:@"margin-right" value:marginRight priority:@""];
|
/external/webkit/WebCore/platform/wx/ |
D | RenderThemeWx.cpp | 209 if (style->marginRight().quirk()) in addIntrinsicMargins()
|
/external/webkit/WebCore/platform/android/ |
D | RenderThemeAndroid.cpp | 176 if (style->marginRight().quirk()) in addIntrinsicMargins()
|