HomeSort by relevance Sort by last modified time
    Searched refs:regionOp (Results 1 - 7 of 7) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Region_Delegate.java 76 * @param regionOp the operande for the combine
79 public static Area combineShapes(Shape shape1, Shape shape2, int regionOp) {
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) {
Canvas_Delegate.java 374 int regionOp) {
381 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
387 int regionOp) {
398 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp);
404 int regionOp) {
415 return canvasDelegate.mSnapshot.clip(region.getJavaArea(), regionOp);
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkPicturePlayback.cpp 181 SkRegion::Op regionOp = ClipParams_unpackRegionOp(packed);
185 canvas->clipPath(path, regionOp, doAA);
194 SkRegion::Op regionOp = ClipParams_unpackRegionOp(packed);
197 canvas->clipRegion(region, regionOp);
205 SkRegion::Op regionOp = ClipParams_unpackRegionOp(packed);
209 canvas->clipRect(rect, regionOp, doAA);
218 SkRegion::Op regionOp = ClipParams_unpackRegionOp(packed);
222 canvas->clipRRect(rrect, regionOp, doAA);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
GcSnapshot.java 483 public boolean clip(Shape shape, int regionOp) {
487 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) {
498 if (regionOp == Region.Op.REPLACE.nativeInt) {
501 area = Region_Delegate.combineShapes(getClip(), shape, regionOp);
526 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) {
527 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
  /external/skia/src/core/
SkPicturePlayback.cpp     [all...]
  /frameworks/base/graphics/java/android/graphics/
Canvas.java     [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsContext.cpp     [all...]

Completed in 530 milliseconds