/frameworks/base/libs/hwui/apex/ |
D | android_canvas.cpp | 90 void ACanvas_clipRect(ACanvas* canvas, const ARect* clipRect, bool /*doAA*/) { in ACanvas_clipRect() argument 92 TypeCast::toCanvas(canvas)->clipRect(clipRect->left, clipRect->top, clipRect->right, in ACanvas_clipRect() 93 clipRect->bottom, SkClipOp::kIntersect); in ACanvas_clipRect() 96 void ACanvas_clipOutRect(ACanvas* canvas, const ARect* clipRect, bool /*doAA*/) { in ACanvas_clipOutRect() argument 98 TypeCast::toCanvas(canvas)->clipRect(clipRect->left, clipRect->top, clipRect->right, in ACanvas_clipOutRect() 99 clipRect->bottom, SkClipOp::kDifference); in ACanvas_clipOutRect()
|
/frameworks/base/libs/hwui/apex/include/android/graphics/ |
D | canvas.h | 72 ANDROID_API void ACanvas_clipRect(ACanvas* canvas, const ARect* clipRect, bool doAntiAlias = false); 79 ANDROID_API void ACanvas_clipOutRect(ACanvas* canvas, const ARect* clipRect, bool doAntiAlias = fal… 122 void clipRect(const ARect& clipRect, bool doAntiAlias = false) { 123 ACanvas_clipRect(mCanvas, &clipRect, doAntiAlias);
|
/frameworks/base/core/java/android/view/ |
D | RemoteAnimationTarget.java | 123 public final Rect clipRect; field in RemoteAnimationTarget 254 Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, in RemoteAnimationTarget() argument 260 this(taskId, mode, leash, isTranslucent, clipRect, contentInsets, prefixOrderIndex, in RemoteAnimationTarget() 266 Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, in RemoteAnimationTarget() argument 276 this.clipRect = new Rect(clipRect); in RemoteAnimationTarget() 303 clipRect = in.readTypedObject(Rect.CREATOR); in RemoteAnimationTarget() 358 dest.writeTypedObject(clipRect, 0 /* flags */); in writeToParcel() 383 pw.print(" clipRect="); clipRect.printShortString(pw); in dump() 408 clipRect.dumpDebug(proto, CLIP_RECT); in dumpDebug()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 91 c.clipRect(new Rect(0, 0, dw, mThickness)); in drawIfNeeded() 96 c.clipRect(new Rect(0, 0, mThickness, dh)); in drawIfNeeded() 101 c.clipRect(new Rect(dw - mThickness, 0, dw, dh)); in drawIfNeeded() 106 c.clipRect(new Rect(0, dh - mThickness, dw, dh)); in drawIfNeeded()
|
D | WindowAnimationSpec.java | 131 final Rect clipRect = tmp.transformation.getClipRect(); in apply() local 132 accountForExtension(tmp.transformation, clipRect); in apply() 133 t.setWindowCrop(leash, clipRect); in apply() 153 private void accountForExtension(Transformation transformation, Rect clipRect) { in accountForExtension() argument 157 clipRect.inset(extensionInsets); in accountForExtension()
|
D | WindowChangeAnimationSpec.java | 157 final Rect clipRect = tmp.mTransformation.getClipRect(); in apply() local 158 mTmpRect.left = (int) (clipRect.left * tmp.mVecs[0] + 0.5f); in apply() 159 mTmpRect.right = (int) (clipRect.right * tmp.mVecs[0] + 0.5f); in apply() 160 mTmpRect.top = (int) (clipRect.top * tmp.mVecs[3] + 0.5f); in apply() 161 mTmpRect.bottom = (int) (clipRect.bottom * tmp.mVecs[3] + 0.5f); in apply()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | AlphaLayersActivity.java | 87 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw() 95 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw() 103 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw() 111 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw()
|
D | BitmapMeshActivity.java | 77 canvas.clipRect(0.0f, 0.0f, 80.0f, 80.0f); in onDraw()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.cpp | 169 Rect clipRect; in debugOutputProperties() local 170 getClippingRectForFlags(clipFlags, &clipRect); in debugOutputProperties() 171 output << indent << "(ClipRect " << (int)clipRect.left << ", " << (int)clipRect.top << ", " in debugOutputProperties() 172 << (int)clipRect.right << ", " << (int)clipRect.bottom << ")" << std::endl; in debugOutputProperties()
|
D | RenderNode.cpp | 578 const SkPath* RenderNode::getClippedOutline(const SkRect& clipRect) const { in getClippedOutline() 582 if (outlineID != mClippedOutlineCache.outlineID || clipRect != mClippedOutlineCache.clipRect) { in getClippedOutline() 585 mClippedOutlineCache.clipRect = clipRect; in getClippedOutline() 589 clipPath.addRect(clipRect); in getClippedOutline()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskFragmentAnimationAdapter.java | 216 final Rect clipRect = mTransformation.getClipRect(); in onAnimationUpdateInner() local 217 mRect.left = (int) (clipRect.left * mVecs[0] + 0.5f); in onAnimationUpdateInner() 218 mRect.right = (int) (clipRect.right * mVecs[0] + 0.5f); in onAnimationUpdateInner() 219 mRect.top = (int) (clipRect.top * mVecs[3] + 0.5f); in onAnimationUpdateInner() 220 mRect.bottom = (int) (clipRect.bottom * mVecs[3] + 0.5f); in onAnimationUpdateInner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | MediaContainerView.kt | 35 var clipRect = RectF() variable 65 clipRect.set(bounds) in onDraw() 68 clipPath.addRoundRect(clipRect, cornerRadius, cornerRadius, Path.Direction.CW) in onDraw()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.cpp | 98 canvas->clipRect(*pendingClip); in clipOutline() 110 canvas->clipRect(*pendingClip); in clipOutline() 117 canvas->clipRect(rect); in clipOutline() 433 SkRect clipRect; in setViewProperties() local 438 clipRect = tmpRect.toSkRect(); in setViewProperties() 439 pendingClip = &clipRect; in setViewProperties() 450 canvas->clipRect(*pendingClip); in setViewProperties()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ClippingAnimation.cpp | 37 canvas.clipRect(0, 0, 200, 200, SkClipOp::kIntersect); in createContent() 41 canvas.clipRect(0, 0, 200, 200, SkClipOp::kIntersect); in createContent()
|
D | SaveLayerAnimation.cpp | 40 canvas.clipRect(50, 50, 350, 350, SkClipOp::kIntersect); in createContent()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | DeadZone.java | 205 can.clipRect(can.getWidth() - size, 0, can.getWidth(), can.getHeight()); 207 can.clipRect(0, 0, size, can.getHeight()); 210 can.clipRect(0, 0, can.getWidth(), size);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | DeadZone.java | 223 can.clipRect(can.getWidth() - size, 0, can.getWidth(), can.getHeight()); 225 can.clipRect(0, 0, size, can.getHeight()); 228 can.clipRect(0, 0, can.getWidth(), size);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | DefaultTransitionHandler.java | 502 final Rect clipRect = TransitionUtil.isClosingType(mode) in startAnimation() local 505 clipRect.offsetTo(0, 0); in startAnimation() 532 startTransaction.setCrop(leash, clipRect); in startAnimation() 545 clipRect); in startAnimation() 810 @Nullable Rect clipRect) { in buildSurfaceAnimation() argument 822 position, cornerRadius, clipRect); in buildSurfaceAnimation() 828 position, cornerRadius, clipRect); in buildSurfaceAnimation() 995 final Rect clipRect = immutableClipRect == null ? null : new Rect(immutableClipRect); in applyTransformation() local 997 if (!extensionInsets.equals(Insets.NONE) && clipRect != null && !clipRect.isEmpty()) { in applyTransformation() 999 clipRect.inset(extensionInsets); in applyTransformation() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | ClipRect.java | 48 context.clipRect(mX1, mY1, mX2, mY2); in paint()
|
/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/ |
D | MirrorSurfaceActivity.java | 343 c.clipRect(new Rect(0, 0, width, borderSize)); in drawBorder() 348 c.clipRect(new Rect(0, 0, borderSize, height)); in drawBorder() 353 c.clipRect(new Rect(width - borderSize, 0, width, height)); in drawBorder() 358 c.clipRect(new Rect(0, height - borderSize, width, height)); in drawBorder()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextHelper.kt | 47 canvas.clipRect( in applyShadows()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 67 canvas.clipRect(bounds); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/ |
D | SquigglyProgress.kt | 198 canvas.clipRect(0f, -1f * clipTop, totalProgressPx, clipTop) in <lambda>() 206 canvas.clipRect(totalProgressPx, -1f * clipTop, totalWidth, clipTop) in <lambda>()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 203 final Rect clipRect = (Rect) values.values.get(PROPNAME_CLIP); in getBestRect() local 204 if (clipRect == null) { in getBestRect() 207 return clipRect; in getBestRect()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 872 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect() method in Canvas 896 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect() method in Canvas 920 public boolean clipRect(@NonNull RectF rect) { in clipRect() method in Canvas 944 public boolean clipRect(@NonNull Rect rect) { in clipRect() method in Canvas 987 public boolean clipRect(float left, float top, float right, float bottom, in clipRect() method in Canvas 1006 public boolean clipRect(float left, float top, float right, float bottom) { in clipRect() method in Canvas 1039 public boolean clipRect(int left, int top, int right, int bottom) { in clipRect() method in Canvas
|