/frameworks/base/libs/hwui/jni/ |
D | Region.cpp | 35 static inline SkRegion* GetSkRegion(JNIEnv* env, jobject regionObject) { in GetSkRegion() 37 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in GetSkRegion() 43 return reinterpret_cast<jlong>(new SkRegion); in Region_constructor() 47 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_destructor() 53 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setRegion() 54 const SkRegion* src = reinterpret_cast<SkRegion*>(srcHandle); in Region_setRegion() 60 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setRect() 67 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setPath() 69 const SkRegion* clip = reinterpret_cast<SkRegion*>(clipHandle); in Region_setPath() 77 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_getBounds() [all …]
|
D | android_graphics_Canvas.cpp | 193 static_assert(SkRegion::kDifference_Op == static_cast<SkRegion::Op>(SkClipOp::kDifference), ""); 194 static_assert(SkRegion::kIntersect_Op == static_cast<SkRegion::Op>(SkClipOp::kIntersect), ""); 195 static_assert(SkRegion::kUnion_Op == static_cast<SkRegion::Op>(SkClipOp::kUnion_deprecated), ""); 196 static_assert(SkRegion::kXOR_Op == static_cast<SkRegion::Op>(SkClipOp::kXOR_deprecated), ""); 197 static_assert(SkRegion::kReverseDifference_Op == static_cast<SkRegion::Op>(SkClipOp::kReverseDiffer… 198 static_assert(SkRegion::kReplace_Op == static_cast<SkRegion::Op>(SkClipOp::kReplace_deprecated), ""… 202 SkRegion::Op rgnOp = static_cast<SkRegion::Op>(opHandle); in opHandleToClipOp() 327 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in drawRegion()
|
D | NinePatch.cpp | 102 SkRegion* region = nullptr; in getTransparentRegion() 112 region = new SkRegion(); in getTransparentRegion() 115 region->op(iterDst.round(), SkRegion::kUnion_Op); in getTransparentRegion()
|
D | GraphicsJNI.h | 88 static SkRegion* getNativeRegion(JNIEnv*, jobject region); 119 static jobject createRegion(JNIEnv* env, SkRegion* region);
|
D | Graphics.cpp | 475 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) in getNativeRegion() 481 SkRegion* r = reinterpret_cast<SkRegion*>(regionHandle); in getNativeRegion() 525 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) in createRegion()
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasFrontend.cpp | 58 static_assert(static_cast<int>(SkClipOp::kDifference) == SkRegion::Op::kDifference_Op); 59 static_assert(static_cast<int>(SkClipOp::kIntersect) == SkRegion::Op::kIntersect_Op); 60 static_assert(static_cast<int>(SkClipOp::kUnion_deprecated) == SkRegion::Op::kUnion_Op); 61 static_assert(static_cast<int>(SkClipOp::kXOR_deprecated) == SkRegion::Op::kXOR_Op); 62 static_assert(static_cast<int>(SkClipOp::kReverseDifference_deprecated) == SkRegion::Op::kReverseDi… 63 static_assert(static_cast<int>(SkClipOp::kReplace_deprecated) == SkRegion::Op::kReplace_Op); 66 clip().opRect(rect, transform(), mInitialBounds, (SkRegion::Op)op, false); in internalClipRect() 70 clip().opPath(path, transform(), mInitialBounds, (SkRegion::Op)op, true); in internalClipPath()
|
D | CanvasOps.h | 208 SkRegion region;
|
/frameworks/base/libs/hwui/apex/ |
D | android_region.cpp | 23 static inline SkRegion::Iterator* ARegionIter_to_SkRegionIter(ARegionIterator* iterator) { in ARegionIter_to_SkRegionIter() 24 return reinterpret_cast<SkRegion::Iterator*>(iterator); in ARegionIter_to_SkRegionIter() 27 static inline ARegionIterator* SkRegionIter_to_ARegionIter(SkRegion::Iterator* iterator) { in SkRegionIter_to_ARegionIter() 32 SkRegion* region = GraphicsJNI::getNativeRegion(env, regionObj); in ARegionIterator_acquireIterator() 33 return (!region) ? nullptr : SkRegionIter_to_ARegionIter(new SkRegion::Iterator(*region)); in ARegionIterator_acquireIterator()
|
/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/native/libs/ui/ |
D | Region.cpp | 677 SkRegion sk_lhs; in boolean_operation() 678 SkRegion sk_rhs; in boolean_operation() 679 SkRegion sk_dst; in boolean_operation() 687 SkRegion::kUnion_Op); in boolean_operation() 695 SkRegion::kUnion_Op); in boolean_operation() 698 SkRegion::Op sk_op; in boolean_operation() 700 case op_or: sk_op = SkRegion::kUnion_Op; name="OR"; break; in boolean_operation() 701 case op_xor: sk_op = SkRegion::kUnion_XOR; name="XOR"; break; in boolean_operation() 702 case op_and: sk_op = SkRegion::kIntersect_Op; name="AND"; break; in boolean_operation() 703 case op_nand: sk_op = SkRegion::kDifference_Op; name="NAND"; break; in boolean_operation() [all …]
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 99 void clipRegion(const SkRegion&, SkClipOp); 105 void drawRegion(const SkRegion&, const SkPaint&); 171 void onClipRegion(const SkRegion&, SkClipOp) override; 177 void onDrawRegion(const SkRegion&, const SkPaint&) override;
|
D | RecordingCanvas.cpp | 184 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion() 185 SkRegion region; 218 DrawRegion(const SkRegion& region, const SkPaint& paint) : region(region), paint(paint) {} in DrawRegion() 219 SkRegion region; 529 SkRegion clipRegion; in needsCompositedLayer() 661 void DisplayListData::clipRegion(const SkRegion& region, SkClipOp op) { in clipRegion() 677 void DisplayListData::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion() 962 void RecordingCanvas::onClipRegion(const SkRegion& region, SkClipOp op) { in onClipRegion() 982 void RecordingCanvas::onDrawRegion(const SkRegion& region, const SkPaint& paint) { in onDrawRegion()
|
D | RenderNode.h | 48 class SkRegion; variable
|
D | SkiaCanvas.h | 111 virtual void drawRegion(const SkRegion& region, const Paint& paint) override;
|
D | SkiaCanvas.cpp | 496 void SkiaCanvas::drawRegion(const SkRegion& region, const Paint& paint) { in drawRegion()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FatalTestCanvas.h | 44 void onDrawRegion(const SkRegion& region, const SkPaint& paint) { in onDrawRegion() 88 void onClipRegion(const SkRegion& deviceRgn, SkClipOp) { in onClipRegion()
|
D | CanvasOpTests.cpp | 234 SkRegion region; in TEST() 254 SkRegion clip; in TEST() 256 SkRegion region; in TEST()
|
/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 | 74 SkRegion clipRegion; in onDraw()
|
/frameworks/base/libs/hwui/tests/common/ |
D | CallCountingCanvas.h | 87 void onDrawRegion(const SkRegion& region, const SkPaint& paint) override { in onDrawRegion()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 210 virtual void drawRegion(const SkRegion& region, const Paint& paint) = 0;
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.cpp | 827 SkRegion clearRegion; in drawLayers()
|