/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);
|
/external/skia/experimental/svg/model/ |
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.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.
|
/external/skia/src/gpu/ops/ |
GrStencilPathOp.h | 24 GrPathRendering::FillType fillType, 30 return std::unique_ptr<GrOp>(new GrStencilPathOp(viewMatrix, useHWAA, fillType, 47 GrPathRendering::FillType fillType, 55 , fStencil(GrPathRendering::GetStencilPassSettings(fillType), hasStencilClip,
|
GrDrawPathOp.cpp | 15 GrPathRendering::FillType fill, GrAAType aaType) 60 GrPathRendering::FillType fillType, GrStencilSettings* stencil) { 63 stencil->reset(GrPathRendering::GetStencilPassSettings(fillType), stencilClip, 75 init_stencil_pass_settings(*state, this->fillType(), &stencil); 94 SkScalar y, GrPaint&& paint, GrPathRendering::FillType fill, 150 if (GrPathRendering::kWinding_FillType != this->fillType() || 151 GrPathRendering::kWinding_FillType != that->fillType()) { 186 init_stencil_pass_settings(*state, this->fillType(), &stencil);
|
GrDrawPathOp.h | 26 GrPathRendering::FillType, GrAAType); 41 GrPathRendering::FillType fillType() const { return fFillType; } 63 GrPathRendering::FillType fFillType; 169 GrPathRendering::FillType fill, GrAAType aaType, 183 GrPaint&& paint, GrPathRendering::FillType fill, GrAAType aaType,
|
/external/skia/src/pathops/ |
SkOpBuilder.cpp | 39 SkPath::FillType fillType = path->getFillType(); 40 if (fillType == SkPath::kInverseEvenOdd_FillType) { 41 fillType = SkPath::kInverseWinding_FillType; 42 } else if (fillType == SkPath::kEvenOdd_FillType) { 43 fillType = SkPath::kWinding_FillType; 50 path->setFillType(fillType); 88 path->setFillType(fillType); 105 path->setFillType(fillType);
|
SkPathOpsSimplify.cpp | 139 SkPath::FillType fillType = path.isInverseFillType() ? SkPath::kInverseEvenOdd_FillType 145 result->setFillType(fillType); 184 result->setFillType(fillType); 209 result->setFillType(fillType);
|
SkPathOpsOp.cpp | 235 SkPath::FillType fillType = gOutInverse[op][one.isInverseFillType()][two.isInverseFillType()] 274 result->setFillType(fillType); 300 result->setFillType(fillType);
|
/external/skia/src/gpu/ccpr/ |
GrCCPRPathProcessor.cpp | 52 SkPath::FillType fillType, const GrShaderCaps& shaderCaps) 53 : fFillType(fillType) { 187 if (SkPath::kWinding_FillType == proc.fillType()) { 190 SkASSERT(SkPath::kEvenOdd_FillType == proc.fillType());
|
GrCCPRPathProcessor.h | 57 GrCCPRPathProcessor(GrResourceProvider*, sk_sp<GrTextureProxy> atlas, SkPath::FillType, 62 SkPath::FillType fillType() const { return fFillType; } 79 const SkPath::FillType fFillType;
|
/external/skia/src/gpu/ |
GrTessellator.cpp | 755 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { 756 switch (fillType) { 771 inline bool apply_fill_type(SkPath::FillType fillType, Poly* poly) { 772 return poly && apply_fill_type(fillType, poly->fWinding); [all...] |
/frameworks/base/libs/hwui/ |
VectorDrawable.h | 222 int fillType = 0; /* non-zero or kWinding_FillType in Skia */ 311 return mPrimitiveFields.fillType; 317 int fillType) { 329 mPrimitiveFields.fillType = fillType; 350 fillType,
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
AndroidResources.java | 54 android.R.attr.strokeAlpha, android.R.attr.fillAlpha, android.R.attr.fillType
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 26 import android.graphics.Path.FillType; 63 private FillType mFillType = FillType.WINDING; 536 private void setFillType(FillType fillType) { 537 mFillType = fillType; 538 mPath.setWindingRule(getWindingRule(fillType)); 542 * Returns the Java2D winding rules matching a given Android {@link FillType}. 546 private static int getWindingRule(FillType type) {
|
/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...] |
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
VectorDrawable_Delegate.java | 205 int strokeLineJoin, int fillType) { 219 path.setFillType(fillType); 624 int mFillType = 0; // WINDING(0) is the default value. See Path.FillType 793 private void setFillType(int fillType) { 794 mFillType = fillType; [all...] |
/external/skia/src/core/ |
SkScan_Path.cpp | 95 static void walk_edges(SkEdge* prevHead, SkPath::FillType fillType, 102 int windingMask = (fillType & 1) ? 1 : -1; 208 static void walk_convex_edges(SkEdge* prevHead, SkPath::FillType,
|
SkScan_AAAPath.cpp | 381 //draw outside of the rect when we're a inverse filltype [all...] |
/frameworks/base/core/jni/ |
android_graphics_drawable_VectorDrawable.cpp | 134 jint strokeLineCap, jint strokeLineJoin, jint fillType) { 138 strokeLineCap, strokeLineJoin, fillType);
|
/external/skia/tests/ |
PathOpsExtendedTest.cpp | 443 SkPath::FillType fillType = useXor ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType; 444 path.setFillType(fillType); 460 if (fillType == SkPath::kEvenOdd_FillType) { 644 void PathOpsThreadState::outputProgress(const char* pathStr, SkPath::FillType pathFillType) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
VectorDrawable.java | 174 * <dt><code>android:fillType</code></dt> 175 * <dd>For SDK 24+, sets the fillType for a path. The types can be either "evenOdd" or "nonZero". They behave the [all...] |
/external/skia/tools/debugger/ |
SkDebugCanvas.cpp | 686 SkPath::FillType fillType = path.getFillType(); 689 gFillTypeStrs[fillType]);
|
/external/skia/fuzz/ |
FuzzCanvas.cpp | 110 uint8_t fillType; 111 fuzz->nextRange(&fillType, 0, (uint8_t)SkPath::kInverseEvenOdd_FillType); 112 path->setFillType((SkPath::FillType)fillType); [all...] |