Home
last modified time | relevance | path

Searched refs:clipRegion (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/libs/hwui/
DSnapshot.cpp42 clipRegion = &mClipRegionRoot; in Snapshot()
70 if (!s->clipRegion->isEmpty()) { in Snapshot()
71 mClipRegionRoot.op(*s->clipRegion, SkRegion::kUnion_Op); in Snapshot()
73 clipRegion = &mClipRegionRoot; in Snapshot()
76 clipRegion = s->clipRegion; in Snapshot()
92 if (clipRegion->isEmpty()) { in ensureClipRegion()
93 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); in ensureClipRegion()
98 if (!clipRegion->isEmpty()) { in copyClipRectFromRegion()
99 const SkIRect& bounds = clipRegion->getBounds(); in copyClipRectFromRegion()
102 if (clipRegion->isRect()) { in copyClipRectFromRegion()
[all …]
DStatefulBaseRenderer.cpp173 if (!mSnapshot->previous->clipRegion->isEmpty()) { in clipPath()
174 clip.setRegion(*mSnapshot->previous->clipRegion); in clipPath()
192 bool StatefulBaseRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) { in clipRegion() function in android::uirenderer::StatefulBaseRenderer
DStatefulBaseRenderer.h90 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
DSnapshot.h248 SkRegion* clipRegion; variable
DRenderer.h165 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0;
DDisplayListRenderer.cpp174 bool DisplayListRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) { in clipRegion() function in android::uirenderer::DisplayListRenderer
177 return StatefulBaseRenderer::clipRegion(region, op); in clipRegion()
DDisplayListRenderer.h94 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
DOpenGLRenderer.h241 return mSnapshot->clipRegion->isEmpty(); in isCurrentClipSimple()
DOpenGLRenderer.cpp1497 if (!currentSnapshot()->clipRegion->isEmpty()) { in setStencilFromClip()
1531 drawRegionRects(*(currentSnapshot()->clipRegion), paint, false); in setStencilFromClip()
1542 drawRegionRects(*(currentSnapshot()->clipRegion), paint); in setStencilFromClip()
1584 if (!currentSnapshot()->clipRegion->isEmpty()) { in debugClip()
1587 drawRegionRects(*(currentSnapshot()->clipRegion, paint); in debugClip()
DDisplayListOp.h590 renderer.clipRegion(mRegion, mOp); in applyState()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DClipRegion2Activity.java76 canvas.clipRegion(mRegion); in dispatchDraw()
/frameworks/base/include/private/graphics/
DCanvas.h80 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0;
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java661 final Rect clipRegion = mClipRegion; in onBufferDraw() local
670 if (invalidKey != null && canvas.getClipBounds(clipRegion)) { in onBufferDraw()
672 if (invalidKey.x + kbdPaddingLeft - 1 <= clipRegion.left && in onBufferDraw()
673 invalidKey.y + kbdPaddingTop - 1 <= clipRegion.top && in onBufferDraw()
674 invalidKey.x + invalidKey.width + kbdPaddingLeft + 1 >= clipRegion.right && in onBufferDraw()
675 invalidKey.y + invalidKey.height + kbdPaddingTop + 1 >= clipRegion.bottom) { in onBufferDraw()
/frameworks/base/core/jni/android/graphics/
DSkiaCanvas.cpp86 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
441 bool SkiaCanvas::clipRegion(const SkRegion* region, SkRegion::Op op) { in clipRegion() function in android::SkiaCanvas
/frameworks/base/graphics/java/android/graphics/
DCanvas.java780 public boolean clipRegion(@NonNull Region region, @NonNull Region.Op op) { in clipRegion() method in Canvas
797 public boolean clipRegion(@NonNull Region region) { in clipRegion() method in Canvas
798 return clipRegion(region, Region.Op.INTERSECT); in clipRegion()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp180 static jboolean clipRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong deviceRgnHandle, in clipRegion() function
184 bool emptyClip = get_canvas(canvasHandle)->clipRegion(deviceRgn, op); in clipRegion()
708 {"native_clipRegion","(JJI)Z", (void*) CanvasJNI::clipRegion},
Dandroid_view_GLES20Canvas.cpp280 const bool result = renderer->clipRegion(region, static_cast<SkRegion::Op>(op)); in android_view_GLES20Canvas_clipRegion()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java335 public boolean clipRegion(Region region) { in clipRegion() method in GLES20Canvas
340 public boolean clipRegion(Region region, Region.Op op) { in clipRegion() method in GLES20Canvas
/frameworks/base/docs/html/guide/topics/graphics/
Dhardware-accel.jd310 <td class="label_pos">clipRegion()</td>
/frameworks/base/api/
Dcurrent.txt10553 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
10554 method public deprecated boolean clipRegion(android.graphics.Region);