/cts/tests/tests/graphics/src/android/graphics/cts/ |
Path_FillTypeTest.java | 21 import android.graphics.Path.FillType; 33 assertEquals(FillType.WINDING, FillType.valueOf("WINDING")); 34 assertEquals(FillType.EVEN_ODD, FillType.valueOf("EVEN_ODD")); 35 assertEquals(FillType.INVERSE_WINDING, FillType.valueOf("INVERSE_WINDING")); 36 assertEquals(FillType.INVERSE_EVEN_ODD, FillType.valueOf("INVERSE_EVEN_ODD")); 37 // Every FillType element will be tested somewhere else [all...] |
PathTest.java | 114 Path.FillType expected1 = Path.FillType.EVEN_ODD; 115 Path.FillType expected2 = Path.FillType.INVERSE_EVEN_ODD; 116 Path.FillType expected3 = Path.FillType.INVERSE_WINDING; 117 Path.FillType expected4 = Path.FillType.WINDING; 121 // set FillType by {@link Path#setFillType(FillType)} [all...] |
/external/skia/experimental/svg/model/ |
SkSVGShape.h | 29 SkPath::FillType) const = 0; 31 static SkPath::FillType FillRuleToFillType(const SkSVGFillRule&);
|
SkSVGShape.cpp | 14 const SkPath::FillType fillType = 19 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); 23 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); 31 SkPath::FillType SkSVGShape::FillRuleToFillType(const SkSVGFillRule& fillRule) {
|
SkSVGPath.h | 25 SkPath::FillType) const override;
|
SkSVGCircle.h | 29 SkPath::FillType) const override;
|
SkSVGEllipse.h | 30 SkPath::FillType) const override;
|
SkSVGPoly.h | 33 SkPath::FillType) const override;
|
SkSVGLine.h | 30 SkPath::FillType) const override;
|
SkSVGPath.cpp | 29 SkPath::FillType fillType) const { 30 // the passed fillType follows inheritance rules and needs to be applied at draw time. 31 fPath.setFillType(fillType); 36 // the computed fillType follows inheritance rules and needs to be applied at draw time.
|
SkSVGPoly.cpp | 36 SkPath::FillType fillType) const { 37 // the passed fillType follows inheritance rules and needs to be applied at draw time. 38 fPath.setFillType(fillType); 43 // the computed fillType follows inheritance rules and needs to be applied at draw time.
|
SkSVGRect.h | 32 SkPath::FillType) const override;
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
PathTest.java | 30 final Path.FillType defaultFillType = path.getFillType(); 31 final Path.FillType fillType = Path.FillType.INVERSE_EVEN_ODD; 32 assertFalse(fillType.equals(defaultFillType)); // Sanity check for the test itself. 34 path.setFillType(fillType); 36 assertEquals(path.getFillType(), fillType);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathFillTypes.java | 50 private void showPath(Canvas canvas, int x, int y, Path.FillType ft, 70 showPath(canvas, 0, 0, Path.FillType.WINDING, paint); 71 showPath(canvas, 160, 0, Path.FillType.EVEN_ODD, paint); 72 showPath(canvas, 0, 160, Path.FillType.INVERSE_WINDING, paint); 73 showPath(canvas, 160, 160, Path.FillType.INVERSE_EVEN_ODD, paint);
|
/external/skia/src/gpu/ |
GrPath.h | 39 GrPathRendering::FillType getFillType() const { return fFillType; } 47 GrPathRendering::FillType fFillType;
|
GrDistanceFieldGenFromVector.h | 33 inline bool IsDistanceFieldSupportedFillType(SkPath::FillType fFillType)
|
GrPathRendering.h | 69 enum FillType { 80 static const GrUserStencilSettings& GetStencilPassSettings(FillType);
|
/external/skia/tests/ |
PathOpsInverseTest.cpp | 16 one.setFillType((SkPath::FillType) oneFill); 23 two.setFillType((SkPath::FillType) twoFill);
|
PathOpsBattles.cpp | 45 path1.setFillType((SkPath::FillType) 0); 55 path2.setFillType((SkPath::FillType) 1); 67 path1.setFillType((SkPath::FillType) 1); 79 path2.setFillType((SkPath::FillType) 0); 93 path.setFillType((SkPath::FillType) 0); 103 path.setFillType((SkPath::FillType) 0); 118 path.setFillType((SkPath::FillType) 1); 125 path.setFillType((SkPath::FillType) 0); 140 path.setFillType((SkPath::FillType) 0); 150 path.setFillType((SkPath::FillType) 0) [all...] |
PathOpsOpCircleThreadedTest.cpp | 24 pathA.setFillType((SkPath::FillType) e); 27 pathB.setFillType((SkPath::FillType) f);
|
PathOpsBuildUseTest.cpp | 16 path.setFillType((SkPath::FillType) 0); 31 path.setFillType((SkPath::FillType) 0); 46 path.setFillType((SkPath::FillType) 0); 61 path.setFillType((SkPath::FillType) 0); 76 path.setFillType((SkPath::FillType) 0); 91 path.setFillType((SkPath::FillType) 0); 106 path.setFillType((SkPath::FillType) 0); 121 path.setFillType((SkPath::FillType) 0); 136 path.setFillType((SkPath::FillType) 0); 151 path.setFillType((SkPath::FillType) 0) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 84 final FillType fillType = getFillType(); 86 setFillType(fillType); 208 public enum FillType { 229 FillType(int ni) { 237 static final FillType[] sFillTypeArray = { 238 FillType.WINDING, 239 FillType.EVEN_ODD, 240 FillType.INVERSE_WINDING, 241 FillType.INVERSE_EVEN_OD [all...] |
/external/skia/src/gpu/ops/ |
GrStencilPathOp.h | 25 GrPathRendering::FillType fillType, 31 return std::unique_ptr<GrOp>(new GrStencilPathOp(viewMatrix, useHWAA, fillType, 48 GrPathRendering::FillType fillType, 57 , fStencil(GrPathRendering::GetStencilPassSettings(fillType), hasStencilClip,
|
GrDrawPathOp.h | 27 GrPathRendering::FillType fill, GrAA aa); 41 GrPathRendering::FillType fillType() const { return fFillType; } 61 GrPathRendering::FillType fFillType; 164 GrPathRendering::FillType fill, GrAA aa, 177 GrPaint&& paint, GrPathRendering::FillType fill, GrAA aa, GrPathRange* range,
|
/external/skia/include/core/ |
SkPath.h | 74 enum FillType { 96 FillType getFillType() const { return (FillType)fFillType; } 103 void setFillType(FillType ft) { 107 /** Returns true if the filltype is one of the Inverse variants */ 108 bool isInverseFillType() const { return IsInverseFillType((FillType)fFillType); } 622 static bool IsInverseFillType(FillType fill) { 638 static FillType ConvertToNonInverseFillType(FillType fill) { 643 return (FillType)(fill & 1) [all...] |