Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp91 SkIRect clipBounds = canvas->getDeviceClipBounds(); in onDraw() local
98 if (fboID != 0 && !surfaceBounds.contains(clipBounds)) { in onDraw()
101 canvas->imageInfo().makeWH(clipBounds.width(), clipBounds.height()); in onDraw()
120 mat4.preTranslate(-clipBounds.fLeft, -clipBounds.fTop); in onDraw()
121 clipBounds.offsetTo(0, 0); in onDraw()
127 clipBounds.offset(-surfaceBounds.fLeft, -surfaceBounds.fTop); in onDraw()
132 info.clipLeft = clipBounds.fLeft; in onDraw()
133 info.clipTop = clipBounds.fTop; in onDraw()
134 info.clipRight = clipBounds.fRight; in onDraw()
135 info.clipBottom = clipBounds.fBottom; in onDraw()
DVkInteropFunctorDrawable.cpp134 SkIRect clipBounds = canvas->getDeviceClipBounds(); in onDraw() local
136 info.clipLeft = clipBounds.fLeft; in onDraw()
137 info.clipTop = clipBounds.fTop; in onDraw()
138 info.clipRight = clipBounds.fRight; in onDraw()
139 info.clipBottom = clipBounds.fBottom; in onDraw()
DReorderBarrierDrawables.cpp162 Rect clipBounds; in drawShadow() local
163 casterProperties.getClippingRectForFlags(CLIP_TO_CLIP_BOUNDS, &clipBounds); in drawShadow()
164 casterClipRect = clipBounds.toSkRect(); in drawShadow()
DRenderNodeDrawable.cpp238 auto clipBounds = canvas->getLocalClipBounds(); in drawContent() local
268 clipBounds.roundOut(), &srcBounds, &offset); in drawContent()
273 clipBounds.roundOut(), &srcBounds, in drawContent()
279 recordingContext, layerProperties.getImageFilter(), clipBounds.roundOut()); in drawContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DTransitionLayout.kt168 val clipBounds = child.clipBounds ?: Rect() in applyCurrentState() constant
169 clipBounds.set(clipShift, 0, widgetState.width + clipShift, widgetState.height) in applyCurrentState()
170 child.clipBounds = clipBounds in applyCurrentState()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp118 android::uirenderer::Rect clipBounds(left, top, right, bottom); in android_view_RenderNode_setClipBounds() local
119 return SET_AND_DIRTY(setClipBounds, clipBounds, RenderNode::GENERIC); in android_view_RenderNode_setClipBounds()
595 SkIRect clipBounds; in android_view_RenderNode_requestPositionUpdates() local
605 clipBounds = in android_view_RenderNode_requestPositionUpdates()
633 if (mPreviousPosition == bounds && mPreviousClip == clipBounds) { in android_view_RenderNode_requestPositionUpdates()
637 mPreviousClip = clipBounds; in android_view_RenderNode_requestPositionUpdates()
661 static_cast<jint>(clipBounds.fLeft), static_cast<jint>(clipBounds.fTop), in android_view_RenderNode_requestPositionUpdates()
662 static_cast<jint>(clipBounds.fRight), in android_view_RenderNode_requestPositionUpdates()
663 static_cast<jint>(clipBounds.fBottom)); in android_view_RenderNode_requestPositionUpdates()
Dandroid_graphics_Canvas.cpp239 SkRect clipBounds; // ignored in clipRect() local
240 nonEmptyClip = get_canvas(canvasHandle)->getClipBounds(&clipBounds); in clipRect()
261 SkRect clipBounds; // ignored in clipPath() local
262 nonEmptyClip = get_canvas(canvasHandle)->getClipBounds(&clipBounds); in clipPath()
279 SkRect clipBounds; // ignored in clipShader() local
280 get_canvas(canvasHandle)->getClipBounds(&clipBounds); in clipShader()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusViewController.java454 public void setClipBounds(Rect clipBounds) { in setClipBounds() argument
455 if (clipBounds != null) { in setClipBounds()
456 mClipBounds.set(clipBounds.left, (int) (clipBounds.top - mView.getY()), in setClipBounds()
457 clipBounds.right, (int) (clipBounds.bottom - mView.getY())); in setClipBounds()
/frameworks/base/libs/hwui/
DRenderNode.cpp349 const SkIRect& clipBounds in updateSnapshotIfRequired() argument
365 mImageFilterClipBounds = clipBounds; in updateSnapshotIfRequired()
369 mImageFilterClipBounds != clipBounds || in updateSnapshotIfRequired()
375 context, snapshot, imageFilter, subset, clipBounds, &mSnapshotResult.outSubset, in updateSnapshotIfRequired()
381 snapshot, imageFilter, subset, clipBounds, &mSnapshotResult.outSubset, in updateSnapshotIfRequired()
385 mImageFilterClipBounds = clipBounds; in updateSnapshotIfRequired()
DRenderProperties.h195 bool setClipBounds(const Rect& clipBounds) { in setClipBounds() argument
197 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
DRenderNode.h365 const SkIRect& clipBounds);
/frameworks/base/core/java/android/widget/inline/
DInlineContentView.java220 public void setClipBounds(Rect clipBounds) { in setClipBounds() argument
221 super.setClipBounds(clipBounds); in setClipBounds()
222 mSurfaceView.setClipBounds(clipBounds); in setClipBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DMediaContainerView.kt63 val bounds = canvas.clipBounds in onDraw()
DNotificationStackScrollLayout.java3315 Rect clipBounds = child.getClipBounds(); in generateChildRemovalEvents() local
3316 childWasSwipedOut = clipBounds != null && clipBounds.height() == 0; in generateChildRemovalEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardRootViewBinder.kt195 val clipBounds = Rect() in <lambda>() constant
200 clipBounds.apply { in <lambda>()
206 view.setClipBounds(clipBounds) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManager.kt197 applyState(currentBounds, currentAlpha, clipBounds = currentClipping) in <lambda>()
934 applyState(targetBounds, carouselAlpha, clipBounds = targetClipping) in applyTargetStateIfNotAnimating()
1081 clipBounds: Rect = EMPTY_RECT in applyState()
1085 currentClipping = clipBounds in applyState()
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp179 SkRect clipBounds; in getRecorderClipBounds() local
180 recorder.getClipBounds(&clipBounds); in getRecorderClipBounds()
181 return clipBounds; in getRecorderClipBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleExpandedView.java832 Rect clipBounds = new Rect(mLeftClip, mTopClip, in onContainerClipUpdate() local
835 mTaskView.setClipBounds(clipBounds); in onContainerClipUpdate()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandable.kt205 .localBoundingBoxOf(coords, clipBounds = false) in Expandable()
/frameworks/base/core/java/android/view/
DSurfaceView.java620 public void setClipBounds(Rect clipBounds) { in setClipBounds() argument
621 super.setClipBounds(clipBounds); in setClipBounds()
DView.java24323 public void setClipBounds(Rect clipBounds) { in setClipBounds() argument
24324 if (clipBounds == mClipBounds in setClipBounds()
24325 || (clipBounds != null && clipBounds.equals(mClipBounds))) { in setClipBounds()
24328 if (clipBounds != null) { in setClipBounds()
24330 mClipBounds = new Rect(clipBounds); in setClipBounds()
24332 mClipBounds.set(clipBounds); in setClipBounds()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...