Home
last modified time | relevance | path

Searched refs:topWidth (Results 1 – 8 of 8) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
DRoundedIntRect.h63 void expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth);
65 …void shrink(int topWidth, int bottomWidth, int leftWidth, int rightWidth) { expand(-topWidth, -bot… in shrink() argument
DRoundedIntRect.cpp63 void RoundedIntRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) in expand() argument
66 m_topLeft.setHeight(max(0, m_topLeft.height() + topWidth)); in expand()
69 m_topRight.setHeight(max(0, m_topRight.height() + topWidth)); in expand()
/external/webkit/Source/WebCore/rendering/
DRenderBoxModelObject.cpp956 int topWidth = fitToBorder ? style->borderTopWidth() : topSlice; in paintNinePieceImage() local
961 bool drawTop = topSlice > 0 && topWidth > 0; in paintNinePieceImage()
965 … (imageHeight - topSlice - bottomSlice) > 0 && (h - topWidth - bottomWidth) > 0; in paintNinePieceImage()
976 … graphicsContext->drawImage(image.get(), colorSpace, IntRect(tx, ty, leftWidth, topWidth), in paintNinePieceImage()
987 … graphicsContext->drawTiledImage(image.get(), colorSpace, IntRect(tx, ty + topWidth, leftWidth, in paintNinePieceImage()
988 h - topWidth - bottomWidth), in paintNinePieceImage()
998 …Context->drawImage(image.get(), colorSpace, IntRect(tx + w - rightWidth, ty, rightWidth, topWidth), in paintNinePieceImage()
1008 …xt->drawTiledImage(image.get(), colorSpace, IntRect(tx + w - rightWidth, ty + topWidth, rightWidth, in paintNinePieceImage()
1009 h - topWidth - bottomWidth), in paintNinePieceImage()
1016 …edImage(image.get(), colorSpace, IntRect(tx + leftWidth, ty, w - leftWidth - rightWidth, topWidth), in paintNinePieceImage()
[all …]
DRenderTableCell.cpp935 int topWidth = topVal.width(); in paintCollapsedBorder() local
941 ty -= topWidth / 2; in paintCollapsedBorder()
943 h += topWidth / 2 + (bottomWidth + 1) / 2; in paintCollapsedBorder()
958 borders.addBorder(topVal, BSTop, renderTop, tx, ty, tx + w, ty + topWidth, topStyle); in paintCollapsedBorder()
DRenderObject.cpp916 IntRect RenderObject::borderInnerRect(const IntRect& borderRect, unsigned short topWidth, unsigned … in borderInnerRect() argument
920 borderRect.y() + topWidth, in borderInnerRect()
922 borderRect.height() - topWidth - bottomWidth); in borderInnerRect()
DRenderObject.h446 IntRect borderInnerRect(const IntRect&, unsigned short topWidth, unsigned short bottomWidth,
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.cpp819 int topWidth = (horizontal || includeLogicalLeftEdge) ? borderTopWidth() : 0; in getRoundedInnerBorderFor() local
822 …return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeL… in getRoundedInnerBorderFor()
826 …int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool in… in getRoundedInnerBorderFor() argument
829 borderRect.y() + topWidth, in getRoundedInnerBorderFor()
831 borderRect.height() - topWidth - bottomWidth); in getRoundedInnerBorderFor()
837 radii.shrink(topWidth, bottomWidth, leftWidth, rightWidth); in getRoundedInnerBorderFor()
DRenderStyle.h875 …int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool in…