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.cpp82 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 100, 100), TestUtils::getClipBounds(&canvas)) in TEST()
93 EXPECT_EQ(SkRect::MakeLTRB(25, 25, 75, 75), TestUtils::getClipBounds(&canvas)); in TEST()
104 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 30, 40), TestUtils::getClipBounds(&canvas)); in TEST()
DSkiaPipelineTests.cpp269 EXPECT_EQ(SkRect::MakeLTRB(600, 100, 700, 500), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
274 EXPECT_EQ(SkRect::MakeLTRB(100, 400, 600, 500), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
279 EXPECT_EQ(SkRect::MakeLTRB(100, 100, 700, 500), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
284 EXPECT_EQ(SkRect::MakeLTRB(0, 0, 800, 600), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
338 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 30, 40), TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
375 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
405 EXPECT_EQ(SkRect::MakeLTRB(20, 10, 30, 40), TestUtils::getClipBounds(this)) in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp176 recorder.getClipBounds(&clipBounds); in getRecorderClipBounds()
249 EXPECT_EQ(SkRect::MakeLTRB(0, 0, 100, 100), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
262 EXPECT_EQ(SkRect::MakeLTRB(0, 40, 95, 90), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
440 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
445 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
466 TestUtils::getClipBounds(this->getCanvas())); in RENDERTHREAD_SKIA_PIPELINE_TEST()
571 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
969 TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
972 EXPECT_EQ(SkRect::MakeWH(10, 10), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
1010 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()
98 Log.d(LOG_TAG, "clipRect = " + canvas.getClipBounds()); in dispatchDraw()
108 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.h303 static SkRect getClipBounds(const SkCanvas* canvas);
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java108 Rect clipBounds = canvas.getClipBounds(); in drawShadow()
122 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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DAnimateableViewBounds.java120 public Rect getClipBounds() { in getClipBounds() method in AnimateableViewBounds
DTaskView.java686 Rect clipBounds = new Rect(mViewBounds.getClipBounds()); in onLongClick()
/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/base/graphics/java/android/graphics/
DCanvas.java517 bounds = new RectF(getClipBounds()); in saveLayer()
627 bounds = new RectF(getClipBounds()); in saveLayerAlpha()
1260 public boolean getClipBounds(@Nullable Rect bounds) { in getClipBounds() method in Canvas
1269 public final @NonNull Rect getClipBounds() { in getClipBounds() method in Canvas
1271 getClipBounds(r); in getClipBounds()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java620 .getClipBounds() : null; in drawInLayer()
864 Rectangle bounds = graphics2D.getClipBounds(); in getOriginalClip()
/frameworks/base/libs/hwui/hwui/
DCanvas.h213 virtual bool getClipBounds(SkRect* outRect) const = 0;
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp163 static jboolean getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) { in getClipBounds() function
166 bool result = get_canvas(canvasHandle)->getClipBounds(&r); in getClipBounds()
666 {"nGetClipBounds","(JLandroid/graphics/Rect;)Z", (void*) CanvasJNI::getClipBounds},
/frameworks/base/libs/hwui/
DSkiaCanvas.h88 virtual bool getClipBounds(SkRect* outRect) const override;
DRenderProperties.h469 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/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java830 Rect rect = mNotificationView.getClipBounds(); in connectNotificationsUI()
960 Rect rect = mNotificationView.getClipBounds(); in animateNotificationPanel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1803 pw.print(", clipBounds: " + getClipBounds());
1811 pw.print(", clipBounds: " + view.getClipBounds());
/frameworks/base/core/java/android/view/
DSurfaceView.java558 canvas.getClipBounds(mTmpRect); in clearSurfaceViewPort()
/frameworks/base/core/java/android/widget/
DStackView.java536 canvas.getClipBounds(stackInvalidateRect); in dispatchDraw()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java690 if (invalidKey != null && canvas.getClipBounds(clipRegion)) { in onBufferDraw()

12