Searched refs:clipRegion (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | GLFunctorDrawable.cpp | 76 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/ |
D | ClipAreaTests.cpp | 106 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/ |
D | ClipRegion2Activity.java | 76 canvas.clipRegion(mRegion); in dispatchDraw()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 671 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/ |
D | ClipArea.h | 197 void clipRegion(const SkRegion& region, SkRegion::Op op);
|
D | ClipArea.cpp | 236 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/ |
D | Canvas.java | 982 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/ |
D | test-removed.txt | 142 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); 143 method public deprecated boolean clipRegion(android.graphics.Region);
|
D | removed.txt | 142 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); 143 method public deprecated boolean clipRegion(android.graphics.Region);
|
D | system-removed.txt | 212 … 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/ |
D | android-22.txt | 10597 … method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); 10598 method public deprecated boolean clipRegion(android.graphics.Region);
|