/cts/tests/tests/graphics/src/android/graphics/cts/ |
Path_FillTypeTest.java | 20 import android.graphics.Path.FillType; 26 assertEquals(FillType.WINDING, FillType.valueOf("WINDING")); 27 assertEquals(FillType.EVEN_ODD, FillType.valueOf("EVEN_ODD")); 28 assertEquals(FillType.INVERSE_WINDING, FillType.valueOf("INVERSE_WINDING")); 29 assertEquals(FillType.INVERSE_EVEN_ODD, FillType.valueOf("INVERSE_EVEN_ODD")); 30 // Every FillType element will be tested somewhere else [all...] |
PathTest.java | 103 Path.FillType expected1 = Path.FillType.EVEN_ODD; 104 Path.FillType expected2 = Path.FillType.INVERSE_EVEN_ODD; 105 Path.FillType expected3 = Path.FillType.INVERSE_WINDING; 106 Path.FillType expected4 = Path.FillType.WINDING; 110 // set FillType by {@link Path#setFillType(FillType)} [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
PathTest.java | 29 final Path.FillType defaultFillType = path.getFillType(); 30 final Path.FillType fillType = Path.FillType.INVERSE_EVEN_ODD; 31 assertFalse(fillType.equals(defaultFillType)); // Sanity check for the test itself. 33 path.setFillType(fillType); 35 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 | 38 GrPathRendering::FillType getFillType() const { return fFillType; } 46 GrPathRendering::FillType fFillType;
|
GrDrawTarget.h | 113 GrPathRendering::FillType); 232 void getPathStencilSettingsForFilltype(GrPathRendering::FillType,
|
GrPathRendering.h | 69 enum 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 | 46 pathA.setFillType((SkPath::FillType) e); 49 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...] |
PathOpsOpCubicThreadedTest.cpp | 30 pathA.setFillType((SkPath::FillType) e); 35 pathB.setFillType((SkPath::FillType) f);
|
PathOpsOpRectThreadedTest.cpp | 58 pathA.setFillType((SkPath::FillType) e); 64 pathB.setFillType((SkPath::FillType) f);
|
PathOpsExtendedTest.h | 54 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType );
|
/external/skia/src/gpu/batches/ |
GrDrawPathBatch.h | 29 GrPathRendering::FillType fillType() const { return fFillType; } 35 GrPathRendering::FillType fill) 54 GrPathRendering::FillType fFillType; 67 GrPathRendering::FillType fill, const GrPath* path) { 76 GrDrawPathBatch(const SkMatrix& viewMatrix, GrColor color, GrPathRendering::FillType fill, 163 SkScalar y, GrColor color, GrPathRendering::FillType fill, 176 GrColor color, GrPathRendering::FillType fill, GrPathRange* range,
|
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 79 final FillType fillType = getFillType(); 81 setFillType(fillType); 203 public enum FillType { 224 FillType(int ni) { 232 static final FillType[] sFillTypeArray = { 233 FillType.WINDING, 234 FillType.EVEN_ODD, 235 FillType.INVERSE_WINDING, 236 FillType.INVERSE_EVEN_OD [all...] |
/external/skia/include/core/ |
SkPath.h | 65 enum FillType { 87 FillType getFillType() const { return (FillType)fFillType; } 94 void setFillType(FillType ft) { 98 /** Returns true if the filltype is one of the Inverse variants */ 99 bool isInverseFillType() const { return IsInverseFillType((FillType)fFillType); } 586 static bool IsInverseFillType(FillType fill) { 602 static FillType ConvertToNonInverseFillType(FillType fill) { 607 return (FillType)(fill & 1) [all...] |
/external/skia/gm/ |
pathopsinverse.cpp | 65 SkPath::FillType oneF = oneFill ? SkPath::kInverseEvenOdd_FillType 68 SkPath::FillType twoF = twoFill ? SkPath::kInverseEvenOdd_FillType
|
quadpaths.cpp | 30 SkPaint::Style style, SkPath::FillType fill, 47 SkPath::FillType fFill; 173 SkPaint::Style style, SkPath::FillType fill, 190 SkPath::FillType fFill;
|
cubicpaths.cpp | 141 SkPaint::Style style, SkPath::FillType fill, 158 SkPath::FillType fFill; 285 SkPaint::Style style, SkPath::FillType fill, 302 SkPath::FillType fFill;
|
filltypes.cpp | 38 void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
|
emptypath.cpp | 31 SkPath::FillType fill) { 45 SkPath::FillType fFill;
|
/external/skia/src/animator/ |
SkDrawPath.cpp | 19 SK_PROPERTY(fillType), 27 SK_MEMBER_PROPERTY(fillType, FillType), 145 case SK_PROPERTY(fillType): 168 case SK_PROPERTY(fillType): 172 fPath.setFillType((SkPath::FillType) value.fOperand.fS32);
|
/external/skia/src/pdf/ |
SkPDFUtils.h | 55 static void PaintPath(SkPaint::Style style, SkPath::FillType fill,
|
/external/skia/samplecode/ |
SampleFillType.cpp | 33 SampleCode::TitleR(evt, "FillType"); 39 void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
|