Home
last modified time | relevance | path

Searched refs:clipBounds (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp94 SkIRect clipBounds = canvas->getDeviceClipBounds(); in onDraw() local
101 if (fboID != 0 && !surfaceBounds.contains(clipBounds)) { in onDraw()
104 canvas->imageInfo().makeWH(clipBounds.width(), clipBounds.height()); in onDraw()
121 mat4.preTranslate(-clipBounds.fLeft, -clipBounds.fTop, 0); in onDraw()
122 clipBounds.offsetTo(0, 0); in onDraw()
128 clipBounds.offset(-surfaceBounds.fLeft, -surfaceBounds.fTop); in onDraw()
133 info.clipLeft = clipBounds.fLeft; in onDraw()
134 info.clipTop = clipBounds.fTop; in onDraw()
135 info.clipRight = clipBounds.fRight; in onDraw()
136 info.clipBottom = clipBounds.fBottom; in onDraw()
DVkInteropFunctorDrawable.cpp125 SkIRect clipBounds = canvas->getDeviceClipBounds(); in onDraw() local
127 info.clipLeft = clipBounds.fLeft; in onDraw()
128 info.clipTop = clipBounds.fTop; in onDraw()
129 info.clipRight = clipBounds.fRight; in onDraw()
130 info.clipBottom = clipBounds.fBottom; in onDraw()
DReorderBarrierDrawables.cpp156 Rect clipBounds; in drawShadow() local
157 casterProperties.getClippingRectForFlags(CLIP_TO_CLIP_BOUNDS, &clipBounds); in drawShadow()
158 casterClipRect = clipBounds.toSkRect(); in drawShadow()
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java108 Rect clipBounds = canvas.getClipBounds(); in drawShadow() local
109 Rect newBounds = new Rect(clipBounds); in drawShadow()
122 Rect clipBounds = canvas.getClipBounds(); in getPathShadow() local
123 if (clipBounds.isEmpty()) { in getPathShadow()
126 BufferedImage image = new BufferedImage(clipBounds.width(), clipBounds.height(), in getPathShadow()
DRectShadowPainter.java139 Rect clipBounds = canvas.getClipBounds(); in modifyCanvas() local
140 if (clipBounds.isEmpty()) { in modifyCanvas()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java619 Rectangle clipBounds = originalGraphics.getClip() != null ? originalGraphics in drawInLayer() local
621 if (clipBounds != null) { in drawInLayer()
622 if (clipBounds.width == 0 || clipBounds.height == 0) { in drawInLayer()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskView.java686 Rect clipBounds = new Rect(mViewBounds.getClipBounds()); in onLongClick() local
687 if (!clipBounds.isEmpty()) { in onLongClick()
689 clipBounds.scale(getScaleX()); in onLongClick()
690 inBounds = clipBounds.contains(mDownTouchPos.x, mDownTouchPos.y); in onLongClick()
/frameworks/base/libs/hwui/
DRenderProperties.h178 bool setClipBounds(const Rect& clipBounds) { in setClipBounds() argument
180 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp123 android::uirenderer::Rect clipBounds(left, top, right, bottom); in android_view_RenderNode_setClipBounds() local
124 return SET_AND_DIRTY(setClipBounds, clipBounds, RenderNode::GENERIC); in android_view_RenderNode_setClipBounds()
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp175 SkRect clipBounds; in getRecorderClipBounds() local
176 recorder.getClipBounds(&clipBounds); in getRecorderClipBounds()
177 return clipBounds; in getRecorderClipBounds()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java1483 Rect clipBounds = new Rect(); in setNotificationViewClipBounds() local
1484 clipBounds.set(0, 0, mNotificationView.getWidth(), height); in setNotificationViewClipBounds()
1486 mNotificationView.setClipBounds(clipBounds); in setNotificationViewClipBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3529 Rect clipBounds = child.getClipBounds();
3530 childWasSwipedOut = clipBounds != null && clipBounds.height() == 0;
/frameworks/base/core/java/android/view/
DView.java21470 public void setClipBounds(Rect clipBounds) { in setClipBounds() argument
21471 if (clipBounds == mClipBounds in setClipBounds()
21472 || (clipBounds != null && clipBounds.equals(mClipBounds))) { in setClipBounds()
21475 if (clipBounds != null) { in setClipBounds()
21477 mClipBounds = new Rect(clipBounds); in setClipBounds()
21479 mClipBounds.set(clipBounds); in setClipBounds()