/external/chromium_org/third_party/skia/src/gpu/effects/ |
Gr1DKernelEffect.h | 36 , fRadius(radius) {} 42 int radius() const { return fRadius; } 43 int width() const { return WidthFromRadius(fRadius); } 49 int fRadius;
|
GrConvolutionEffect.cpp | 35 int width() const { return Gr1DKernelEffect::WidthFromRadius(fRadius); } 39 int fRadius; 53 fRadius = c.radius(); 83 fsBuilder->codeAppendf("\t\tvec2 coord = %s - %d.0 * %s;\n", coords2D.c_str(), fRadius, imgInc); 113 SkASSERT(conv.radius() == fRadius);
|
/external/skia/src/gpu/effects/ |
Gr1DKernelEffect.h | 36 , fRadius(radius) {} 42 int radius() const { return fRadius; } 43 int width() const { return WidthFromRadius(fRadius); } 49 int fRadius;
|
GrConvolutionEffect.cpp | 34 int width() const { return Gr1DKernelEffect::WidthFromRadius(fRadius); } 38 int fRadius; 52 fRadius = c.radius(); 80 builder->fsCodeAppendf("\t\tvec2 coord = %s - %d.0 * %s;\n", coords2D.c_str(), fRadius, imgInc); 110 SkASSERT(conv.radius() == fRadius);
|
/external/chromium_org/third_party/skia/bench/ |
MorphologyBench.cpp | 31 SkScalar fRadius; 38 fRadius = rad; 63 r.offset(fRadius, fRadius); 65 if (fRadius > 0) { 69 mf = SkDilateImageFilter::Create(SkScalarFloorToInt(fRadius), 70 SkScalarFloorToInt(fRadius)); 73 mf = SkErodeImageFilter::Create(SkScalarFloorToInt(fRadius), 74 SkScalarFloorToInt(fRadius));
|
BlurBench.cpp | 31 SkScalar fRadius; 38 fRadius = rad; 66 r.offset(fRadius, fRadius); 68 if (fRadius > 0) { 70 SkBlurMask::ConvertRadiusToSigma(fRadius),
|
BlurRectBench.cpp | 25 SkScalar fRadius; 30 fRadius = rad; 32 if (fRadius > SkIntToScalar(25)) { 34 } else if (fRadius > SkIntToScalar(5)) { 47 return fRadius; 60 SkScalar pad = fRadius*3/2 + SK_Scalar1;
|
/external/skia/bench/ |
MorphologyBench.cpp | 31 SkScalar fRadius; 38 fRadius = rad; 63 r.offset(fRadius, fRadius); 65 if (fRadius > 0) { 69 mf = SkDilateImageFilter::Create(SkScalarFloorToInt(fRadius), 70 SkScalarFloorToInt(fRadius)); 73 mf = SkErodeImageFilter::Create(SkScalarFloorToInt(fRadius), 74 SkScalarFloorToInt(fRadius));
|
BlurBench.cpp | 30 SkScalar fRadius; 37 fRadius = rad; 65 r.offset(fRadius, fRadius); 67 if (fRadius > 0) { 69 SkBlurMask::ConvertRadiusToSigma(fRadius),
|
BlurRectBench.cpp | 25 SkScalar fRadius; 30 fRadius = rad; 32 if (fRadius > SkIntToScalar(25)) { 34 } else if (fRadius > SkIntToScalar(5)) { 47 return fRadius; 60 SkScalar pad = fRadius*3/2 + SK_Scalar1;
|
/external/chromium_org/third_party/skia/tests/ |
GradientTest.cpp | 20 const SkScalar* fRadius; // 2 74 rec.fRadius[0], 83 REPORTER_ASSERT(reporter, info.fRadius[0] == rec.fRadius[0]); 88 rec.fRadius[0], 90 rec.fRadius[1], 99 REPORTER_ASSERT(reporter, !memcmp(info.fRadius, rec.fRadius, 2 * sizeof(SkScalar))); 116 rec.fRadius[0], 118 rec.fRadius[1] [all...] |
/external/skia/tests/ |
GradientTest.cpp | 21 const SkScalar* fRadius; // 2 75 rec.fRadius[0], 84 REPORTER_ASSERT(reporter, info.fRadius[0] == rec.fRadius[0]); 89 rec.fRadius[0], 91 rec.fRadius[1], 100 REPORTER_ASSERT(reporter, !memcmp(info.fRadius, rec.fRadius, 2 * sizeof(SkScalar))); 117 rec.fRadius[0], 119 rec.fRadius[1] [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkCornerPathEffect.h | 41 SkScalar fRadius;
|
SkMorphologyImageFilter.h | 48 SkISize radius() const { return fRadius; } 51 SkISize fRadius;
|
/external/skia/include/effects/ |
SkCornerPathEffect.h | 39 SkScalar fRadius;
|
SkMorphologyImageFilter.h | 46 SkISize radius() const { return fRadius; } 49 SkISize fRadius;
|
/external/skia/src/effects/ |
SkCornerPathEffect.cpp | 16 SkCornerPathEffect::SkCornerPathEffect(SkScalar radius) : fRadius(radius) {} 36 if (0 == fRadius) { 71 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); 133 buffer.writeScalar(fRadius); 137 fRadius = buffer.readScalar();
|
/external/chromium_org/third_party/skia/src/effects/ |
SkCornerPathEffect.cpp | 16 SkCornerPathEffect::SkCornerPathEffect(SkScalar radius) : fRadius(radius) {} 36 if (0 == fRadius) { 71 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); 136 buffer.writeScalar(fRadius); 141 fRadius = buffer.readScalar();
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkRadialGradient.h | 50 const SkScalar fRadius;
|
/external/skia/src/effects/gradients/ |
SkRadialGradient.h | 49 const SkScalar fRadius;
|
SkTwoPointConicalGradient.cpp | 87 fRadius = SkScalarToFloat(rad0); 88 fDRadius = SkScalarToFloat(rad1) - fRadius; 91 fRadius2 = sqr(fRadius); 92 fRDR = fRadius * fDRadius; 124 float r = lerp(fRec.fRadius, fRec.fDRadius, t); 127 r = lerp(fRec.fRadius, fRec.fDRadius, t); 336 info->fRadius[0] = fRadius1; 337 info->fRadius[1] = fRadius2; 340 SkTSwap(info->fRadius[0], info->fRadius[1]) [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
ClockFaceView.cpp | 73 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {} 90 dst->addCircle(loc.fX, loc.fY, fRadius); 95 fRadius = buffer.readScalar(); 102 buffer.writeScalar(fRadius); 106 SkScalar fRadius;
|
/external/skia/samplecode/ |
ClockFaceView.cpp | 73 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {} 90 dst->addCircle(loc.fX, loc.fY, fRadius); 94 fRadius = buffer.readScalar(); 100 buffer.writeScalar(fRadius); 104 SkScalar fRadius;
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFShader.cpp | 303 SkScalar sr = info.fRadius[0]; 305 bool posRoot = info.fRadius[1] > info.fRadius[0]; 354 SkScalar r0 = info.fRadius[0]; 355 SkScalar dr = info.fRadius[1] - info.fRadius[0]; 850 transformPoints[1].fX += info->fRadius[0]; 856 if (info->fRadius[0] == info->fRadius[1]) { 860 SkScalar dr = info->fRadius[1] - info->fRadius[0] [all...] |
/external/skia/src/pdf/ |
SkPDFShader.cpp | 303 SkScalar sr = info.fRadius[0]; 305 bool posRoot = info.fRadius[1] > info.fRadius[0]; 354 SkScalar r0 = info.fRadius[0]; 355 SkScalar dr = info.fRadius[1] - info.fRadius[0]; 850 transformPoints[1].fX += info->fRadius[0]; 856 if (info->fRadius[0] == info->fRadius[1]) { 860 SkScalar dr = info->fRadius[1] - info->fRadius[0] [all...] |