/frameworks/base/libs/hwui/apex/ |
D | android_canvas.cpp | 88 void ACanvas_clipRect(ACanvas* canvas, const ARect* clipRect, bool /*doAA*/) { in ACanvas_clipRect() argument 90 TypeCast::toCanvas(canvas)->clipRect(clipRect->left, clipRect->top, clipRect->right, in ACanvas_clipRect() 91 clipRect->bottom, SkClipOp::kIntersect); in ACanvas_clipRect() 94 void ACanvas_clipOutRect(ACanvas* canvas, const ARect* clipRect, bool /*doAA*/) { in ACanvas_clipOutRect() argument 96 TypeCast::toCanvas(canvas)->clipRect(clipRect->left, clipRect->top, clipRect->right, in ACanvas_clipOutRect() 97 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 | 120 public final Rect clipRect; field in RemoteAnimationTarget 206 Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, in RemoteAnimationTarget() argument 210 this(taskId, mode, leash, isTranslucent, clipRect, contentInsets, prefixOrderIndex, in RemoteAnimationTarget() 216 Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, in RemoteAnimationTarget() argument 226 this.clipRect = new Rect(clipRect); in RemoteAnimationTarget() 246 clipRect = in.readTypedObject(Rect.CREATOR); in RemoteAnimationTarget() 272 dest.writeTypedObject(clipRect, 0 /* flags */); in writeToParcel() 291 pw.print(" clipRect="); clipRect.printShortString(pw); in dump() 311 clipRect.dumpDebug(proto, CLIP_RECT); in dumpDebug()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.cpp | 162 Rect clipRect; in debugOutputProperties() local 163 getClippingRectForFlags(clipFlags, &clipRect); in debugOutputProperties() 164 output << indent << "(ClipRect " << (int)clipRect.left << ", " << (int)clipRect.top << ", " in debugOutputProperties() 165 << (int)clipRect.right << ", " << (int)clipRect.bottom << ")" << std::endl; in debugOutputProperties()
|
D | RenderNode.cpp | 539 const SkPath* RenderNode::getClippedOutline(const SkRect& clipRect) const { in getClippedOutline() 543 if (outlineID != mClippedOutlineCache.outlineID || clipRect != mClippedOutlineCache.clipRect) { in getClippedOutline() 546 mClippedOutlineCache.clipRect = clipRect; in getClippedOutline() 550 clipPath.addRect(clipRect); in getClippedOutline()
|
D | RenderNode.h | 377 const SkPath* getClippedOutline(const SkRect& clipRect) const; 414 SkRect clipRect; member
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 90 c.clipRect(new Rect(0, 0, dw, mThickness)); in drawIfNeeded() 95 c.clipRect(new Rect(0, 0, mThickness, dh)); in drawIfNeeded() 100 c.clipRect(new Rect(dw - mThickness, 0, dw, dh)); in drawIfNeeded() 105 c.clipRect(new Rect(0, dh - mThickness, dw, dh)); in drawIfNeeded()
|
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/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/pipeline/skia/ |
D | RenderNodeDrawable.cpp | 89 canvas->clipRect(*pendingClip); in clipOutline() 97 canvas->clipRect(*pendingClip); in clipOutline() 104 canvas->clipRect(rect); in clipOutline() 406 SkRect clipRect; in setViewProperties() local 411 clipRect = tmpRect.toSkRect(); in setViewProperties() 412 pendingClip = &clipRect; in setViewProperties() 423 canvas->clipRect(*pendingClip); in setViewProperties()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ClippingAnimation.cpp | 35 canvas.clipRect(0, 0, 200, 200, SkClipOp::kIntersect); in createContent() 39 canvas.clipRect(0, 0, 200, 200, SkClipOp::kIntersect); in createContent()
|
D | SaveLayerAnimation.cpp | 38 canvas.clipRect(50, 50, 350, 350, SkClipOp::kIntersect); in createContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | DeadZone.java | 189 can.clipRect(can.getWidth() - size, 0, can.getWidth(), can.getHeight()); 191 can.clipRect(0, 0, size, can.getHeight()); 194 can.clipRect(0, 0, can.getWidth(), size);
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | RemoteAnimationTargetCompat.java | 62 public final Rect clipRect; field in RemoteAnimationTargetCompat 81 clipRect = app.clipRect; in RemoteAnimationTargetCompat() 200 clipRect = null; in RemoteAnimationTargetCompat()
|
/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/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 67 canvas.clipRect(bounds); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardPreviewContainer.java | 38 canvas.clipRect(0, getHeight() - getPaddingBottom(), getWidth(), getHeight());
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 151 canvas.clipRect(originalClip.x, originalClip.y, originalClip.x + originalClip.width, in modifyCanvas() 153 canvas.clipRect(-canvas.getWidth(), -canvas.getHeight(), canvas.getWidth(), in modifyCanvas()
|
/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 | 843 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect() method in Canvas 867 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect() method in Canvas 891 public boolean clipRect(@NonNull RectF rect) { in clipRect() method in Canvas 915 public boolean clipRect(@NonNull Rect rect) { in clipRect() method in Canvas 958 public boolean clipRect(float left, float top, float right, float bottom, in clipRect() method in Canvas 977 public boolean clipRect(float left, float top, float right, float bottom) { in clipRect() method in Canvas 1010 public boolean clipRect(int left, int top, int right, int bottom) { in clipRect() method in Canvas
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageTile.java | 73 canvas.clipRect(0, 0, mLocation.width(), mLocation.height()); in getDisplayList()
|
D | TiledImageDrawable.java | 83 canvas.clipRect(0, 0, bounds.width(), bounds.height()); in draw()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | CanvasPerfTest.java | 56 canvas.clipRect(1, 1, 199, 199); in testBasicViewGroupDraw()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingGroup.java | 169 Rect clipRect; in updateClipRect() local 180 clipRect = new Rect(-size, top, size, size); in updateClipRect() 182 clipRect = null; in updateClipRect() 184 mMessageContainer.setClipBounds(clipRect); in updateClipRect()
|