/frameworks/base/core/jni/android/graphics/ |
D | Region.cpp | 36 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 …]
|
D | NinePatch.cpp | 104 SkRegion* region = nullptr; in getTransparentRegion() 114 region = new SkRegion(); in getTransparentRegion() 117 region->op(iterDst.round(), SkRegion::kUnion_Op); in getTransparentRegion()
|
D | Region.h | 26 extern SkRegion* android_graphics_Region_getSkRegion(JNIEnv* env, jobject regionObj);
|
D | GraphicsJNI.h | 65 static SkRegion* getNativeRegion(JNIEnv*, jobject region); 83 static jobject createRegion(JNIEnv* env, SkRegion* region);
|
D | Graphics.cpp | 382 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/ |
D | RectGridAnimation.cpp | 37 SkRegion region; in createContent() 40 region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op); in createContent()
|
/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), ""… 200 SkRegion::Op rgnOp = static_cast<SkRegion::Op>(opHandle); in opHandleToClipOp() 325 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in drawRegion()
|
D | android_hardware_input_InputWindowHandle.cpp | 129 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); in updateInfo() 130 for (SkRegion::Iterator it(*region); !it.done(); it.next()) { in updateInfo()
|
D | android_view_SurfaceControl.cpp | 429 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); in nativeSetTransparentRegionHint() 438 SkRegion::Iterator it(*region); in nativeSetTransparentRegionHint()
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 649 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/ |
D | RecordingCanvas.h | 89 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;
|
D | RecordingCanvas.cpp | 179 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()
|
D | RenderNode.h | 45 class SkRegion; variable
|
D | SkiaCanvas.h | 109 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) override;
|
D | SkiaCanvas.cpp | 493 void SkiaCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FatalTestCanvas.h | 44 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/ |
D | DumpOpsCanvas.h | 51 void onClipRegion(const SkRegion& deviceRgn, SkClipOp) override { in onClipRegion() 65 void onDrawRegion(const SkRegion&, const SkPaint&) override { in onDrawRegion() argument
|
D | GLFunctorDrawable.cpp | 96 SkRegion clipRegion; in onDraw()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 241 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) = 0;
|