/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaRenderPropertiesTests.cpp | 82 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()
|
D | SkiaPipelineTests.cpp | 269 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()
|
D | RenderNodeDrawableTests.cpp | 176 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/ |
D | AlphaLayersActivity.java | 88 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/ |
D | TestUtils.cpp | 161 SkRect TestUtils::getClipBounds(const SkCanvas* canvas) { in getClipBounds() function in android::uirenderer::TestUtils 170 SkRect outlineInDeviceCoord = TestUtils::getClipBounds(canvas); in getLocalClipBounds()
|
D | TestUtils.h | 303 static SkRect getClipBounds(const SkCanvas* canvas);
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 108 Rect clipBounds = canvas.getClipBounds(); in drawShadow() 122 Rect clipBounds = canvas.getClipBounds(); in getPathShadow()
|
D | RectShadowPainter.java | 139 Rect clipBounds = canvas.getClipBounds(); in modifyCanvas()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 118 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/ |
D | AnimateableViewBounds.java | 120 public Rect getClipBounds() { in getClipBounds() method in AnimateableViewBounds
|
D | TaskView.java | 686 Rect clipBounds = new Rect(mViewBounds.getClipBounds()); in onLongClick()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeClipBounds.java | 60 Rect clip = view.getClipBounds(); in captureValues()
|
D | ChangeBounds.java | 249 values.values.put(PROPNAME_CLIP, view.getClipBounds()); in captureValues()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 517 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/ |
D | GcSnapshot.java | 620 .getClipBounds() : null; in drawInLayer() 864 Rectangle bounds = graphics2D.getClipBounds(); in getOriginalClip()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 213 virtual bool getClipBounds(SkRect* outRect) const = 0;
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 163 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/ |
D | SkiaCanvas.h | 88 virtual bool getClipBounds(SkRect* outRect) const override;
|
D | RenderProperties.h | 469 const Rect& getClipBounds() const { return mPrimitiveFields.mClipBounds; } in getClipBounds() function
|
D | SkiaCanvas.cpp | 355 bool SkiaCanvas::getClipBounds(SkRect* outRect) const { in getClipBounds() function in android::SkiaCanvas
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBar.java | 830 Rect rect = mNotificationView.getClipBounds(); in connectNotificationsUI() 960 Rect rect = mNotificationView.getClipBounds(); in animateNotificationPanel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1803 pw.print(", clipBounds: " + getClipBounds()); 1811 pw.print(", clipBounds: " + view.getClipBounds());
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 558 canvas.getClipBounds(mTmpRect); in clearSurfaceViewPort()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 536 canvas.getClipBounds(stackInvalidateRect); in dispatchDraw()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 690 if (invalidKey != null && canvas.getClipBounds(clipRegion)) { in onBufferDraw()
|