/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 200 SkScalar outerRadius = devRadius; in ShadowCircularRRectOp() local 207 umbraInset = SkTMax(outerRadius, blurRadius); in ShadowCircularRRectOp() 226 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp() 285 SkScalar outerRadius = args.fOuterRadius; in fillInCircleVerts() local 288 SkScalar distanceCorrection = outerRadius / blurRadius; in fillInCircleVerts() 293 innerRadius = innerRadius / outerRadius; in fillInCircleVerts() 414 SkScalar outerRadius = args.fOuterRadius; in fillInRRectVerts() local 426 SkScalar xMid[4] = { bounds.fLeft + outerRadius, bounds.fRight - outerRadius, in fillInRRectVerts() 427 bounds.fLeft + outerRadius, bounds.fRight - outerRadius }; in fillInRRectVerts() 432 SkScalar yMid[4] = { bounds.fTop + outerRadius, bounds.fTop + outerRadius, in fillInRRectVerts() [all …]
|
D | GrOvalOpFactory.cpp | 1038 SkScalar outerRadius = radius; in CircleOp() local 1047 outerRadius += halfWidth; in CircleOp() 1057 outerRadius += SK_ScalarHalf; in CircleOp() 1067 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, in CircleOp() 1068 center.fX + outerRadius, center.fY + outerRadius); in CircleOp() 1094 SkScalar midRadius = (innerRadius + outerRadius) / (2 * outerRadius); in CircleOp() 1125 outerRadius, in CircleOp() 1138 outerRadius, in CircleOp() 1162 outerRadius, in CircleOp() 1177 outerRadius, in CircleOp() [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 200 SkScalar outerRadius = devRadius; in ShadowCircularRRectOp() local 207 umbraInset = SkTMax(outerRadius, blurRadius); in ShadowCircularRRectOp() 226 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp() 284 SkScalar outerRadius = args.fOuterRadius; in fillInCircleVerts() local 287 SkScalar distanceCorrection = outerRadius / blurRadius; in fillInCircleVerts() 292 innerRadius = innerRadius / outerRadius; in fillInCircleVerts() 413 SkScalar outerRadius = args.fOuterRadius; in fillInRRectVerts() local 425 SkScalar xMid[4] = { bounds.fLeft + outerRadius, bounds.fRight - outerRadius, in fillInRRectVerts() 426 bounds.fLeft + outerRadius, bounds.fRight - outerRadius }; in fillInRRectVerts() 431 SkScalar yMid[4] = { bounds.fTop + outerRadius, bounds.fTop + outerRadius, in fillInRRectVerts() [all …]
|
D | GrOvalOpFactory.cpp | 964 SkScalar outerRadius = radius; in CircleOp() local 973 outerRadius += halfWidth; in CircleOp() 983 outerRadius += SK_ScalarHalf; in CircleOp() 993 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, in CircleOp() 994 center.fX + outerRadius, center.fY + outerRadius); in CircleOp() 1020 SkScalar midRadius = (innerRadius + outerRadius) / (2 * outerRadius); in CircleOp() 1051 outerRadius, in CircleOp() 1064 outerRadius, in CircleOp() 1088 outerRadius, in CircleOp() 1103 outerRadius, in CircleOp() [all …]
|
/external/skia/gm/ |
D | addarc.cpp | 271 SkScalar outerRadius = 100000.0f; variable 272 SkScalar innerRadius = outerRadius - 20.0f; 274 SkScalar centerY = outerRadius; 276 SkScalar sweepAngle = 10.0f / outerRadius; 283 path.lineTo(centerX + outerRadius * sk_float_cos(startAngles[i]), 284 centerY + outerRadius * sk_float_sin(startAngles[i])); 286 html_canvas_arc(&path, centerX, outerRadius, outerRadius, 291 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
|
D | wacky_yuv_formats.cpp | 97 static SkPath create_splat(const SkPoint& o, SkScalar innerRadius, SkScalar outerRadius, in create_splat() argument 127 SkPoint top = SkPoint::Make(o.fX + outerRadius * curV.fX, in create_splat() 128 o.fY + outerRadius * curV.fY); in create_splat() 129 SkPoint nextTop = SkPoint::Make(o.fX + outerRadius * nextV.fX, in create_splat() 130 o.fY + outerRadius * nextV.fY); in create_splat() 765 float outerRadius = kTileWidthHeight/2.0f - 20.0f; in onOnceBeforeDraw() local 771 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 5, &circles); in onOnceBeforeDraw() 778 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 7, &circles); in onOnceBeforeDraw() 956 float outerRadius = kTileWidthHeight/2.0f - 20.0f; in onOnceBeforeDraw() local 962 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 5, &circles); in onOnceBeforeDraw() [all …]
|
/external/skqp/gm/ |
D | addarc.cpp | 271 SkScalar outerRadius = 100000.0f; variable 272 SkScalar innerRadius = outerRadius - 20.0f; 274 SkScalar centerY = outerRadius; 276 SkScalar sweepAngle = 10.0f / outerRadius; 283 path.lineTo(centerX + outerRadius * sk_float_cos(startAngles[i]), 284 centerY + outerRadius * sk_float_sin(startAngles[i])); 286 html_canvas_arc(&path, centerX, outerRadius, outerRadius, 291 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
|
D | wacky_yuv_formats.cpp | 97 static SkPath create_splat(const SkPoint& o, SkScalar innerRadius, SkScalar outerRadius, in create_splat() argument 127 SkPoint top = SkPoint::Make(o.fX + outerRadius * curV.fX, in create_splat() 128 o.fY + outerRadius * curV.fY); in create_splat() 129 SkPoint nextTop = SkPoint::Make(o.fX + outerRadius * nextV.fX, in create_splat() 130 o.fY + outerRadius * nextV.fY); in create_splat() 746 float outerRadius = kTileWidthHeight/2.0f - 20.0f; in onOnceBeforeDraw() local 752 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 5, &circles); in onOnceBeforeDraw() 759 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 7, &circles); in onOnceBeforeDraw()
|