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

/frameworks/support/v4/jellybean-mr2/android/support/v4/view/
H A DViewCompatJellybeanMr2.java31 public static void setClipBounds(View view, Rect clipBounds) { argument
32 view.setClipBounds(clipBounds);
/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(),
H A DRectShadowPainter.java117 Rect clipBounds = canvas.getClipBounds();
118 if (clipBounds.isEmpty()) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java623 Rectangle clipBounds = originalGraphics.getClipBounds();
624 if (clipBounds != null) {
625 if (clipBounds.width == 0 || clipBounds.height == 0) {
629 // If we have clipBounds available, use them as they will always be
631 x = clipBounds.x;
632 y = clipBounds.y;
633 width = clipBounds.width;
634 height = clipBounds.height;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java670 Rect clipBounds = new Rect(mViewBounds.mClipBounds);
671 clipBounds.scale(getScaleX());
672 boolean inBounds = clipBounds.contains(mDownTouchPos.x, mDownTouchPos.y);
/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp424 // intersect the shadow-casting path with the clipBounds, if present
429 Rect clipBounds; local
430 properties.getClippingRectForFlags(CLIP_TO_CLIP_BOUNDS, &clipBounds);
432 clipBoundsPath.addRect(clipBounds.left, clipBounds.top,
433 clipBounds.right, clipBounds.bottom);
H A DRenderNode.cpp883 // intersect the outline with the clipBounds, if present
889 Rect clipBounds; local
890 properties().getClippingRectForFlags(CLIP_TO_CLIP_BOUNDS, &clipBounds);
892 clipBoundsPath.addRect(clipBounds.left, clipBounds.top,
893 clipBounds.right, clipBounds.bottom);
H A DRenderProperties.h194 bool setClipBounds(const Rect& clipBounds) { argument
196 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret;
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java436 void setClipBounds(View view, Rect clipBounds); argument
870 public void setClipBounds(View view, Rect clipBounds) { argument
1534 public void setClipBounds(View view, Rect clipBounds) { argument
1535 ViewCompatJellybeanMr2.setClipBounds(view, clipBounds);
3356 * @param view The view to set clipBounds.
3357 * @param clipBounds The rectangular area, in the local coordinates of
3360 public static void setClipBounds(View view, Rect clipBounds) { argument
3361 IMPL.setClipBounds(view, clipBounds);
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp184 android::uirenderer::Rect clipBounds(left, top, right, bottom);
185 return SET_AND_DIRTY(setClipBounds, clipBounds, RenderNode::GENERIC);
/frameworks/base/core/java/android/view/
H A DView.java16589 * @param clipBounds The rectangular area, in the local coordinates of
16592 public void setClipBounds(Rect clipBounds) { argument
16593 if (clipBounds == mClipBounds
16594 || (clipBounds != null && clipBounds.equals(mClipBounds))) {
16597 if (clipBounds != null) {
16599 mClipBounds = new Rect(clipBounds);
16601 mClipBounds.set(clipBounds);
16611 * Returns a copy of the current {@link #setClipBounds(Rect) clipBounds}.

Completed in 2731 milliseconds