Searched refs:topWidth (Results 1 - 8 of 8) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatRoundedRect.cpp | 80 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 D | FloatRoundedRect.h | 72 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 D | RoundedRect.h | 66 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 D | RoundedRect.cpp | 62 void RoundedRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) argument 66 m_topLeft.setHeight(std::max<int>(0, m_topLeft.height() + topWidth)); 70 m_topRight.setHeight(std::max<int>(0, m_topRight.height() + topWidth));
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | BoxPainter.cpp | 912 int topWidth = computeBorderImageSide(ninePieceImage.borderSlices().top(), style->borderTopWidth(), topSlice, borderImageRect.height()); local 922 int borderSideHeight = std::max(1, topWidth + bottomWidth); 925 topWidth *= borderSideScaleFactor; 932 bool drawTop = topSlice > 0 && topWidth > 0; 936 && (imageHeight - topSlice - bottomSlice) > 0 && (borderImageRect.height() - topWidth - bottomWidth) > 0; 941 float destinationHeight = borderImageRect.height() - topWidth - bottomWidth; 948 float topSideScale = drawTop ? (float)topWidth / topSlice : 1; 954 // The top left corner rect is (tx, ty, leftWidth, topWidth) 957 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, topWidth)), 971 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + topWidth, leftWidt 1812 LayoutUnit topWidth = edges[BSTop].usedWidth() / 2; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | RenderStyle.cpp | 984 int topWidth = (horizontal || includeLogicalLeftEdge) ? borderTopWidth() : 0; local 987 return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeLogicalLeftEdge, includeLogicalRightEdge); 991 int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const 994 borderRect.y() + topWidth, 996 borderRect.height() - topWidth - bottomWidth); 1002 radii.shrink(topWidth, bottomWidth, leftWidth, rightWidth); 990 getRoundedInnerBorderFor(const LayoutRect& borderRect, int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const argument
|
H A D | RenderStyle.h | 1067 int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderTableCell.cpp | 1116 int topWidth = topVal.width(); local 1122 paintRect.y() - topWidth / 2, 1124 paintRect.height() + topWidth / 2 + (bottomWidth + 1) / 2); 1139 borders.addBorder(topVal, BSTop, renderTop, borderRect.x(), borderRect.y(), borderRect.maxX(), borderRect.y() + topWidth, topStyle);
|
Completed in 197 milliseconds