/external/skia/bench/ |
H A D | BlurBench.cpp | 37 BlurBench(SkScalar rad, SkBlurStyle bs, uint32_t flags = 0) { argument 38 fRadius = rad; 41 const char* name = rad > 0 ? gStyleName[bs] : "none"; 44 if (SkScalarFraction(rad) != 0) { 45 fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality); 47 fName.printf("blur_%d_%s_%s", SkScalarRoundToInt(rad), name, quality);
|
H A D | MorphologyBench.cpp | 36 MorphologyBench(SkScalar rad, MorphologyType style) argument 38 fRadius = rad; 40 const char* name = rad > 0 ? gStyleName[style] : "none"; 41 if (SkScalarFraction(rad) != 0) { 42 fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name); 44 fName.printf("morph_%d_%s", SkScalarRoundToInt(rad), name);
|
H A D | BlurRectBench.cpp | 29 BlurRectBench(SkScalar rad) { argument 30 fRadius = rad; 79 BlurRectDirectBench(SkScalar rad) : INHERITED(rad) { argument 82 if (SkScalarFraction(rad) != 0) { 83 name.printf("blurrect_direct_%.2f", SkScalarToFloat(rad)); 85 name.printf("blurrect_direct_%d", SkScalarRoundToInt(rad)); 106 BlurRectSeparableBench(SkScalar rad) : INHERITED(rad) { } argument 131 BlurRectBoxFilterBench(SkScalar rad) argument 159 BlurRectGaussianBench(SkScalar rad) argument [all...] |
H A D | DashBench.cpp | 143 SkScalar rad = -SK_ScalarPI / 2; local 148 rad += drad; 149 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
/external/skia/gm/ |
H A D | drawatlas.cpp | 66 const SkScalar rad = SkDegreesToRadians(fDegrees); local 67 xform->fSCos = fScale * SkScalarCos(rad); 68 xform->fSSin = fScale * SkScalarSin(rad);
|
H A D | addarc.cpp | 93 const SkScalar rad = SkDegreesToRadians(deg); variable 94 SkScalar rx = SkScalarCos(rad) * R; 95 SkScalar ry = SkScalarSin(rad) * R; 102 SkScalar arcLen = rad * R;
|
H A D | pathfill.cpp | 77 SkScalar rad = -SK_ScalarPI / 2; local 82 rad += drad; 83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
H A D | smallpaths.cpp | 45 SkScalar rad = -SK_ScalarPI / 2; local 50 rad += drad; 51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
H A D | dashing.cpp | 103 SkScalar rad = -SK_ScalarPI / 2; local 108 rad += drad; 109 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
H A D | tilemodes.cpp | 168 SkScalar rad = SkIntToScalar(gWidth)/2; local 176 return SkGradientShader::CreateRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
|
H A D | tilemodes_scaled.cpp | 172 SkScalar rad = SkIntToScalar(gWidth)/2; local 180 return SkGradientShader::CreateRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
|
/external/skia/samplecode/ |
H A D | SamplePathFill.cpp | 79 SkScalar rad = -SK_ScalarPI / 2; local 84 rad += drad; 85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
H A D | ClockFaceView.cpp | 137 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); local 138 lattice.setScale(rad*2, rad*2, 0, 0); 140 return new Dot2DPathEffect(rad, lattice, pts);
|
H A D | SampleBitmapRect.cpp | 46 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees)); local 48 s = SkScalarSinCos(rad, &c);
|
H A D | SamplePath.cpp | 247 const SkScalar rad = 50; local 257 fArcToPaint.setPathEffect(SkArcToPathEffect::Create(rad))->unref(); 263 fCornerPaint.setPathEffect(SkCornerPathEffect::Create(rad*2))->unref();
|
H A D | SamplePathClip.cpp | 286 const SkScalar rad = 8; local 289 return dx*dx + dy*dy <= rad*rad;
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
H A D | PieRenderer.java | 80 float rad, float startAngle, float sweep) { 89 donutSizePx = donutSize * rad; 92 donutSizePx = (donutSize > 0)?donutSize:(rad + donutSize); 99 PointF r1Outer = calculateLineEnd(cx, cy, rad, startAngle); 103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep); 115 clip.arcTo(new RectF(bounds.left - rad, 116 bounds.top - rad, 117 bounds.right + rad, 118 bounds.bottom + rad), 149 canvas.drawCircle(cx, cy, rad, 79 drawSegment(Canvas canvas, RectF bounds, Segment seg, SegmentFormatter f, float rad, float startAngle, float sweep) argument 196 calculateLineEnd(float x, float y, float rad, float deg) argument 200 calculateLineEnd(PointF origin, float rad, float deg) argument [all...] |
/external/clang/test/Analysis/ |
H A D | array-struct-region.c | 22 void nested_compound_literals(int rad) { argument 28 vec[a][0] *= rad; // no-warning 29 vec[a][1] *= rad; // no-warning 33 void nested_compound_literals_float(float rad) { argument 39 vec[a][0] *= rad; // no-warning 40 vec[a][1] *= rad; // no-warning
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
H A D | NeuQuant.java | 236 int radius, rad, alpha, step, delta, samplepixels; 251 rad = radius >> radiusbiasshift; 252 if (rad <= 1) 253 rad = 0; 254 for (i = 0; i < rad; i++) 255 radpower[i] = alpha * (((rad * rad - i * i) * radbias) / (rad * rad)); 257 // fprintf(stderr,"beginning 1D learning: initial radius=%d\n", rad); 406 alterneigh(int rad, int i, int b, int g, int r) argument [all...] |
/external/opencv3/samples/cpp/ |
H A D | tvl1_optical_flow.cpp | 59 const float rad = sqrt(fx * fx + fy * fy); local 76 if (rad <= 1) 77 col = 1 - rad * (1 - col); // increase saturation with radius
|
/external/opencv3/samples/gpu/ |
H A D | optical_flow.cpp | 61 const float rad = sqrt(fx * fx + fy * fy); local 78 if (rad <= 1) 79 col = 1 - rad * (1 - col); // increase saturation with radius
|
/external/skia/src/effects/ |
H A D | SkGpuBlurUtils.cpp | 116 SkScalar rad = SkIntToScalar(radius); local 123 midRect.inset(rad, 0); 135 midRect.inset(0, rad);
|
/external/skia/src/gpu/batches/ |
H A D | GrNonAAStrokeRectBatch.cpp | 23 const SkScalar rad = SkScalarHalf(width); local 26 //SkASSERT(rad < rect.width() / 2 && rad < rect.height() / 2); 28 verts[0].set(rect.fLeft + rad, rect.fTop + rad); 29 verts[1].set(rect.fLeft - rad, rect.fTop - rad); 30 verts[2].set(rect.fRight - rad, rect.fTop + rad); 31 verts[3].set(rect.fRight + rad, rec 97 SkScalar rad = SkScalarHalf(geo.fStrokeWidth); local [all...] |
/external/opencv3/modules/videostab/src/ |
H A D | inpainting.cpp | 237 for (int dy = -rad; dy <= rad; ++dy) 239 for (int dx = -rad; dx <= rad; ++dx) 320 int rad; member in class:cv::videostab::MotionInpaintBody 363 body.rad = 2;
|
/external/skia/tests/ |
H A D | RRectInPathTest.cpp | 138 const SkScalar rad = 12814; local 139 const SkVector vec[] = { { rad, rad }, { 0, rad }, { rad, rad }, { 0, rad } }; 159 const SkScalar rad = 40; local 160 rr.setRectXY(bounds, rad, rad); 344 set_radii(SkVector radii[4], int index, float rad) argument 354 const float rad = 33436320; local [all...] |