Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.h66 void expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth);
68 …void shrink(int topWidth, int bottomWidth, int leftWidth, int rightWidth) { expand(-topWidth, -bot… in shrink() argument
DFloatRoundedRect.h63 void expand(float topWidth, float bottomWidth, float leftWidth, float rightWidth);
65 …void shrink(float topWidth, float bottomWidth, float leftWidth, float rightWidth) { expand(-topWid… in shrink() argument
DFloatRoundedRect.cpp80 void FloatRoundedRect::Radii::expand(float topWidth, float bottomWidth, float leftWidth, float righ… in expand() argument
84 m_topLeft.setHeight(std::max<float>(0, m_topLeft.height() + topWidth)); in expand()
88 m_topRight.setHeight(std::max<float>(0, m_topRight.height() + topWidth)); in expand()
DRoundedRect.cpp64 void RoundedRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) in expand() argument
68 m_topLeft.setHeight(max<int>(0, m_topLeft.height() + topWidth)); in expand()
72 m_topRight.setHeight(max<int>(0, m_topRight.height() + topWidth)); in expand()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.cpp1194 …int topWidth = computeBorderImageSide(ninePieceImage.borderSlices().top(), style->borderTopWidth()… in paintNinePieceImage() local
1204 int borderSideHeight = max(1, topWidth + bottomWidth); in paintNinePieceImage()
1207 topWidth *= borderSideScaleFactor; in paintNinePieceImage()
1214 bool drawTop = topSlice > 0 && topWidth > 0; in paintNinePieceImage()
1218 …mageHeight - topSlice - bottomSlice) > 0 && (borderImageRect.height() - topWidth - bottomWidth) > … in paintNinePieceImage()
1223 float destinationHeight = borderImageRect.height() - topWidth - bottomWidth; in paintNinePieceImage()
1230 float topSideScale = drawTop ? (float)topWidth / topSlice : 1; in paintNinePieceImage()
1239 …sContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, topWidth)), in paintNinePieceImage()
1251 …edImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + topWidth, leftWidth, desti… in paintNinePieceImage()
1261 …age.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.y(), rightWidth, topWidth), in paintNinePieceImage()
[all …]
DRenderTableCell.cpp1129 int topWidth = topVal.width(); in paintCollapsedBorders() local
1135 paintRect.y() - topWidth / 2, in paintCollapsedBorders()
1137 paintRect.height() + topWidth / 2 + (bottomWidth + 1) / 2); in paintCollapsedBorders()
1152 …renderTop, borderRect.x(), borderRect.y(), borderRect.maxX(), borderRect.y() + topWidth, topStyle); in paintCollapsedBorders()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.cpp987 int topWidth = (horizontal || includeLogicalLeftEdge) ? borderTopWidth() : 0; in getRoundedInnerBorderFor() local
990 …return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeL… in getRoundedInnerBorderFor()
994 …int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool in… in getRoundedInnerBorderFor() argument
997 borderRect.y() + topWidth, in getRoundedInnerBorderFor()
999 borderRect.height() - topWidth - bottomWidth); in getRoundedInnerBorderFor()
1005 radii.shrink(topWidth, bottomWidth, leftWidth, rightWidth); in getRoundedInnerBorderFor()
DRenderStyle.h1026 …int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool in…