Home
last modified time | relevance | path

Searched refs:regionOp (Results 1 – 5 of 5) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java79 public static Area combineShapes(Shape shape1, Shape shape2, int regionOp) { in combineShapes() argument
80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) { in combineShapes()
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) { in combineShapes()
102 } else if (regionOp == Region.Op.UNION.nativeInt) { in combineShapes()
113 } else if (regionOp == Region.Op.XOR.nativeInt) { in combineShapes()
124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) { in combineShapes()
DCanvas_Delegate.java361 int regionOp) { in nClipRect() argument
368 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); in nClipRect()
374 int regionOp) { in nClipPath() argument
385 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp); in nClipPath()
DBaseCanvas_Delegate.java808 protected boolean clipRect(float left, float top, float right, float bottom, int regionOp) { in clipRect() argument
809 return mSnapshot.clipRect(left, top, right, bottom, regionOp); in clipRect()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java484 public boolean clip(Shape shape, int regionOp) { in clip() argument
488 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) { in clip()
499 if (regionOp == Region.Op.REPLACE.nativeInt) { in clip()
502 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); in clip()
527 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { in clipRect() argument
528 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); in clipRect()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1434 float left, float top, float right, float bottom, int regionOp); in nClipRect() argument
1436 private static native boolean nClipPath(long nativeCanvas, long nativePath, int regionOp); in nClipPath() argument