Home
last modified time | relevance | path

Searched refs:clipPath (Results 1 – 25 of 35) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableOutlineView.java75 Path clipPath = getClipPath(false /* ignoreTranslation */);
76 if (clipPath != null) {
77 outline.setPath(clipPath);
175 Path clipPath = null; in drawChild() local
178 clipPath = getCustomClipPath(child); in drawChild()
179 if (clipPath == null) { in drawChild()
180 clipPath = getClipPath(false /* ignoreTranslation */); in drawChild()
185 childClipPath = clipPath; in drawChild()
186 clipPath = null; in drawChild()
193 if (clipPath != null) { in drawChild()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DMediaContainerView.kt36 var clipPath = Path() regex
67 clipPath.reset()
68 clipPath.addRoundRect(clipRect, cornerRadius, cornerRadius, Path.Direction.CW)
69 canvas.clipPath(clipPath)
H A DNotificationChildrenContainer.java869 Path clipPath = mChildClipPath;
870 if (clipPath != null) {
882 clipPath.offset(translation, 0f);
883 canvas.clipPath(clipPath);
884 clipPath.offset(-translation, 0f);
886 canvas.clipPath(clipPath);
906 canvas.clipPath(mHeaderPath);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/drawable/
H A DCircularDrawable.kt40 canvas.clipPath(path)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DCornerDrawable.kt39 canvas.clipPath(path)
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/
H A DClippingAnimation.cpp50 canvas.clipPath(&clipCircle, SkClipOp::kIntersect); in createContent()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DRenderNodeDrawable.cpp97 canvas->clipPath(*path, SkClipOp::kIntersect, true); in clipOutline()
174 canvas->clipPath(*mProjectedDisplayList->mProjectedOutline->getPath()); in forceDraw()
427 canvas->clipPath(*properties.getRevealClip().getPath(), SkClipOp::kIntersect, true); in setViewProperties()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DClipRegion3Activity.java72 canvas.clipPath(mClipPath); in dispatchDraw()
H A DClipRegionActivity.java85 canvas.clipPath(mClipPath); in dispatchDraw()
H A DViewLayersActivity5.java79 canvas.clipPath(mClipPath); in dispatchDraw()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DMagnifierView.java126 canvas.clipPath(mOuterCircle); in onDraw()
128 canvas.clipPath(mInnerCircle); in onDraw()
/aosp14/frameworks/base/libs/hwui/
H A DRenderNode.cpp555 SkPath clipPath; in getClippedOutline() local
556 clipPath.addRect(clipRect); in getClippedOutline()
557 Op(*outlinePath, clipPath, kIntersect_SkPathOp, &mClippedOutlineCache.clippedOutline); in getClippedOutline()
H A DSkiaCanvas.cpp86 canvas->clipPath(mPath.value(), mOp, true); in apply()
405 bool SkiaCanvas::clipPath(const SkPath* path, SkClipOp op) { in clipPath() function in android::SkiaCanvas
407 mCanvas->clipPath(*path, op, true); in clipPath()
423 mCanvas->clipPath(*path, SkClipOp::kIntersect, true); in replaceClipPath_deprecated()
H A DRecordingCanvas.h143 void clipPath(const SkPath&, SkClipOp, bool aa);
H A DSkiaCanvas.h98 virtual bool clipPath(const SkPath* path, SkClipOp op) override;
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1048 public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) { in clipPath() method in Canvas
1059 public boolean clipPath(@NonNull Path path) { in clipPath() method in Canvas
1060 return clipPath(path, Region.Op.INTERSECT); in clipPath()
1070 return clipPath(path, Region.Op.DIFFERENCE); in clipOutPath()
/aosp14/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java732 canvas.clipPath(selectorPath, Region.Op.DIFFERENCE); in drawHours()
739 canvas.clipPath(selectorPath, Region.Op.INTERSECT); in drawHours()
765 canvas.clipPath(selectorPath, Region.Op.DIFFERENCE); in drawMinutes()
772 canvas.clipPath(selectorPath, Region.Op.INTERSECT); in drawMinutes()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/television/
H A DPrivacyChipDrawable.java179 canvas.clipPath(mPath); in clipToForeground()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDropZoneView.java277 canvas.clipPath(mPath); in onDraw()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingImageMessage.java161 canvas.clipPath(getRoundedRectPath()); in onDraw()
/aosp14/frameworks/base/libs/hwui/hwui/
H A DCanvas.h189 virtual bool clipPath(const SkPath* path, SkClipOp op) = 0;
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashscreenIconDrawableFactory.java208 canvas.clipPath(mMaskScaleOnly); in draw()
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_Canvas.cpp235 static jboolean clipPath(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle, jlong pathHandle, in clipPath() function
243 nonEmptyClip = get_canvas(canvasHandle)->clipPath(path, static_cast<SkClipOp>(rgnOp)); in clipPath()
765 {"nClipPath","(JJI)Z", (void*) CanvasJNI::clipPath},
/aosp14/frameworks/base/libs/hwui/canvas/
H A DCanvasOps.h116 void draw(SkCanvas* canvas) const { canvas->clipPath(path, op, true); }
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DThemedBatteryDrawable.kt233 c.clipPath(scaledFill)

12