Home
last modified time | relevance | path

Searched refs:getClipBounds (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
DSkiaRenderPropertiesTests.cpp83 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 100, 100), TestUtils::getClipBounds(&canvas)) in TEST()
94 EXPECT_EQ(SkRect::MakeLTRB(25, 25, 75, 75), TestUtils::getClipBounds(&canvas)); in TEST()
105 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 30, 40), TestUtils::getClipBounds(&canvas)); in TEST()
DSkiaPipelineTests.cpp238 EXPECT_EQ(SkRect::MakeLTRB(600, 100, 700, 500), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
243 EXPECT_EQ(SkRect::MakeLTRB(100, 400, 600, 500), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
248 EXPECT_EQ(SkRect::MakeLTRB(100, 100, 700, 500), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
253 EXPECT_EQ(SkRect::MakeLTRB(0, 0, 800, 600), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
308 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 30, 40), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
346 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
376 EXPECT_EQ(SkRect::MakeLTRB(20, 10, 30, 40), TestUtils::getClipBounds(this)) in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp177 recorder.getClipBounds(&clipBounds); in getRecorderClipBounds()
250 EXPECT_EQ(SkRect::MakeLTRB(0, 0, 100, 100), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
263 EXPECT_EQ(SkRect::MakeLTRB(0, 40, 95, 90), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
441 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
446 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
467 TestUtils::getClipBounds(this->getCanvas())); in RENDERTHREAD_SKIA_PIPELINE_TEST()
572 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
971 TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
974 EXPECT_EQ(SkRect::MakeWH(10, 10), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
1012 TestUtils::getClipBounds(this)); in TEST()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAlphaLayersActivity.java88 Log.d(LOG_TAG, "clipRect = " + canvas.getClipBounds()); in dispatchDraw()
96 Log.d(LOG_TAG, "clipRect = " + canvas.getClipBounds()); in dispatchDraw()
104 Log.d(LOG_TAG, "clipRect = " + canvas.getClipBounds()); in dispatchDraw()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp161 SkRect TestUtils::getClipBounds(const SkCanvas* canvas) { in getClipBounds() function in android::uirenderer::TestUtils
170 SkRect outlineInDeviceCoord = TestUtils::getClipBounds(canvas); in getLocalClipBounds()
DTestUtils.h283 static SkRect getClipBounds(const SkCanvas* canvas);
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java104 Rect clipBounds = canvas.getClipBounds(); in drawShadow()
118 Rect clipBounds = canvas.getClipBounds(); in getPathShadow()
DRectShadowPainter.java139 Rect clipBounds = canvas.getClipBounds(); in modifyCanvas()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java118 final Rect clip = view.getClipBounds(); in captureValues()
291 if (!object.getClipBounds(tempRect)) { in get()
310 if (object.getClipBounds(tempRect)) { in set()
/frameworks/base/libs/hwui/canvas/
DCanvasFrontend.cpp96 SkRect CanvasStateHelper::getClipBounds() const { in getClipBounds() function in android::uirenderer::CanvasStateHelper
DCanvasFrontend.h96 SkRect getClipBounds() const;
/frameworks/base/core/java/android/transition/
DChangeClipBounds.java60 Rect clip = view.getClipBounds(); in captureValues()
DChangeBounds.java249 values.values.put(PROPNAME_CLIP, view.getClipBounds()); in captureValues()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DDotRenderer.java112 Rect canvasBounds = canvas.getClipBounds(); in draw()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java487 bounds = new RectF(getClipBounds()); in saveLayer()
596 bounds = new RectF(getClipBounds()); in saveLayerAlpha()
1279 public boolean getClipBounds(@Nullable Rect bounds) { in getClipBounds() method in Canvas
1288 public final @NonNull Rect getClipBounds() { in getClipBounds() method in Canvas
1290 getClipBounds(r); in getClipBounds()
/frameworks/base/libs/hwui/
DSkiaCanvas.h90 virtual bool getClipBounds(SkRect* outRect) const override;
DRenderProperties.h484 const Rect& getClipBounds() const { return mPrimitiveFields.mClipBounds; } in getClipBounds() function
DSkiaCanvas.cpp355 bool SkiaCanvas::getClipBounds(SkRect* outRect) const { in getClipBounds() function in android::SkiaCanvas
/frameworks/base/libs/hwui/hwui/
DCanvas.h182 virtual bool getClipBounds(SkRect* outRect) const = 0;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java656 .getClipBounds() : null; in drawInLayer()
909 Rectangle bounds = graphics2D.getClipBounds(); in getOriginalClip()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp165 static jboolean getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) { in getClipBounds() function
168 bool result = get_canvas(canvasHandle)->getClipBounds(&r); in getClipBounds()
688 {"nGetClipBounds","(JLandroid/graphics/Rect;)Z", (void*) CanvasJNI::getClipBounds},
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1944 pw.print(", clipBounds: " + getClipBounds()); in dump()
1952 pw.print(", clipBounds: " + view.getClipBounds()); in dump()
/frameworks/base/core/java/android/view/
DSurfaceView.java690 canvas.getClipBounds(mTmpRect); in clearSurfaceViewPort()
/frameworks/base/core/java/android/widget/
DStackView.java538 canvas.getClipBounds(stackInvalidateRect); in dispatchDraw()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java690 if (invalidKey != null && canvas.getClipBounds(clipRegion)) { in onBufferDraw()

12