Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DRegion.cpp36 static inline SkRegion* GetSkRegion(JNIEnv* env, jobject regionObject) { in GetSkRegion()
38 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in GetSkRegion()
44 return reinterpret_cast<jlong>(new SkRegion); in Region_constructor()
48 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_destructor()
54 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setRegion()
55 const SkRegion* src = reinterpret_cast<SkRegion*>(srcHandle); in Region_setRegion()
61 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setRect()
68 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setPath()
70 const SkRegion* clip = reinterpret_cast<SkRegion*>(clipHandle); in Region_setPath()
78 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_getBounds()
[all …]
DNinePatch.cpp104 SkRegion* region = nullptr; in getTransparentRegion()
114 region = new SkRegion(); in getTransparentRegion()
117 region->op(iterDst.round(), SkRegion::kUnion_Op); in getTransparentRegion()
DRegion.h26 extern SkRegion* android_graphics_Region_getSkRegion(JNIEnv* env, jobject regionObj);
DGraphicsJNI.h65 static SkRegion* getNativeRegion(JNIEnv*, jobject region);
83 static jobject createRegion(JNIEnv* env, SkRegion* region);
DGraphics.cpp382 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) in getNativeRegion()
388 SkRegion* r = reinterpret_cast<SkRegion*>(regionHandle); in getNativeRegion()
406 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) in createRegion()
/frameworks/base/libs/hwui/tests/common/scenes/
DRectGridAnimation.cpp37 SkRegion region; in createContent()
40 region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op); in createContent()
/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), ""…
200 SkRegion::Op rgnOp = static_cast<SkRegion::Op>(opHandle); in opHandleToClipOp()
325 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in drawRegion()
Dandroid_hardware_input_InputWindowHandle.cpp129 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); in updateInfo()
130 for (SkRegion::Iterator it(*region); !it.done(); it.next()) { in updateInfo()
Dandroid_view_SurfaceControl.cpp429 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); in nativeSetTransparentRegionHint()
438 SkRegion::Iterator it(*region); in nativeSetTransparentRegionHint()
/frameworks/native/libs/ui/
DRegion.cpp649 SkRegion sk_lhs; in boolean_operation()
650 SkRegion sk_rhs; in boolean_operation()
651 SkRegion sk_dst; in boolean_operation()
659 SkRegion::kUnion_Op); in boolean_operation()
667 SkRegion::kUnion_Op); in boolean_operation()
670 SkRegion::Op sk_op; in boolean_operation()
672 case op_or: sk_op = SkRegion::kUnion_Op; name="OR"; break; in boolean_operation()
673 case op_xor: sk_op = SkRegion::kUnion_XOR; name="XOR"; break; in boolean_operation()
674 case op_and: sk_op = SkRegion::kIntersect_Op; name="AND"; break; in boolean_operation()
675 case op_nand: sk_op = SkRegion::kDifference_Op; name="NAND"; break; in boolean_operation()
[all …]
/frameworks/base/libs/hwui/
DRecordingCanvas.h89 void clipRegion(const SkRegion&, SkClipOp);
95 void drawRegion(const SkRegion&, const SkPaint&);
158 void onClipRegion(const SkRegion&, SkClipOp) override;
164 void onDrawRegion(const SkRegion&, const SkPaint&) override;
DRecordingCanvas.cpp179 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion()
180 SkRegion region;
213 DrawRegion(const SkRegion& region, const SkPaint& paint) : region(region), paint(paint) {} in DrawRegion()
214 SkRegion region;
568 void DisplayListData::clipRegion(const SkRegion& region, SkClipOp op) { in clipRegion()
584 void DisplayListData::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
836 void RecordingCanvas::onClipRegion(const SkRegion& region, SkClipOp op) { in onClipRegion()
856 void RecordingCanvas::onDrawRegion(const SkRegion& region, const SkPaint& paint) { in onDrawRegion()
DRenderNode.h45 class SkRegion; variable
DSkiaCanvas.h109 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) override;
DSkiaCanvas.cpp493 void SkiaCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h44 void onDrawRegion(const SkRegion& region, const SkPaint& paint) { in onDrawRegion()
105 void onClipRegion(const SkRegion& deviceRgn, SkClipOp) { in onClipRegion()
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h51 void onClipRegion(const SkRegion& deviceRgn, SkClipOp) override { in onClipRegion()
65 void onDrawRegion(const SkRegion&, const SkPaint&) override { in onDrawRegion() argument
DGLFunctorDrawable.cpp96 SkRegion clipRegion; in onDraw()
/frameworks/base/libs/hwui/hwui/
DCanvas.h241 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) = 0;