/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 86 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;
|
D | RecordingCanvas.cpp | 155 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 …]
|
D | SkiaCanvas.cpp | 209 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()
|
D | SkiaCanvas.h | 91 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/ |
D | ClippingAnimation.cpp | 35 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()
|
D | SaveLayerAnimation.cpp | 38 canvas.clipRect(50, 50, 350, 350, SkClipOp::kIntersect); in createContent()
|
D | ShapeAnimation.cpp | 81 canvas.clipRect(0, 0, cellSize, cellSize, SkClipOp::kIntersect); in createContent()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | DumpOpsCanvas.h | 39 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
|
D | RenderNodeDrawable.cpp | 97 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/ |
D | FatalTestCanvas.h | 99 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
|
D | SkiaRenderPropertiesTests.cpp | 53 void onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { in testProperty()
|
D | RenderNodeDrawableTests.cpp | 204 recorder.clipRect(50, 50, 350, 350, SkClipOp::kIntersect); in TEST() 601 canvas.clipRect(100, 100, 300, 300, SkClipOp::kIntersect); in RENDERTHREAD_TEST()
|
D | SkiaPipelineTests.cpp | 414 canvas.clipRect(0, -20, 10, 30, SkClipOp::kReplace_deprecated); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 191 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()
|
D | android_view_TextureView.cpp | 173 SkClipOp::kIntersect); in android_view_TextureView_lockCanvas()
|
D | android_view_Surface.cpp | 278 dirtyRect.right, dirtyRect.bottom, SkClipOp::kIntersect); in nativeLockCanvas()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 217 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/ |
D | DisplayListCanvasBench.cpp | 133 canvas->clipRect(1, 1, 199, 199, SkClipOp::kIntersect); in BM_DisplayListCanvas_basicViewGroupDraw()
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicBuffer.cpp | 211 SkClipOp::kIntersect); in android_graphics_GraphicBuffer_lockCanvas()
|