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);
109 void drawRRect(const SkRRect&, const SkPaint&);
110 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&);
170 void onClipRRect(const SkRRect&, SkClipOp, ClipEdgeStyle) override;
182 void onDrawRRect(const SkRRect&, const SkPaint&) override;
183 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
DRecordingCanvas.cpp180 ClipRRect(const SkRRect& rrect, SkClipOp op, bool aa) : rrect(rrect), op(op), aa(aa) {} in ClipRRect()
181 SkRRect rrect;
259 DrawRRect(const SkRRect& rrect, const SkPaint& paint) : rrect(rrect), paint(paint) {} in DrawRRect()
260 SkRRect rrect;
266 DrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) in DrawDRRect()
268 SkRRect outer, inner;
679 void DisplayListData::clipRRect(const SkRRect& rrect, SkClipOp op, bool aa) { in clipRRect()
711 void DisplayListData::drawRRect(const SkRRect& rrect, const SkPaint& paint) { in drawRRect()
714 void DisplayListData::drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { in drawDRRect()
976 void RecordingCanvas::onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { in onClipRRect()
[all …]
DSkiaCanvas.h66 virtual void punchHole(const SkRRect& rect) override;
120 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()
524 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()
79 void onDrawRRect(const SkRRect&, const SkPaint&) override { in onDrawRRect() argument
83 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override { in onDrawDRRect() argument
DTransformCanvas.cpp30 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.cpp103 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.h92 inline std::pair<SkRRect, SkRRect> getBoundsAndClip(const FloatRect& bounds,
107 void drawShadow(SkCanvas* canvas, const SkRRect& casterRRect,
DSkiaGLRenderEngine.cpp725 static SkRRect getBlurRRect(const BlurRegion& region) { in getBlurRRect()
731 SkRRect roundedRect; in getBlurRRect()
984 SkRRect shadowBounds, shadowClip; in drawLayersInternal()
1339 inline std::pair<SkRRect, SkRRect> SkiaGLRenderEngine::getBoundsAndClip(const FloatRect& boundsRect, in getBoundsAndClip()
1345 SkRRect clip; in getBoundsAndClip()
1349 return {SkRRect::MakeRectXY(bounds, cornerRadius.x, cornerRadius.y), clip}; in getBoundsAndClip()
1358 return {SkRRect::MakeRect(bounds), clip}; // clip is empty - no rounding required in getBoundsAndClip()
1363 SkRRect intersectionBounds; in getBoundsAndClip()
1375 return {SkRRect::MakeRect(bounds), clip}; in getBoundsAndClip()
1412 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;
219 virtual void drawDoubleRoundRect(const SkRRect& outer, const SkRRect& inner,
/frameworks/native/libs/renderengine/skia/filters/
DBlurFilter.h54 void drawBlurRegion(SkCanvas* canvas, const SkRRect& effectRegion,
DBlurFilter.cpp77 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.cpp706 canvas->punchHole(SkRRect::MakeRectXY(SkRect::MakeLTRB(left, top, right, bottom), rx, ry)); in punchHole()