Searched refs:leftSlice (Results 1 – 2 of 2) sorted by relevance
/external/webkit/Source/WebCore/platform/graphics/ |
D | ShadowBlur.cpp | 421 …izesFromRadii(int twiceRadius, const RoundedIntRect::Radii& radii, int& leftSlice, int& rightSlice… in computeSliceSizesFromRadii() argument 423 leftSlice = twiceRadius + max(radii.topLeft().width(), radii.bottomLeft().width()); in computeSliceSizesFromRadii() 434 int leftSlice; in templateSize() local 438 …computeSliceSizesFromRadii(2 * ceilf(m_blurRadius), radii, leftSlice, rightSlice, topSlice, bottom… in templateSize() 440 return IntSize(templateSideLength + leftSlice + rightSlice, in templateSize() 724 int leftSlice; in drawLayerPieces() local 728 computeSliceSizesFromRadii(twiceRadius, radii, leftSlice, rightSlice, topSlice, bottomSlice); in drawLayerPieces() 730 int centerWidth = shadowBounds.width() - leftSlice - rightSlice; in drawLayerPieces() 734 …FloatRect shadowInterior(shadowBounds.x() + leftSlice, shadowBounds.y() + topSlice, centerWidth, c… in drawLayerPieces() 749 FloatRect tileRect = FloatRect(leftSlice, 0, templateSideLength, topSlice); in drawLayerPieces() [all …]
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderBoxModelObject.cpp | 947 int leftSlice = min(imageWidth, ninePieceImage.slices().left().calcValue(imageWidth)); in paintNinePieceImage() local 955 int leftWidth = fitToBorder ? style->borderLeftWidth() : leftSlice; in paintNinePieceImage() 960 bool drawLeft = leftSlice > 0 && leftWidth > 0; in paintNinePieceImage() 964 … bool drawMiddle = (imageWidth - leftSlice - rightSlice) > 0 && (w - leftWidth - rightWidth) > 0 && in paintNinePieceImage() 977 IntRect(0, 0, leftSlice, topSlice), op); in paintNinePieceImage() 983 … IntRect(0, imageHeight - bottomSlice, leftSlice, bottomSlice), op); in paintNinePieceImage() 989 … IntRect(0, topSlice, leftSlice, imageHeight - topSlice - bottomSlice), in paintNinePieceImage() 1017 … IntRect(leftSlice, 0, imageWidth - rightSlice - leftSlice, topSlice), in paintNinePieceImage() 1024 … IntRect(leftSlice, imageHeight - bottomSlice, imageWidth - rightSlice - leftSlice, bottomSlice), in paintNinePieceImage() 1031 …IntRect(leftSlice, topSlice, imageWidth - rightSlice - leftSlice, imageHeight - topSlice - bottomS… in paintNinePieceImage()
|