Home
last modified time | relevance | path

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

/frameworks/base/tools/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.java381 int regionOp) { in native_clipRect() argument
388 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); in native_clipRect()
394 int regionOp) { in native_clipPath() argument
405 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp); in native_clipPath()
411 int regionOp) { in native_clipRegion() argument
422 return canvasDelegate.mSnapshot.clip(region.getJavaArea(), regionOp); in native_clipRegion()
1053 private boolean clipRect(float left, float top, float right, float bottom, int regionOp) { in clipRect() argument
1054 return mSnapshot.clipRect(left, top, right, bottom, regionOp); in clipRect()
/frameworks/base/tools/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.java2015 int regionOp); in native_clipRect() argument
2018 int regionOp); in native_clipPath() argument
2021 int regionOp); in native_clipRegion() argument