/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | ChangeClipBoundsTest.java | 53 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 D | SkiaRenderPropertiesTests.cpp | 81 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 D | SkiaPipelineTests.cpp | 228 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 D | RenderNodeDrawableTests.cpp | 173 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 D | ChangeClipBoundsUsage.java | 62 if (BOUNDS.equals(ViewCompat.getClipBounds(mPhoto))) {
|
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
H A D | ChangeClipBoundsUsage.java | 62 if (BOUNDS.equals(ViewCompat.getClipBounds(mPhoto))) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 44 Rect originCanvasRect = canvas.getClipBounds(); 79 Rect rect = canvas.getClipBounds();
|
H A D | ViewGroup_Delegate.java | 80 Rect clipBounds = canvas.getClipBounds(); 93 Rect clipBounds = canvas.getClipBounds();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | AlphaLayersActivity.java | 88 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 D | ChangeClipBounds.java | 29 * ChangeClipBounds captures the {@link android.view.View#getClipBounds()} before and after the 60 Rect clip = view.getClipBounds();
|
H A D | ChangeBounds.java | 245 values.values.put(PROPNAME_CLIP, view.getClipBounds());
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | ChangeClipBounds.java | 31 * ChangeClipBounds captures the {@link android.view.View#getClipBounds()} before and after the 63 Rect clip = ViewCompat.getClipBounds(view);
|
H A D | ViewUtils.java | 80 return ViewCompat.getClipBounds(view);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 200 SkRect TestUtils::getClipBounds(const SkCanvas* canvas) { function in class:android::uirenderer::TestUtils 209 SkRect outlineInDeviceCoord = TestUtils::getClipBounds(canvas);
|
H A D | TestUtils.h | 355 static SkRect getClipBounds(const SkCanvas* canvas);
|
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 118 final Rect clip = view.getClipBounds(); 291 if (!object.getClipBounds(tempRect)) { 310 if (object.getClipBounds(tempRect)) {
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 443 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 D | GcSnapshot.java | 626 .getClipBounds() : null; 869 Rectangle bounds = graphics2D.getClipBounds();
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.h | 95 virtual bool getClipBounds(SkRect* outRect) const override;
|
H A D | RecordingCanvas.h | 130 virtual bool getClipBounds(SkRect* outRect) const override;
|
H A D | RenderProperties.h | 547 const Rect& getClipBounds() const { function in class:android::uirenderer::RenderProperties
|
H A D | RecordingCanvas.cpp | 226 bool RecordingCanvas::getClipBounds(SkRect* outRect) const { function in class:android::uirenderer::RecordingCanvas 256 if (getClipBounds(&bounds)) {
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.h | 193 virtual bool getClipBounds(SkRect* outRect) const = 0;
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 151 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 D | ViewCompat.java | 728 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);
|