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

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatRoundedRect.cpp80 void FloatRoundedRect::Radii::expand(float topWidth, float bottomWidth, float leftWidth, float rightWidth) argument
84 m_topLeft.setHeight(std::max<float>(0, m_topLeft.height() + topWidth));
88 m_topRight.setHeight(std::max<float>(0, m_topRight.height() + topWidth));
H A DFloatRoundedRect.h72 void expand(float topWidth, float bottomWidth, float leftWidth, float rightWidth);
74 void shrink(float topWidth, float bottomWidth, float leftWidth, float rightWidth) { expand(-topWidth, -bottomWidth, -leftWidth, -rightWidth); } argument
H A 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, -bottomWidth, -leftWidth, -rightWidth); } argument
H A DRoundedRect.cpp64 void RoundedRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) argument
68 m_topLeft.setHeight(max<int>(0, m_topLeft.height() + topWidth));
72 m_topRight.setHeight(max<int>(0, m_topRight.height() + topWidth));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBoxModelObject.cpp1196 int topWidth = computeBorderImageSide(ninePieceImage.borderSlices().top(), style->borderTopWidth(), topSlice, borderImageRect.height()); local
1206 int borderSideHeight = max(1, topWidth + bottomWidth);
1209 topWidth *= borderSideScaleFactor;
1216 bool drawTop = topSlice > 0 && topWidth > 0;
1220 && (imageHeight - topSlice - bottomSlice) > 0 && (borderImageRect.height() - topWidth - bottomWidth) > 0;
1225 float destinationHeight = borderImageRect.height() - topWidth - bottomWidth;
1232 float topSideScale = drawTop ? (float)topWidth / topSlice : 1;
1238 // The top left corner rect is (tx, ty, leftWidth, topWidth)
1241 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, topWidth)),
1253 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + topWidth, leftWidt
2038 LayoutUnit topWidth = edges[BSTop].usedWidth() / 2; local
[all...]
H A DRenderTableCell.cpp1129 int topWidth = topVal.width(); local
1135 paintRect.y() - topWidth / 2,
1137 paintRect.height() + topWidth / 2 + (bottomWidth + 1) / 2);
1152 borders.addBorder(topVal, BSTop, renderTop, borderRect.x(), borderRect.y(), borderRect.maxX(), borderRect.y() + topWidth, topStyle);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp1011 int topWidth = (horizontal || includeLogicalLeftEdge) ? borderTopWidth() : 0; local
1014 return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeLogicalLeftEdge, includeLogicalRightEdge);
1018 int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const
1021 borderRect.y() + topWidth,
1023 borderRect.height() - topWidth - bottomWidth);
1029 radii.shrink(topWidth, bottomWidth, leftWidth, rightWidth);
1017 getRoundedInnerBorderFor(const LayoutRect& borderRect, int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const argument
H A DRenderStyle.h1068 int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const;

Completed in 155 milliseconds