Searched refs:getClipBounds (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/support/transition/tests/src/android/support/transition/
H A DChangeClipBoundsTest.java53 assertNull(ViewCompat.getClipBounds(redSquare));
63 Rect midClip = ViewCompat.getClipBounds(redSquare);
77 final Rect endRect = ViewCompat.getClipBounds(redSquare);
96 Rect midClip = ViewCompat.getClipBounds(redSquare);
110 assertNull(ViewCompat.getClipBounds(redSquare));
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaRenderPropertiesTests.cpp81 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 100, 100), TestUtils::getClipBounds(&canvas))
90 EXPECT_EQ(SkRect::MakeLTRB(25, 25, 75, 75), TestUtils::getClipBounds(&canvas));
99 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 30, 40), TestUtils::getClipBounds(&canvas));
H A DSkiaPipelineTests.cpp228 EXPECT_EQ(SkRect::MakeLTRB(600, 100, 700, 500), TestUtils::getClipBounds(this));
233 EXPECT_EQ(SkRect::MakeLTRB(100, 400, 600, 500), TestUtils::getClipBounds(this));
238 EXPECT_EQ(SkRect::MakeLTRB(100, 100, 700, 500), TestUtils::getClipBounds(this));
243 EXPECT_EQ(SkRect::MakeLTRB(0, 0, 800, 600), TestUtils::getClipBounds(this));
294 EXPECT_EQ(SkRect::MakeLTRB(10, 20, 30, 40), TestUtils::getClipBounds(this));
325 EXPECT_EQ(SkRect::MakeLTRB(20, 10, 30, 40), TestUtils::getClipBounds(this))
H A DRenderNodeDrawableTests.cpp173 recorder.getClipBounds(&clipBounds);
246 EXPECT_EQ(SkRect::MakeLTRB(0, 0, 100, 100), TestUtils::getClipBounds(this));
258 EXPECT_EQ(SkRect::MakeLTRB(0, 40, 95, 90), TestUtils::getClipBounds(this));
361 EXPECT_EQ(SkRect::MakeLTRB(0, 0, LAYER_WIDTH, LAYER_HEIGHT), TestUtils::getClipBounds(this));
365 EXPECT_EQ(SkRect::MakeLTRB(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this));
386 300 - SCROLL_Y), TestUtils::getClipBounds(this->getCanvas()));
485 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this));
865 TestUtils::getClipBounds(this));
868 EXPECT_EQ(SkRect::MakeWH(10, 10), TestUtils::getClipBounds(this));
906 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(thi
[all...]
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DChangeClipBoundsUsage.java62 if (BOUNDS.equals(ViewCompat.getClipBounds(mPhoto))) {
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DChangeClipBoundsUsage.java62 if (BOUNDS.equals(ViewCompat.getClipBounds(mPhoto))) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRectShadowPainter.java44 Rect originCanvasRect = canvas.getClipBounds();
79 Rect rect = canvas.getClipBounds();
H A DViewGroup_Delegate.java80 Rect clipBounds = canvas.getClipBounds();
93 Rect clipBounds = canvas.getClipBounds();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAlphaLayersActivity.java88 Log.d(LOG_TAG, "clipRect = " + canvas.getClipBounds());
98 Log.d(LOG_TAG, "clipRect = " + canvas.getClipBounds());
108 Log.d(LOG_TAG, "clipRect = " + canvas.getClipBounds());
/frameworks/base/core/java/android/transition/
H A DChangeClipBounds.java29 * ChangeClipBounds captures the {@link android.view.View#getClipBounds()} before and after the
60 Rect clip = view.getClipBounds();
H A DChangeBounds.java245 values.values.put(PROPNAME_CLIP, view.getClipBounds());
/frameworks/support/transition/src/android/support/transition/
H A DChangeClipBounds.java31 * ChangeClipBounds captures the {@link android.view.View#getClipBounds()} before and after the
63 Rect clip = ViewCompat.getClipBounds(view);
H A DViewUtils.java80 return ViewCompat.getClipBounds(view);
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp200 SkRect TestUtils::getClipBounds(const SkCanvas* canvas) { function in class:android::uirenderer::TestUtils
209 SkRect outlineInDeviceCoord = TestUtils::getClipBounds(canvas);
H A DTestUtils.h355 static SkRect getClipBounds(const SkCanvas* canvas);
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java118 final Rect clip = view.getClipBounds();
291 if (!object.getClipBounds(tempRect)) {
310 if (object.getClipBounds(tempRect)) {
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java443 bounds = new RectF(getClipBounds());
529 bounds = new RectF(getClipBounds());
1121 public boolean getClipBounds(@Nullable Rect bounds) { method in class:Canvas
1130 public final @NonNull Rect getClipBounds() { method in class:Canvas
1132 getClipBounds(r);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java626 .getClipBounds() : null;
869 Rectangle bounds = graphics2D.getClipBounds();
/frameworks/base/libs/hwui/
H A DSkiaCanvas.h95 virtual bool getClipBounds(SkRect* outRect) const override;
H A DRecordingCanvas.h130 virtual bool getClipBounds(SkRect* outRect) const override;
H A DRenderProperties.h547 const Rect& getClipBounds() const { function in class:android::uirenderer::RenderProperties
H A DRecordingCanvas.cpp226 bool RecordingCanvas::getClipBounds(SkRect* outRect) const { function in class:android::uirenderer::RecordingCanvas
256 if (getClipBounds(&bounds)) {
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h193 virtual bool getClipBounds(SkRect* outRect) const = 0;
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp151 static jboolean getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) { function in namespace:android::CanvasJNI
154 bool result = get_canvas(canvasHandle)->getClipBounds(&r);
581 {"nGetClipBounds","(JLandroid/graphics/Rect;)Z", (void*) CanvasJNI::getClipBounds},
/frameworks/support/compat/java/android/support/v4/view/
H A DViewCompat.java728 public Rect getClipBounds(View view) { method in class:ViewCompat.ViewCompatBaseImpl
1160 public Rect getClipBounds(View view) { method in class:ViewCompat.ViewCompatApi18Impl
1161 return view.getClipBounds();
3445 public static Rect getClipBounds(View view) { method in class:ViewCompat
3446 return IMPL.getClipBounds(view);

Completed in 414 milliseconds

12