Searched refs:paintRect (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderFieldset.cpp146 LayoutRect paintRect(paintOffset, size());
156 paintRect.setHeight(paintRect.height() - yOff);
157 paintRect.setY(paintRect.y() + yOff);
160 paintRect.setWidth(paintRect.width() - xOff);
161 paintRect.setX(paintRect.x() + xOff);
167 BoxPainter::paintBoxShadow(paintInfo, paintRect, styl
[all...]
H A DRenderWidget.cpp181 IntRect paintRect = paintInfo.rect; local
185 // not the root. In this case, shift the CTM and adjust the paintRect to be root-relative to fix plug-in drawing.
188 paintRect.move(-widgetPaintOffset);
190 widget->paint(paintInfo.context, paintRect);
H A DRenderTableCell.cpp1099 LayoutRect paintRect = LayoutRect(paintOffset + location(), pixelSnappedSize());
1100 if (paintRect.y() - table()->outerBorderTop() >= paintInfo.rect.maxY())
1103 if (paintRect.maxY() + table()->outerBorderBottom() <= paintInfo.rect.y())
1121 IntRect borderRect = pixelSnappedIntRect(paintRect.x() - leftWidth / 2,
1122 paintRect.y() - topWidth / 2,
1123 paintRect.width() + leftWidth / 2 + (rightWidth + 1) / 2,
1124 paintRect.height() + topWidth / 2 + (bottomWidth + 1) / 2);
1200 LayoutRect paintRect = LayoutRect(paintOffset, pixelSnappedSize());
1201 BoxPainter::paintBoxShadow(paintInfo, paintRect, style(), Normal);
1206 BoxPainter::paintBoxShadow(paintInfo, paintRect, styl
[all...]
H A DRenderReplaced.cpp128 LayoutRect paintRect = LayoutRect(adjustedPaintOffset, size());
130 paintOutline(paintInfo, paintRect);
154 RoundedRect roundedInnerRect = style()->getRoundedInnerBorderFor(paintRect,
156 BoxPainter::clipRoundedInnerRect(paintInfo.context, paintRect, roundedInnerRect);
H A DRenderTreeAsText.cpp577 const LayoutRect& paintRect, int indent, RenderAsTextBehavior behavior)
580 LayoutRect paintDirtyRect(paintRect);
576 writeLayers(TextStream& ts, const RenderLayer* rootLayer, RenderLayer* layer, const LayoutRect& paintRect, int indent, RenderAsTextBehavior behavior) argument
H A DRenderBox.cpp862 void RenderBox::applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRect) const
867 flipForWritingMode(paintRect);
868 paintRect.move(-scrolledContentOffset()); // For overflow:auto/scroll/hidden.
873 flipForWritingMode(paintRect);
881 paintRect = intersection(paintRect, clipRect);
882 flipForWritingMode(paintRect);
H A DRenderBox.h578 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRect) const;
H A DRenderObject.cpp981 void RenderObject::paintOutline(PaintInfo& paintInfo, const LayoutRect& paintRect) argument
983 ObjectPainter(*this).paintOutline(paintInfo, paintRect);
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DPaintAggregatorTest.cpp208 IntRect paintRect(4, 4, 2, 2);
209 greg.invalidateRect(paintRect);
220 EXPECT_EQ(paintRect, update.paintRects[0]);
227 IntRect paintRect(4, 4, 2, 2);
228 greg.invalidateRect(paintRect);
241 paintRect.move(2, 0);
244 EXPECT_EQ(paintRect, update.paintRects[0]);
281 IntRect paintRect(0, 0, 10, 9); // Repaint 90%
282 greg.invalidateRect(paintRect);
298 IntRect paintRect(
[all...]
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DHTMLCanvasPainter.cpp21 LayoutRect paintRect = m_renderHTMLCanvas.replacedContentRect(); local
22 paintRect.moveBy(paintOffset);
24 bool clip = !contentRect.contains(paintRect);
44 canvas->paint(context, paintRect);
H A DInlineFlowBoxPainter.cpp139 void InlineFlowBoxPainter::paintBoxShadow(const PaintInfo& info, RenderStyle* s, ShadowStyle shadowStyle, const LayoutRect& paintRect) argument
142 BoxPainter::paintBoxShadow(info, paintRect, s, shadowStyle);
146 BoxPainter::paintBoxShadow(info, paintRect, s, shadowStyle, m_inlineFlowBox.includeLogicalLeftEdge(), m_inlineFlowBox.includeLogicalRightEdge());
151 static LayoutRect clipRectForNinePieceImageStrip(InlineFlowBox* box, const NinePieceImage& image, const LayoutRect& paintRect) argument
153 LayoutRect clipRect(paintRect);
157 clipRect.setY(paintRect.y() - outsets.top());
158 clipRect.setHeight(paintRect.height() + outsets.top() + outsets.bottom());
160 clipRect.setX(paintRect.x() - outsets.left());
161 clipRect.setWidth(paintRect.width() + outsets.left());
166 clipRect.setX(paintRect
203 LayoutRect paintRect = LayoutRect(adjustedPaintOffset, frameRect.size()); local
286 LayoutRect paintRect = LayoutRect(adjustedPaintOffset, frameRect.size()); local
[all...]
H A DImagePainter.cpp154 LayoutRect paintRect = m_renderImage.replacedContentRect(); local
155 paintRect.moveBy(paintOffset);
156 bool clip = !contentRect.contains(paintRect);
162 paintIntoRect(context, paintRect);
H A DObjectPainter.h24 void paintOutline(PaintInfo&, const LayoutRect& paintRect);
H A DBoxPainter.cpp46 LayoutRect paintRect = m_renderBox.borderBoxRect();
47 paintRect.moveBy(paintOffset);
48 paintBoxDecorationBackgroundWithRect(paintInfo, paintOffset, paintRect);
51 void BoxPainter::paintBoxDecorationBackgroundWithRect(PaintInfo& paintInfo, const LayoutPoint& paintOffset, const LayoutRect& paintRect) argument
59 paintBoxShadow(paintInfo, paintRect, style, Normal);
64 RoundedRect border = style->getRoundedBorderFor(paintRect);
70 IntRect snappedPaintRect(pixelSnappedIntRect(paintRect));
74 paintBorder(m_renderBox, paintInfo, paintRect, style, boxDecorationData.bleedAvoidance());
76 paintBackground(paintInfo, paintRect, boxDecorationData.backgroundColor, boxDecorationData.bleedAvoidance());
81 paintBoxShadow(paintInfo, paintRect, styl
101 paintBackground(const PaintInfo& paintInfo, const LayoutRect& paintRect, const Color& backgroundColor, BackgroundBleedAvoidance bleedAvoidance) argument
501 paintMaskImages(const PaintInfo& paintInfo, const LayoutRect& paintRect) argument
548 LayoutRect paintRect = LayoutRect(paintOffset, m_renderBox.size()); local
622 calculateBackgroundImageGeometry(RenderBoxModelObject& obj, const RenderLayerModelObject* paintContainer, const FillLayer& fillLayer, const LayoutRect& paintRect, BackgroundImageGeometry& geometry, RenderObject* backgroundObject) argument
1842 paintBoxShadow(const PaintInfo& info, const LayoutRect& paintRect, const RenderStyle* s, ShadowStyle shadowStyle, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) argument
[all...]
H A DBoxPainter.h30 static void calculateBackgroundImageGeometry(RenderBoxModelObject&, const RenderLayerModelObject* paintContainer, const FillLayer&, const LayoutRect& paintRect, BackgroundImageGeometry&, RenderObject* = 0);
H A DObjectPainter.cpp28 void ObjectPainter::paintOutline(PaintInfo& paintInfo, const LayoutRect& paintRect) argument
41 paintFocusRing(paintInfo, paintRect.location(), styleToUse);
49 IntRect inner = pixelSnappedIntRect(paintRect);
/external/chromium_org/third_party/WebKit/Source/web/painting/
H A DPaintAggregator.h82 blink::IntRect scrollPaintRect(const blink::IntRect& paintRect, int dx, int dy) const;
H A DPaintAggregator.cpp297 IntRect PaintAggregator::scrollPaintRect(const IntRect& paintRect, int dx, int dy) const argument
299 IntRect result = paintRect;
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebPopupMenuImpl.cpp368 void WebPopupMenuImpl::invalidateContentsAndRootView(const IntRect& paintRect) argument
370 if (paintRect.isEmpty())
373 m_client->didInvalidateRect(paintRect);
375 m_rootLayer->layer()->invalidateRect(FloatRect(paintRect));
H A DWebPagePopupImpl.cpp103 virtual void invalidateContentsAndRootView(const IntRect& paintRect) OVERRIDE
105 if (paintRect.isEmpty())
107 m_popup->widgetClient()->didInvalidateRect(paintRect); variable
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbarThemeMacNonOverlayAPI.mm186 IntRect paintRect(buttonRect);
188 paintRect.setWidth(cRealButtonLength[controlSize]);
190 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width()));
192 paintRect.setHeight(cRealButtonLength[controlSize]);
194 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
197 return paintRect;
H A DScrollView.cpp782 IntRect paintRect = rect; local
784 paintRect.intersect(visibleContentRect());
785 if (paintRect.isEmpty())
789 window->invalidateContentsAndRootView(contentsToWindow(paintRect));
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGpuDevice.cpp1302 SkRect paintRect;
1305 paintRect.setLTRB(SkScalarMul(srcRect.fLeft, wInv),
1317 left = paintRect.left() + border;
1318 right = paintRect.right() - border;
1320 left = right = SkScalarHalf(paintRect.left() + paintRect.right());
1324 top = paintRect.top() + border;
1325 bottom = paintRect.bottom() - border;
1327 top = bottom = SkScalarHalf(paintRect.top() + paintRect
[all...]
/external/skia/src/gpu/
H A DSkGpuDevice.cpp1333 SkRect paintRect;
1336 paintRect.setLTRB(SkScalarMul(srcRect.fLeft, wInv),
1348 left = paintRect.left() + border;
1349 right = paintRect.right() - border;
1351 left = right = SkScalarHalf(paintRect.left() + paintRect.right());
1355 top = paintRect.top() + border;
1356 bottom = paintRect.bottom() - border;
1358 top = bottom = SkScalarHalf(paintRect.top() + paintRect
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFilterEffect.cpp162 void FilterEffect::addAbsolutePaintRect(const FloatRect& paintRect)
164 IntRect intPaintRect(enclosingIntRect(paintRect));

Completed in 2206 milliseconds

12