Home
last modified time | relevance | path

Searched refs:SkRRect (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/libs/hwui/
DRecordingCanvas.h98 void clipRRect(const SkRRect&, SkClipOp, bool aa);
108 void drawRRect(const SkRRect&, const SkPaint&);
109 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&);
169 void onClipRRect(const SkRRect&, SkClipOp, ClipEdgeStyle) override;
180 void onDrawRRect(const SkRRect&, const SkPaint&) override;
181 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
DRecordingCanvas.cpp176 ClipRRect(const SkRRect& rrect, SkClipOp op, bool aa) : rrect(rrect), op(op), aa(aa) {} in ClipRRect()
177 SkRRect rrect;
250 DrawRRect(const SkRRect& rrect, const SkPaint& paint) : rrect(rrect), paint(paint) {} in DrawRRect()
251 SkRRect rrect;
257 DrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) in DrawDRRect()
259 SkRRect outer, inner;
658 void DisplayListData::clipRRect(const SkRRect& rrect, SkClipOp op, bool aa) { in clipRRect()
687 void DisplayListData::drawRRect(const SkRRect& rrect, const SkPaint& paint) { in drawRRect()
690 void DisplayListData::drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { in drawDRRect()
950 void RecordingCanvas::onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { in onClipRRect()
[all …]
DSkiaCanvas.h64 virtual void punchHole(const SkRRect& rect) override;
115 virtual void drawDoubleRoundRect(const SkRRect& outer, const SkRRect& inner,
DSkiaCanvas.cpp200 : mType(Type::Rect), mOp(op), mMatrix(m), mRRect(SkRRect::MakeRect(rect)) {} in Clip()
201 Clip(const SkRRect& rrect, SkClipOp op, const SkMatrix& m) in Clip()
237 SkRRect mRRect;
248 void SkiaCanvas::punchHole(const SkRRect& rect) { in punchHole()
508 void SkiaCanvas::drawDoubleRoundRect(const SkRRect& outer, const SkRRect& inner, in drawDoubleRoundRect()
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h30 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) { in onDrawDRRect() argument
54 void onDrawRRect(const SkRRect&, const SkPaint&) { in onDrawRRect() argument
82 void onClipRRect(const SkRRect& rrect, SkClipOp, ClipEdgeStyle) { in onClipRRect()
DSkiaRenderPropertiesTests.cpp54 void onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { in testProperty()
DCanvasOpTests.cpp294 SkRRect outerRRect; in TEST()
304 SkRRect innerRRect; in TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h43 void onClipRRect(const SkRRect& rrect, SkClipOp, ClipEdgeStyle) override { in onClipRRect()
77 void onDrawRRect(const SkRRect&, const SkPaint&) override { in onDrawRRect() argument
81 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override { in onDrawDRRect() argument
DTransformCanvas.cpp28 SkRRect roundRect = SkRRect::MakeRectXY(rect, radiusX, radiusY); in onDrawAnnotation()
DSkiaRecordingCanvas.h48 virtual void punchHole(const SkRRect& rect) override;
DSkiaRecordingCanvas.cpp59 void SkiaRecordingCanvas::punchHole(const SkRRect& rect) { in punchHole()
DRenderNodeDrawable.cpp99 canvas->clipRRect(SkRRect::MakeRectXY(rect, radius, radius), SkClipOp::kIntersect, true); in clipOutline()
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h60 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override { in onDrawRRect()
65 void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, in onDrawDRRect()
/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.h93 inline std::pair<SkRRect, SkRRect> getBoundsAndClip(const FloatRect& bounds,
104 void drawShadow(SkCanvas* canvas, const SkRRect& casterRRect,
DSkiaGLRenderEngine.cpp705 static SkRRect getBlurRRect(const BlurRegion& region) { in getBlurRRect()
711 SkRRect roundedRect; in getBlurRRect()
954 SkRRect shadowBounds, shadowClip; in drawLayers()
1152 inline std::pair<SkRRect, SkRRect> SkiaGLRenderEngine::getBoundsAndClip(const FloatRect& boundsRect, in getBoundsAndClip()
1158 SkRRect clip; in getBoundsAndClip()
1162 return {SkRRect::MakeRectXY(bounds, cornerRadius, cornerRadius), clip}; in getBoundsAndClip()
1222 SkRRect intersectionBounds; in getBoundsAndClip()
1234 return {SkRRect::MakeRect(bounds), clip}; in getBoundsAndClip()
1271 void SkiaGLRenderEngine::drawShadow(SkCanvas* canvas, const SkRRect& casterRRect, in drawShadow()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp194 SkRRect outerRRect; in drawDoubleRoundRectXY()
197 SkRRect innerRRect; in drawDoubleRoundRectXY()
211 SkRRect outerRRect; in drawDoubleRoundRectRadii()
215 SkRRect innerRRect; in drawDoubleRoundRectRadii()
DCanvas.h154 virtual void punchHole(const SkRRect& rect) = 0;
213 virtual void drawDoubleRoundRect(const SkRRect& outer, const SkRRect& inner,
/frameworks/native/libs/renderengine/skia/filters/
DBlurFilter.h64 void drawBlurRegion(SkCanvas* canvas, const SkRRect& effectRegion, const uint32_t blurRadius,
DBlurFilter.cpp142 void BlurFilter::drawBlurRegion(SkCanvas* canvas, const SkRRect& effectRegion, in drawBlurRegion()
/frameworks/base/libs/hwui/canvas/
DCanvasOps.h228 SkRRect outer;
229 SkRRect inner;
/frameworks/base/libs/hwui/tests/common/scenes/
DStretchyListViewAnimation.cpp133 canvas.punchHole(SkRRect::MakeRect(SkRect::MakeWH(itemWidth, itemHeight))); in createListItem()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp674 canvas->punchHole(SkRRect::MakeRectXY(SkRect::MakeLTRB(left, top, right, bottom), rx, ry)); in punchHole()