Home
last modified time | relevance | path

Searched refs:SkClipOp (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/libs/hwui/
DRecordingCanvas.h86 void clipPath(const SkPath&, SkClipOp, bool aa);
87 void clipRect(const SkRect&, SkClipOp, bool aa);
88 void clipRRect(const SkRRect&, SkClipOp, bool aa);
89 void clipRegion(const SkRegion&, SkClipOp);
155 void onClipRect(const SkRect&, SkClipOp, ClipEdgeStyle) override;
156 void onClipRRect(const SkRRect&, SkClipOp, ClipEdgeStyle) override;
157 void onClipPath(const SkPath&, SkClipOp, ClipEdgeStyle) override;
158 void onClipRegion(const SkRegion&, SkClipOp) override;
DRecordingCanvas.cpp155 ClipPath(const SkPath& path, SkClipOp op, bool aa) : path(path), op(op), aa(aa) {} in ClipPath()
157 SkClipOp op;
163 ClipRect(const SkRect& rect, SkClipOp op, bool aa) : rect(rect), op(op), aa(aa) {} in ClipRect()
165 SkClipOp op;
171 ClipRRect(const SkRRect& rrect, SkClipOp op, bool aa) : rrect(rrect), op(op), aa(aa) {} in ClipRRect()
173 SkClipOp op;
179 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion()
181 SkClipOp op;
559 void DisplayListData::clipPath(const SkPath& path, SkClipOp op, bool aa) { in clipPath()
562 void DisplayListData::clipRect(const SkRect& rect, SkClipOp op, bool aa) { in clipRect()
[all …]
DSkiaCanvas.cpp209 Clip(const SkRect& rect, SkClipOp op, const SkMatrix& m) in Clip()
211 Clip(const SkRRect& rrect, SkClipOp op, const SkMatrix& m) in Clip()
213 Clip(const SkPath& path, SkClipOp op, const SkMatrix& m) in Clip()
239 SkClipOp mOp;
282 void SkiaCanvas::recordClip(const T& clip, SkClipOp op) { in recordClip()
386 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { in clipRect()
393 bool SkiaCanvas::clipPath(const SkPath* path, SkClipOp op) { in clipPath()
DSkiaCanvas.h91 virtual bool clipRect(float left, float top, float right, float bottom, SkClipOp op) override;
92 virtual bool clipPath(const SkPath* path, SkClipOp op) override;
220 void recordClip(const T&, SkClipOp);
/frameworks/base/libs/hwui/tests/common/scenes/
DClippingAnimation.cpp35 canvas.clipRect(0, 0, 200, 200, SkClipOp::kIntersect); in createContent()
39 canvas.clipRect(0, 0, 200, 200, SkClipOp::kIntersect); in createContent()
48 canvas.clipPath(&clipCircle, SkClipOp::kIntersect); in createContent()
DSaveLayerAnimation.cpp38 canvas.clipRect(50, 50, 350, 350, SkClipOp::kIntersect); in createContent()
DShapeAnimation.cpp81 canvas.clipRect(0, 0, cellSize, cellSize, SkClipOp::kIntersect); in createContent()
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h39 void onClipRect(const SkRect& rect, SkClipOp, ClipEdgeStyle) override { in onClipRect() argument
43 void onClipRRect(const SkRRect& rrect, SkClipOp, ClipEdgeStyle) override { in onClipRRect() argument
47 void onClipPath(const SkPath& path, SkClipOp, ClipEdgeStyle) override { in onClipPath() argument
51 void onClipRegion(const SkRegion& deviceRgn, SkClipOp) override { in onClipRegion() argument
DRenderNodeDrawable.cpp97 canvas->clipRRect(SkRRect::MakeRectXY(rect, radius, radius), SkClipOp::kIntersect, true); in clipOutline()
325 canvas->clipPath(*properties.getRevealClip().getPath(), SkClipOp::kIntersect, true); in setViewProperties()
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h99 void onClipRRect(const SkRRect& rrect, SkClipOp, ClipEdgeStyle) { in onClipRRect() argument
102 void onClipPath(const SkPath& path, SkClipOp, ClipEdgeStyle) { in onClipPath() argument
105 void onClipRegion(const SkRegion& deviceRgn, SkClipOp) { in onClipRegion() argument
DSkiaRenderPropertiesTests.cpp53 void onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { in testProperty()
DRenderNodeDrawableTests.cpp204 recorder.clipRect(50, 50, 350, 350, SkClipOp::kIntersect); in TEST()
601 canvas.clipRect(100, 100, 300, 300, SkClipOp::kIntersect); in RENDERTHREAD_TEST()
DSkiaPipelineTests.cpp414 canvas.clipRect(0, -20, 10, 30, SkClipOp::kReplace_deprecated); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp191 static_assert(SkRegion::kDifference_Op == static_cast<SkRegion::Op>(SkClipOp::kDifference), "");
192 static_assert(SkRegion::kIntersect_Op == static_cast<SkRegion::Op>(SkClipOp::kIntersect), "");
193 static_assert(SkRegion::kUnion_Op == static_cast<SkRegion::Op>(SkClipOp::kUnion_deprecated), "");
194 static_assert(SkRegion::kXOR_Op == static_cast<SkRegion::Op>(SkClipOp::kXOR_deprecated), "");
195 static_assert(SkRegion::kReverseDifference_Op == static_cast<SkRegion::Op>(SkClipOp::kReverseDiffer…
196 static_assert(SkRegion::kReplace_Op == static_cast<SkRegion::Op>(SkClipOp::kReplace_deprecated), ""…
198 static SkClipOp opHandleToClipOp(jint opHandle) { in opHandleToClipOp()
208 return static_cast<SkClipOp>(rgnOp); in opHandleToClipOp()
Dandroid_view_TextureView.cpp173 SkClipOp::kIntersect); in android_view_TextureView_lockCanvas()
Dandroid_view_Surface.cpp278 dirtyRect.right, dirtyRect.bottom, SkClipOp::kIntersect); in nativeLockCanvas()
/frameworks/base/libs/hwui/hwui/
DCanvas.h217 virtual bool clipRect(float left, float top, float right, float bottom, SkClipOp op) = 0;
218 virtual bool clipPath(const SkPath* path, SkClipOp op) = 0;
/frameworks/base/libs/hwui/tests/microbench/
DDisplayListCanvasBench.cpp133 canvas->clipRect(1, 1, 199, 199, SkClipOp::kIntersect); in BM_DisplayListCanvas_basicViewGroupDraw()
/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp211 SkClipOp::kIntersect); in android_graphics_GraphicBuffer_lockCanvas()