Home
last modified time | relevance | path

Searched refs:marginRight (Results 1 – 25 of 38) sorted by relevance

12

/external/webkit/WebCore/rendering/
DRenderBox.cpp609 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 …]
DRenderScrollbar.cpp292 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()
DRenderFlexibleBox.cpp132 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()
DRenderBoxModelObject.h81 virtual int marginRight() const = 0;
83 …rgin() const { return hasHorizontalBordersOrPadding() || marginLeft() != 0 || marginRight() != 0; } in hasHorizontalBordersPaddingOrMargin()
DInlineFlowBox.h99 int marginBorderPaddingRight() const { return marginRight() + borderRight() + paddingRight(); } in marginBorderPaddingRight()
101 …int marginRight() const { if (includeRightEdge()) return boxModelObject()->marginRight(); return 0… in marginRight() function
DRenderText.h100 virtual int marginRight() const { return style()->marginRight().calcMinValue(0); } in marginRight() function
DRenderListMarker.cpp1153 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()
DRenderBox.h140 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,
DRenderBlock.cpp1192 …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 …]
DRenderScrollbarPart.cpp97 m_marginRight = style()->marginRight().calcMinValue(visibleSize); in computeScrollbarWidth()
DRenderBlockLineLayout.cpp62 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()
DRenderInline.h42 virtual int marginRight() const;
DRenderTable.cpp232 if (!style()->marginRight().isAuto()) in calcWidth()
233 marginTotal += style()->marginRight().calcValue(availableWidth); in calcWidth()
252 calcHorizontalMargins(style()->marginLeft(), style()->marginRight(), availableWidth); in calcWidth()
DRenderTextControlSingleLine.cpp378 …width -= resultsRenderer->width() + resultsRenderer->marginLeft() + resultsRenderer->marginRight(); in textBlockWidth()
383 … width -= cancelRenderer->width() + cancelRenderer->marginLeft() + cancelRenderer->marginRight(); in textBlockWidth()
DRenderFieldset.cpp83 … xPos = width() - paddingRight() - borderRight() - legend->width() - legend->marginRight(); in layoutLegend()
DRenderInline.cpp472 int RenderInline::marginRight() const in marginRight() function in WebCore::RenderInline
474 Length margin = style()->marginRight(); in marginRight()
DInlineFlowBox.cpp318 xPos += flow->marginRight(); in placeBoxesHorizontally()
337 xPos += curr->width() + curr->boxModelObject()->marginRight(); in placeBoxesHorizontally()
DRenderView.cpp626 int dw = c->width() + c->marginLeft() + c->marginRight(); in docWidth()
DRenderBlock.h241 …rginLeft(), f->y() - f->marginTop(), f->width() + f->marginLeft() + f->marginRight(), f->height() … in FloatWithRect()
/external/webkit/WebCore/platform/graphics/android/
DLayerAndroid.h97 SkLength marginRight, // CSS margin-right property in setFixedPosition() argument
109 m_fixedMarginRight = marginRight; in setFixedPosition()
DGraphicsLayerAndroid.cpp244 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/
DDOMCSS.h182 - (NSString *)marginRight;
183 - (void)setMarginRight:(NSString *)marginRight;
DDOMCSS.mm780 - (NSString *)marginRight
785 - (void)setMarginRight:(NSString *)marginRight
787 [self setProperty:@"margin-right" value:marginRight priority:@""];
/external/webkit/WebCore/platform/wx/
DRenderThemeWx.cpp209 if (style->marginRight().quirk()) in addIntrinsicMargins()
/external/webkit/WebCore/platform/android/
DRenderThemeAndroid.cpp176 if (style->marginRight().quirk()) in addIntrinsicMargins()

12