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

/frameworks/base/tools/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.java471 int regionOp) {
479 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
485 int regionOp) {
496 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp);
502 int regionOp) {
513 return canvasDelegate.mSnapshot.clip(region.getJavaArea(), regionOp);
1185 private boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
1186 return mSnapshot.clipRect(left, top, right, bottom, regionOp);
468 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
483 native_clipPath(int nativeCanvas, int nativePath, int regionOp) argument
500 native_clipRegion(int nativeCanvas, int nativeRegion, int regionOp) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java482 public boolean clip(Shape shape, int regionOp) { argument
486 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) {
497 if (regionOp == Region.Op.REPLACE.nativeInt) {
500 area = Region_Delegate.combineShapes(getClip(), shape, regionOp);
525 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
526 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1735 int regionOp);
1738 int regionOp);
1741 int regionOp);
1732 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
1736 native_clipPath(int nativeCanvas, int nativePath, int regionOp) argument
1739 native_clipRegion(int nativeCanvas, int nativeRegion, int regionOp) argument

Completed in 125 milliseconds