Home
last modified time | relevance | path

Searched refs:innerRadius (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/gpu/ops/
DGrShadowRRectOp.cpp199 SkScalar innerRadius = 0.0f; in ShadowCircularRRectOp() local
213 innerRadius = devRadius - insetWidth; in ShadowCircularRRectOp()
214 type = innerRadius > 0 ? kStroke_RRectType : kFill_RRectType; in ShadowCircularRRectOp()
219 innerRadius = SkTMax(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp()
220 type = innerRadius > 0 ? kOverstroke_RRectType : kStroke_RRectType; in ShadowCircularRRectOp()
226 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp()
285 SkScalar innerRadius = args.fInnerRadius; in fillInCircleVerts() local
292 innerRadius = innerRadius / outerRadius; in fillInCircleVerts()
356 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts()
362 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts()
[all …]
DGrOvalOpFactory.cpp963 SkScalar innerRadius = -SK_ScalarHalf; in CircleOp() local
975 innerRadius = radius - halfWidth; in CircleOp()
984 innerRadius -= SK_ScalarHalf; in CircleOp()
985 bool stroked = isStrokeOnly && innerRadius > 0.0f; in CircleOp()
1020 SkScalar midRadius = (innerRadius + outerRadius) / (2 * outerRadius); in CircleOp()
1050 innerRadius, in CircleOp()
1063 innerRadius, in CircleOp()
1087 innerRadius, in CircleOp()
1102 innerRadius, in CircleOp()
1188 SkScalar innerRadius = circle.fInnerRadius; in onPrepareDraws() local
[all …]
/external/skia/src/gpu/ops/
DGrShadowRRectOp.cpp203 SkScalar innerRadius = 0.0f; in ShadowCircularRRectOp() local
217 innerRadius = devRadius - insetWidth; in ShadowCircularRRectOp()
218 type = innerRadius > 0 ? kStroke_RRectType : kFill_RRectType; in ShadowCircularRRectOp()
223 innerRadius = std::max(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp()
224 type = innerRadius > 0 ? kOverstroke_RRectType : kStroke_RRectType; in ShadowCircularRRectOp()
230 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp()
272 SkScalar innerRadius = args.fInnerRadius; in fillInCircleVerts() local
279 innerRadius = innerRadius / outerRadius; in fillInCircleVerts()
343 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts()
349 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts()
[all …]
DGrOvalOpFactory.cpp1084 SkScalar innerRadius = -SK_ScalarHalf; in CircleOp() local
1096 innerRadius = radius - halfWidth; in CircleOp()
1105 innerRadius -= SK_ScalarHalf; in CircleOp()
1106 bool stroked = isStrokeOnly && innerRadius > 0.0f; in CircleOp()
1146 SkScalar midRadius = (innerRadius + outerRadius) / (2 * outerRadius); in CircleOp()
1176 innerRadius, in CircleOp()
1189 innerRadius, in CircleOp()
1213 innerRadius, in CircleOp()
1228 innerRadius, in CircleOp()
1323 SkScalar innerRadius = circle.fInnerRadius; in onPrepareDraws() local
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/
DPolystarShape.java38 private final AnimatableFloatValue innerRadius; field in PolystarShape
46 AnimatableFloatValue rotation, AnimatableFloatValue innerRadius, in PolystarShape() argument
54 this.innerRadius = innerRadius; in PolystarShape()
82 return innerRadius; in getInnerRadius()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DPolystarShapeParser.java38 AnimatableFloatValue innerRadius = null; in parse() local
66 innerRadius = AnimatableValueParser.parseFloat(reader, composition); in parse()
81 name, type, points, position, rotation, innerRadius, outerRadius, in parse()
/external/skqp/gm/
Daddarc.cpp272 SkScalar innerRadius = outerRadius - 20.0f; variable
281 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]),
282 centerY + innerRadius * sk_float_sin(startAngles[i]));
289 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle),
290 centerY + innerRadius * sk_float_sin(endAngle));
291 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
Dwacky_yuv_formats.cpp97 static SkPath create_splat(const SkPoint& o, SkScalar innerRadius, SkScalar outerRadius, in create_splat() argument
115 circles->push_back(SkRect::MakeLTRB(o.fX - innerRadius, o.fY - innerRadius, in create_splat()
116 o.fX + innerRadius, o.fY + innerRadius)); in create_splat()
119 p.moveTo(o.fX + innerRadius * curV.fX, o.fY + innerRadius * curV.fY); in create_splat()
137 SkPoint bot = SkPoint::Make(o.fX + innerRadius * curV.fX, in create_splat()
138 o.fY + innerRadius * curV.fY); in create_splat()
139 SkPoint nextBot = SkPoint::Make(o.fX + innerRadius * nextV.fX, in create_splat()
140 o.fY + innerRadius * nextV.fY); in create_splat()
747 float innerRadius = 20.0f; in onOnceBeforeDraw() local
752 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 5, &circles); in onOnceBeforeDraw()
[all …]
/external/skia/gm/
Daddarc.cpp280 SkScalar innerRadius = outerRadius - 20.0f; variable
289 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]),
290 centerY + innerRadius * sk_float_sin(startAngles[i]));
297 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle),
298 centerY + innerRadius * sk_float_sin(endAngle));
299 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
Dwacky_yuv_formats.cpp266 static SkPath create_splat(const SkPoint& o, SkScalar innerRadius, SkScalar outerRadius, in create_splat() argument
284 circles->push_back(SkRect::MakeLTRB(o.fX - innerRadius, o.fY - innerRadius, in create_splat()
285 o.fX + innerRadius, o.fY + innerRadius)); in create_splat()
288 p.moveTo(o.fX + innerRadius * curV.fX, o.fY + innerRadius * curV.fY); in create_splat()
306 SkPoint bot = SkPoint::Make(o.fX + innerRadius * curV.fX, in create_splat()
307 o.fY + innerRadius * curV.fY); in create_splat()
308 SkPoint nextBot = SkPoint::Make(o.fX + innerRadius * nextV.fX, in create_splat()
309 o.fY + innerRadius * nextV.fY); in create_splat()
807 float innerRadius = 20.0f; in createBitmaps() local
812 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 5, &circles); in createBitmaps()
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DPolystarContent.java158 float innerRadius = innerRadiusAnimation.getValue(); in createStarPath() local
175 partialPointRadius = innerRadius + partialPointAmount * (outerRadius - innerRadius); in createStarPath()
191 float radius = longSegment ? outerRadius : innerRadius; in createStarPath()
217 float cp1Radius = longSegment ? innerRadius : outerRadius; in createStarPath()
218 float cp2Radius = longSegment ? outerRadius : innerRadius; in createStarPath()
/external/skqp/tests/
DRoundRectTest.cpp792 SkScalar* innerRadius = reinterpret_cast<SkScalar*>(&rrect) + 6; in test_read() local
793 SkASSERT(*innerRadius == 1.5f); in test_read()
794 *innerRadius = 400.f; in test_read()
796 *innerRadius = SK_ScalarInfinity; in test_read()
798 *innerRadius = SK_ScalarNaN; in test_read()
800 *innerRadius = -10.f; in test_read()
/external/skia/samplecode/
DSampleVariableWidthStroker.cpp474 float innerRadius,
594 const float innerRadius = varWidthInner.eval(tmin); in getFillPath() local
596 join(segment.fPoints[0], innerRadius, outerRadius, prevOffsetSegs, offsetSegs); in getFillPath()
768 float innerRadius, in join() argument
840 miterJoin(common, innerRadius, outerRadius, prev, curr); in join()
844 miterJoin(common, innerRadius, outerRadius, prev, curr); in join()
/external/skia/tests/
DRoundRectTest.cpp1006 SkScalar* innerRadius = reinterpret_cast<SkScalar*>(&rrect) + 6; in test_read() local
1007 SkASSERT(*innerRadius == 1.5f); in test_read()
1008 *innerRadius = 400.f; in test_read()
1010 *innerRadius = SK_ScalarInfinity; in test_read()
1012 *innerRadius = SK_ScalarNaN; in test_read()
1014 *innerRadius = -10.f; in test_read()
/external/libabigail/tests/data/test-read-dwarf/
Dtest14-pr18893.so.abi7070 …<parameter type-id='type-id-397' name='innerRadius' filepath='libutil/quad.c' line='431' column='1…
7080 …<parameter type-id='type-id-397' name='innerRadius' filepath='libutil/quad.c' line='424' column='1…
/external/libabigail/tests/data/test-annotate/
Dtest14-pr18893.so.abi10742 …<parameter type-id='type-id-397' name='innerRadius' filepath='libutil/quad.c' line='431' column='1…
10761 …<parameter type-id='type-id-397' name='innerRadius' filepath='libutil/quad.c' line='424' column='1…