Searched refs:clipBounds (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java80 Rect clipBounds = canvas.getClipBounds();
81 Rect newBounds = new Rect(clipBounds);
85 canvas.clipRect(clipBounds, Op.REPLACE);
93 Rect clipBounds = canvas.getClipBounds();
94 if (clipBounds.isEmpty()) {
97 BufferedImage image = new BufferedImage(clipBounds.width(), clipBounds.height(),
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java625 Rectangle clipBounds = originalGraphics.getClip() != null ? originalGraphics
627 if (clipBounds != null) {
628 if (clipBounds.width == 0 || clipBounds.height == 0) {
632 // If we have clipBounds available, use them as they will always be
634 x = clipBounds.x;
635 y = clipBounds.y;
636 width = clipBounds.width;
637 height = clipBounds.height;
/frameworks/support/transition/src/android/support/transition/
H A DViewUtils.java76 new Property<View, Rect>(Rect.class, "clipBounds") {
84 public void set(View view, Rect clipBounds) {
85 ViewCompat.setClipBounds(view, clipBounds);
/frameworks/base/libs/hwui/pipeline/skia/
H A DReorderBarrierDrawables.cpp153 Rect clipBounds; local
154 casterProperties.getClippingRectForFlags(CLIP_TO_CLIP_BOUNDS, &clipBounds);
155 casterClipRect = clipBounds.toSkRect();
184 // intersect the shadow-casting path with the clipBounds, if present
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java689 Rect clipBounds = new Rect(mViewBounds.mClipBounds);
690 if (!clipBounds.isEmpty()) {
692 clipBounds.scale(getScaleX());
693 inBounds = clipBounds.contains(mDownTouchPos.x, mDownTouchPos.y);
/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp427 // intersect the shadow-casting path with the clipBounds, if present
432 Rect clipBounds; local
433 properties.getClippingRectForFlags(CLIP_TO_CLIP_BOUNDS, &clipBounds);
435 clipBoundsPath.addRect(clipBounds.left, clipBounds.top,
436 clipBounds.right, clipBounds.bottom);
H A DRenderProperties.h196 bool setClipBounds(const Rect& clipBounds) { argument
198 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret;
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp122 android::uirenderer::Rect clipBounds(left, top, right, bottom);
123 return SET_AND_DIRTY(setClipBounds, clipBounds, RenderNode::GENERIC);
/frameworks/base/libs/hwui/tests/unit/
H A DRenderNodeDrawableTests.cpp172 SkRect clipBounds; local
173 recorder.getClipBounds(&clipBounds);
174 return clipBounds;
/frameworks/support/compat/java/android/support/v4/view/
H A DViewCompat.java725 public void setClipBounds(View view, Rect clipBounds) { argument
1155 public void setClipBounds(View view, Rect clipBounds) { argument
1156 view.setClipBounds(clipBounds);
3429 * @param view The view to set clipBounds.
3430 * @param clipBounds The rectangular area, in the local coordinates of
3433 public static void setClipBounds(View view, Rect clipBounds) { argument
3434 IMPL.setClipBounds(view, clipBounds);
/frameworks/base/core/java/android/view/
H A DView.java18603 * @param clipBounds The rectangular area, in the local coordinates of
18606 public void setClipBounds(Rect clipBounds) { argument
18607 if (clipBounds == mClipBounds
18608 || (clipBounds != null && clipBounds.equals(mClipBounds))) {
18611 if (clipBounds != null) {
18613 mClipBounds = new Rect(clipBounds);
18615 mClipBounds.set(clipBounds);
18625 * Returns a copy of the current {@link #setClipBounds(Rect) clipBounds}.

Completed in 7111 milliseconds