Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h22 class SkRRect; variable
32 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) { in onDrawDRRect() argument
56 void onDrawRRect(const SkRRect&, const SkPaint&) { in onDrawRRect() argument
80 void onClipRRect(const SkRRect& rrect, SkClipOp, ClipEdgeStyle) { in onClipRRect()
DSkiaRenderPropertiesTests.cpp55 void onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { in testProperty()
DCanvasOpTests.cpp303 SkRRect outerRRect; in TEST()
313 SkRRect innerRRect; in TEST()
/frameworks/base/libs/hwui/
DRecordingCanvas.h43 class SkRRect; variable
134 void clipRRect(const SkRRect&, SkClipOp, bool aa);
145 void drawRRect(const SkRRect&, const SkPaint&);
146 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&);
207 void onClipRRect(const SkRRect&, SkClipOp, ClipEdgeStyle) override;
220 void onDrawRRect(const SkRRect&, const SkPaint&) override;
221 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
DSkiaCanvas.h36 class SkRRect; variable
68 virtual void punchHole(const SkRRect& rect, float alpha) override;
124 virtual void drawDoubleRoundRect(const SkRRect& outer, const SkRRect& inner,
DRecordingCanvas.cpp197 ClipRRect(const SkRRect& rrect, SkClipOp op, bool aa) : rrect(rrect), op(op), aa(aa) {} in ClipRRect()
198 SkRRect rrect;
283 DrawRRect(const SkRRect& rrect, const SkPaint& paint) : rrect(rrect), paint(paint) {} in DrawRRect()
284 SkRRect rrect;
290 DrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) in DrawDRRect()
292 SkRRect outer, inner;
826 void DisplayListData::clipRRect(const SkRRect& rrect, SkClipOp op, bool aa) { in clipRRect()
861 void DisplayListData::drawRRect(const SkRRect& rrect, const SkPaint& paint) { in drawRRect()
864 void DisplayListData::drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { in drawDRRect()
1128 void RecordingCanvas::onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { in onClipRRect()
[all …]
DSkiaCanvas.cpp68 : mType(Type::Rect), mOp(op), mMatrix(m), mRRect(SkRRect::MakeRect(rect)) {} in Clip()
69 Clip(const SkRRect& rrect, SkClipOp op, const SkMatrix& m) in Clip()
110 SkRRect mRRect;
267 void SkiaCanvas::punchHole(const SkRRect& rect, float alpha) { in punchHole()
552 void SkiaCanvas::drawDoubleRoundRect(const SkRRect& outer, const SkRRect& inner, in drawDoubleRoundRect()
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h22 class SkRRect; variable
45 void onClipRRect(const SkRRect& rrect, SkClipOp, ClipEdgeStyle) override { in onClipRRect()
81 void onDrawRRect(const SkRRect&, const SkPaint&) override { in onDrawRRect() argument
85 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override { in onDrawDRRect() argument
DTransformCanvas.cpp35 SkRRect roundRect = SkRRect::MakeRectXY(rect, radiusX, radiusY); in onDrawAnnotation()
DSkiaRecordingCanvas.h28 class SkRRect; variable
53 virtual void punchHole(const SkRRect& rect, float alpha) override;
DSkiaRecordingCanvas.cpp74 void SkiaRecordingCanvas::punchHole(const SkRRect& rect, float alpha) { in punchHole()
DRenderNodeDrawable.cpp112 canvas->clipRRect(SkRRect::MakeRectXY(rect, radius, radius), SkClipOp::kIntersect, true); in clipOutline()
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h62 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override { in onDrawRRect()
67 void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, in onDrawDRRect()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp147 SkRRect outerRRect; in drawDoubleRoundRectXY()
150 SkRRect innerRRect; in drawDoubleRoundRectXY()
164 SkRRect outerRRect; in drawDoubleRoundRectRadii()
168 SkRRect innerRRect; in drawDoubleRoundRectRadii()
DCanvas.h34 class SkRRect; variable
156 virtual void punchHole(const SkRRect& rect, float alpha) = 0;
223 virtual void drawDoubleRoundRect(const SkRRect& outer, const SkRRect& inner,
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp177 static inline std::pair<SkRRect, SkRRect> getBoundsAndClip(const android::FloatRect& boundsRect, in getBoundsAndClip()
183 SkRRect clip; in getBoundsAndClip()
187 return {SkRRect::MakeRectXY(bounds, cornerRadius.x, cornerRadius.y), clip}; in getBoundsAndClip()
196 return {SkRRect::MakeRect(bounds), clip}; // clip is empty - no rounding required in getBoundsAndClip()
201 SkRRect intersectionBounds; in getBoundsAndClip()
213 return {SkRRect::MakeRect(bounds), clip}; in getBoundsAndClip()
633 static SkRRect getBlurRRect(const BlurRegion& region) { in getBlurRRect()
639 SkRRect roundedRect; in getBlurRRect()
902 SkRRect shadowBounds, shadowClip; in drawLayersInternal()
1186 const SkRRect& casterRRect, in drawShadow()
DSkiaRenderEngine.h138 void drawShadow(SkCanvas* canvas, const SkRRect& casterRRect,
/frameworks/native/libs/renderengine/skia/filters/
DBlurFilter.h57 void drawBlurRegion(SkCanvas* canvas, const SkRRect& effectRegion,
DBlurFilter.cpp78 void BlurFilter::drawBlurRegion(SkCanvas* canvas, const SkRRect& effectRegion, in drawBlurRegion()
/frameworks/base/libs/hwui/canvas/
DCanvasOps.h234 SkRRect outer;
235 SkRRect inner;
/frameworks/base/libs/hwui/tests/common/scenes/
DStretchyListViewAnimation.cpp142 canvas.punchHole(SkRRect::MakeRect(SkRect::MakeWH(itemWidth, itemHeight)), 1.f); in createListItem()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp780 canvas->punchHole(SkRRect::MakeRectXY(SkRect::MakeLTRB(left, top, right, bottom), rx, ry), in punchHole()