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

/frameworks/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java76 * @param regionOp the operande for the combine
79 public static Area combineShapes(Shape shape1, Shape shape2, int regionOp) { argument
80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) {
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) {
102 } else if (regionOp == Region.Op.UNION.nativeInt) {
113 } else if (regionOp == Region.Op.XOR.nativeInt) {
124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) {
H A DCanvas_Delegate.java366 int regionOp) {
373 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
379 int regionOp) {
390 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp);
363 nClipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
377 nClipPath(long nativeCanvas, long nativePath, int regionOp) argument
H A DBaseCanvas_Delegate.java760 protected boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
761 return mSnapshot.clipRect(left, top, right, bottom, regionOp);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java486 public boolean clip(Shape shape, int regionOp) { argument
490 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) {
501 if (regionOp == Region.Op.REPLACE.nativeInt) {
504 area = Region_Delegate.combineShapes(getClip(), shape, regionOp);
529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1280 float left, float top, float right, float bottom, int regionOp);
1282 private static native boolean nClipPath(long nativeCanvas, long nativePath, int regionOp); argument
1279 nClipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument

Completed in 27 milliseconds