Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp76 SkRegion clipRegion; in onDraw() local
77 canvas->temporary_internal_getRgnClip(&clipRegion); in onDraw()
78 if (CC_UNLIKELY(clipRegion.isComplex())) { in onDraw()
87 SkRegion::Cliperator it(clipRegion, ibounds); in onDraw()
98 } else if (clipRegion.isEmpty()) { in onDraw()
104 setScissor(info.height, clipRegion.getBounds()); in onDraw()
/frameworks/base/libs/hwui/tests/unit/
DClipAreaTests.cpp106 SkRegion clipRegion(area.getClipRegion()); in TEST() local
107 auto skRect(clipRegion.getBounds()); in TEST()
166 auto clipRegion = reinterpret_cast<const ClipRegion*>(serializedClip); in TEST() local
167 EXPECT_EQ(SkIRect::MakeWH(200, 200), clipRegion->region.getBounds()) in TEST()
169 EXPECT_EQ(Rect(200, 200), clipRegion->rect); in TEST()
250 auto clipRegion = reinterpret_cast<const ClipRegion*>(resolvedClip); in TEST() local
251 EXPECT_EQ(SkIRect::MakeLTRB(60, 20, 160, 200), clipRegion->region.getBounds()); in TEST()
298 auto clipRegion = reinterpret_cast<const ClipRegion*>(resolvedClip); in TEST() local
299 EXPECT_EQ(SkIRect::MakeLTRB(100, 100, 300, 300), clipRegion->region.getBounds()); in TEST()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DClipRegion2Activity.java76 canvas.clipRegion(mRegion); in dispatchDraw()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java671 final Rect clipRegion = mClipRegion; in onBufferDraw() local
680 if (invalidKey != null && canvas.getClipBounds(clipRegion)) { in onBufferDraw()
682 if (invalidKey.x + kbdPaddingLeft - 1 <= clipRegion.left && in onBufferDraw()
683 invalidKey.y + kbdPaddingTop - 1 <= clipRegion.top && in onBufferDraw()
684 invalidKey.x + invalidKey.width + kbdPaddingLeft + 1 >= clipRegion.right && in onBufferDraw()
685 invalidKey.y + invalidKey.height + kbdPaddingTop + 1 >= clipRegion.bottom) { in onBufferDraw()
/frameworks/base/libs/hwui/
DClipArea.h197 void clipRegion(const SkRegion& region, SkRegion::Op op);
DClipArea.cpp236 void ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) { in clipRegion() function in android::uirenderer::ClipArea
528 clipRegion(region, SkRegion::kIntersect_Op); in applyClip()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java982 public boolean clipRegion(@NonNull Region region, @NonNull Region.Op op) { in clipRegion() method in Canvas
1001 public boolean clipRegion(@NonNull Region region) { in clipRegion() method in Canvas
/frameworks/base/api/
Dtest-removed.txt142 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
143 method public deprecated boolean clipRegion(android.graphics.Region);
Dremoved.txt142 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
143 method public deprecated boolean clipRegion(android.graphics.Region);
Dsystem-removed.txt212 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
213 method public deprecated boolean clipRegion(android.graphics.Region);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10597 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op);
10598 method public deprecated boolean clipRegion(android.graphics.Region);