Searched defs:regionOp (Results 1 - 5 of 5) 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.java474 int regionOp) {
482 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
488 int regionOp) {
499 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp);
505 int regionOp) {
516 return canvasDelegate.mSnapshot.clip(region.getJavaArea(), regionOp);
1269 private boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
1270 return mSnapshot.clipRect(left, top, right, bottom, regionOp);
471 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
486 native_clipPath(int nativeCanvas, int nativePath, int regionOp) argument
503 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.java1646 int regionOp);
1649 int regionOp);
1652 int regionOp);
1643 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
1647 native_clipPath(int nativeCanvas, int nativePath, int regionOp) argument
1650 native_clipRegion(int nativeCanvas, int nativeRegion, int regionOp) argument
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp426 int regionOp = getInt(); local
428 f1, f2, f3, f4, regionOp);
1020 int32_t regionOp = getInt(); local
1022 f1, f2, f3, f4, regionOp);
1023 renderer.clipRect(f1, f2, f3, f4, (SkRegion::Op) regionOp);

Completed in 1318 milliseconds