Home
last modified time | relevance | path

Searched refs:fRadius (Results 1 – 25 of 64) sorted by relevance

123

/external/skia/bench/
DMorphologyBench.cpp31 SkScalar fRadius; member in MorphologyBench
38 fRadius = rad; in MorphologyBench()
63 r.offset(fRadius, fRadius); in onDraw()
65 if (fRadius > 0) { in onDraw()
69 mf = SkDilateImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
70 SkScalarFloorToInt(fRadius), in onDraw()
74 mf = SkErodeImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
75 SkScalarFloorToInt(fRadius), in onDraw()
DBlurBench.cpp32 SkScalar fRadius; member in BlurBench
38 fRadius = rad; in BlurBench()
64 r.offset(fRadius, fRadius); in onDraw()
66 if (fRadius > 0) { in onDraw()
68 SkBlurMask::ConvertRadiusToSigma(fRadius))); in onDraw()
DBlurRectBench.cpp25 SkScalar fRadius; member in BlurRectBench
30 fRadius = rad; in BlurRectBench()
32 if (fRadius > SkIntToScalar(25)) { in BlurRectBench()
34 } else if (fRadius > SkIntToScalar(5)) { in BlurRectBench()
47 return fRadius; in radius()
60 SkScalar pad = fRadius*3/2 + SK_Scalar1; in onDraw()
DBlurRectsBench.cpp19 fRadius = radius; in BlurRectsBench()
34 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, fRadius)); in onDraw()
49 SkScalar fRadius; member in BlurRectsBench
/external/skqp/bench/
DMorphologyBench.cpp31 SkScalar fRadius; member in MorphologyBench
38 fRadius = rad; in MorphologyBench()
63 r.offset(fRadius, fRadius); in onDraw()
65 if (fRadius > 0) { in onDraw()
69 mf = SkDilateImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
70 SkScalarFloorToInt(fRadius), in onDraw()
74 mf = SkErodeImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
75 SkScalarFloorToInt(fRadius), in onDraw()
DBlurBench.cpp32 SkScalar fRadius; member in BlurBench
38 fRadius = rad; in BlurBench()
64 r.offset(fRadius, fRadius); in onDraw()
66 if (fRadius > 0) { in onDraw()
68 SkBlurMask::ConvertRadiusToSigma(fRadius))); in onDraw()
DBlurRectBench.cpp25 SkScalar fRadius; member in BlurRectBench
30 fRadius = rad; in BlurRectBench()
32 if (fRadius > SkIntToScalar(25)) { in BlurRectBench()
34 } else if (fRadius > SkIntToScalar(5)) { in BlurRectBench()
47 return fRadius; in radius()
60 SkScalar pad = fRadius*3/2 + SK_Scalar1; in onDraw()
DBlurRectsBench.cpp19 fRadius = radius; in BlurRectsBench()
34 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, fRadius)); in onDraw()
49 SkScalar fRadius; member in BlurRectsBench
/external/skia/modules/particles/src/
DSkParticleDrawable.cpp49 : fRadius(radius) { in SkCircleDrawable()
57 SkPoint center = { SkIntToScalar(fRadius), SkIntToScalar(fRadius) }; in REFLECTED()
67 v->visit("Radius", fRadius); in visitFields()
72 int fRadius; member in SkCircleDrawable
75 fRadius = SkTMax(fRadius, 1); in rebuild()
76 if (!fImage || fImage->width() != 2 * fRadius) { in rebuild()
77 fImage = make_circle_image(fRadius); in rebuild()
/external/dng_sdk/source/
Ddng_resample.h112 uint32 fRadius;
131 return fRadius; in Radius()
136 return fRadius * 2; in Width()
141 return 1 - (int32) fRadius; in Offset()
196 uint32 fRadius;
215 return fRadius; in Radius()
220 return fRadius * 2; in Width()
225 return 1 - (int32) fRadius; in Offset()
Ddng_resample.cpp138 : fRadius (0) in dng_resample_weights()
171 fRadius = (uint32) (kernel.Extent () / scale + 0.9999); in Initialize()
175 uint32 width = fRadius * 2; in Initialize()
234 int32 k = (int32) j - (int32) fRadius + 1; in Initialize()
277 w16 [fRadius - (fract >= 0.5 ? 0 : 1)] += (int16) (16384 - t16); in Initialize()
289 : fRadius (0) in dng_resample_weights_2d()
317 fRadius = (uint32) (kernel.Extent () + 0.9999); in Initialize()
325 if (!SafeUint32Mult (fRadius, 2, &width) || in Initialize()
396 int32 yInt = ((int32) i) - (int32) fRadius + 1; in Initialize()
402 int32 xInt = ((int32) j) - (int32) fRadius + 1; in Initialize()
[all …]
/external/skia/src/shaders/gradients/
DSkRadialGradient.cpp32 , fRadius(radius) { in SkRadialGradient()
39 info->fRadius[0] = fRadius; in asAGradient()
59 buffer.writeScalar(fRadius); in flatten()
64 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.fColors.get(), fOrigPos, in onMakeColorSpace()
/external/skqp/src/shaders/gradients/
DSkRadialGradient.cpp32 , fRadius(radius) { in SkRadialGradient()
39 info->fRadius[0] = fRadius; in asAGradient()
59 buffer.writeScalar(fRadius); in flatten()
64 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.fColors.get(), fOrigPos, in onMakeColorSpace()
/external/skqp/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.h39 int radius() const { return fRadius; } in radius()
40 int width() const { return 2 * fRadius + 1; } in width()
52 fRadius, in dumpInfo()
96 int fRadius; variable
DGrCircleEffect.h20 float radius() const { return fRadius; } in radius()
41 , fRadius(radius) {} in GrCircleEffect()
48 float fRadius; variable
DGrCircleEffect.cpp97 if (fRadius != that.fRadius) return false; in onIsEqual()
104 , fRadius(src.fRadius) {} in GrCircleEffect()
/external/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.h39 int radius() const { return fRadius; } in radius()
40 int width() const { return 2 * fRadius + 1; } in width()
52 fRadius, in dumpInfo()
96 int fRadius; variable
DGrCircleEffect.h20 float radius() const { return fRadius; } in radius()
41 , fRadius(radius) {} in GrCircleEffect()
48 float fRadius; variable
DGrCircleEffect.cpp97 if (fRadius != that.fRadius) return false; in onIsEqual()
104 , fRadius(src.fRadius) {} in GrCircleEffect()
/external/skia/src/pdf/
DSkPDFGradientShader.h44 && u.fRadius[0] == v.fRadius[0]
45 && u.fRadius[1] == v.fRadius[1]
/external/skqp/src/pdf/
DSkPDFGradientShader.h44 && u.fRadius[0] == v.fRadius[0]
45 && u.fRadius[1] == v.fRadius[1]
/external/skia/src/effects/
DSkCornerPathEffect.cpp20 fRadius = radius; in SkCornerPathEffect()
40 if (fRadius <= 0) { in onFilterPath()
76 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); in onFilterPath()
155 buffer.writeScalar(fRadius); in flatten()
/external/skqp/src/effects/
DSkCornerPathEffect.cpp20 fRadius = radius; in SkCornerPathEffect()
40 if (fRadius <= 0) { in onFilterPath()
76 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); in onFilterPath()
155 buffer.writeScalar(fRadius); in flatten()
/external/skia/tests/
DGradientTest.cpp47 const SkScalar* fRadius; // 2 member
99 sk_sp<SkShader> s(SkGradientShader::MakeRadial(buildRec.fPoint[0], buildRec.fRadius[0], in radial_gradproc()
106 REPORTER_ASSERT(reporter, info.fRadius[0] == checkRec.fRadius[0]); in radial_gradproc()
123 buildRec.fRadius[0], in conical_gradproc()
125 buildRec.fRadius[1], in conical_gradproc()
134 REPORTER_ASSERT(reporter, !memcmp(info.fRadius, checkRec.fRadius, 2 * sizeof(SkScalar))); in conical_gradproc()
175 rec.fRadius = gRad; in TestGradientShaders()
259 rec.fRadius = gRadii; in TestGradientOptimization()
/external/skqp/tests/
DGradientTest.cpp47 const SkScalar* fRadius; // 2 member
99 sk_sp<SkShader> s(SkGradientShader::MakeRadial(buildRec.fPoint[0], buildRec.fRadius[0], in radial_gradproc()
106 REPORTER_ASSERT(reporter, info.fRadius[0] == checkRec.fRadius[0]); in radial_gradproc()
123 buildRec.fRadius[0], in conical_gradproc()
125 buildRec.fRadius[1], in conical_gradproc()
134 REPORTER_ASSERT(reporter, !memcmp(info.fRadius, checkRec.fRadius, 2 * sizeof(SkScalar))); in conical_gradproc()
175 rec.fRadius = gRad; in TestGradientShaders()
259 rec.fRadius = gRadii; in TestGradientOptimization()

123