HomeSort by relevance Sort by last modified time
    Searched defs:rad (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/skia/tests/
TracingTest.cpp 117 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); local
118 TRACE_COUNTER1("skia", "sin", SkScalarSin(rad) * 1000.0f + 1000.0f);
128 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); local
130 SkScalar sin = SkScalarSinCos(rad, &cos);
143 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); local
145 SkScalar sin = SkScalarSinCos(rad, &cos);
  /external/skqp/tests/
TracingTest.cpp 117 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); local
118 TRACE_COUNTER1("skia", "sin", SkScalarSin(rad) * 1000.0f + 1000.0f);
128 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); local
130 SkScalar sin = SkScalarSinCos(rad, &cos);
143 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); local
145 SkScalar sin = SkScalarSinCos(rad, &cos);
  /external/skia/gm/
addarc.cpp 94 const SkScalar rad = SkDegreesToRadians(deg); variable
95 SkScalar rx = SkScalarCos(rad) * R;
96 SkScalar ry = SkScalarSin(rad) * R;
103 SkScalar arcLen = rad * R;
smallpaths.cpp 45 SkScalar rad = -SK_ScalarPI / 2; local
50 rad += drad;
51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
tilemodes_scaled.cpp 173 SkScalar rad = SkIntToScalar(gWidth)/2; local
181 return SkGradientShader::MakeRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
dashing.cpp 104 SkScalar rad = -SK_ScalarPI / 2; local
109 rad += drad;
110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
drawatlas.cpp 62 const SkScalar rad = SkDegreesToRadians(fDegrees); local
63 xform->fSCos = fScale * SkScalarCos(rad);
64 xform->fSSin = fScale * SkScalarSin(rad);
pathfill.cpp 115 SkScalar rad = -SK_ScalarPI / 2; local
120 rad += drad;
121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
tilemodes.cpp 172 SkScalar rad = SkIntToScalar(gWidth)/2; local
180 return SkGradientShader::MakeRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
  /external/skia/samplecode/
ClockFaceView.cpp 106 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); local
107 lattice.setScale(rad*2, rad*2, 0, 0);
109 return sk_make_sp<Dot2DPathEffect>(rad, lattice, pts);
SampleBitmapRect.cpp 45 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees)); local
47 s = SkScalarSinCos(rad, &c);
SamplePathClip.cpp 282 const SkScalar rad = 8; local
285 return dx*dx + dy*dy <= rad*rad;
SamplePathFill.cpp 78 SkScalar rad = -SK_ScalarPI / 2; local
83 rad += drad;
84 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
  /external/skia/src/gpu/ops/
GrNonAAStrokeRectOp.cpp 24 const SkScalar rad = SkScalarHalf(width); local
26 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
27 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
28 verts[2].set(rect.fRight - rad, rect.fTop + rad);
29 verts[3].set(rect.fRight + rad, rect.fTop - rad);
30 verts[4].set(rect.fRight - rad, rect.fBottom - rad)
109 SkScalar rad = SkScalarHalf(fStrokeWidth); local
    [all...]
  /external/skqp/gm/
addarc.cpp 94 const SkScalar rad = SkDegreesToRadians(deg); variable
95 SkScalar rx = SkScalarCos(rad) * R;
96 SkScalar ry = SkScalarSin(rad) * R;
103 SkScalar arcLen = rad * R;
smallpaths.cpp 45 SkScalar rad = -SK_ScalarPI / 2; local
50 rad += drad;
51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
tilemodes.cpp 170 SkScalar rad = SkIntToScalar(gWidth)/2; local
178 return SkGradientShader::MakeRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
tilemodes_scaled.cpp 173 SkScalar rad = SkIntToScalar(gWidth)/2; local
181 return SkGradientShader::MakeRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
  /external/skqp/samplecode/
ClockFaceView.cpp 106 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); local
107 lattice.setScale(rad*2, rad*2, 0, 0);
109 return sk_make_sp<Dot2DPathEffect>(rad, lattice, pts);
SampleBitmapRect.cpp 45 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees)); local
47 s = SkScalarSinCos(rad, &c);
SamplePathClip.cpp 282 const SkScalar rad = 8; local
285 return dx*dx + dy*dy <= rad*rad;
SamplePathFill.cpp 78 SkScalar rad = -SK_ScalarPI / 2; local
83 rad += drad;
84 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
  /external/skqp/src/gpu/ops/
GrNonAAStrokeRectOp.cpp 24 const SkScalar rad = SkScalarHalf(width); local
26 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
27 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
28 verts[2].set(rect.fRight - rad, rect.fTop + rad);
29 verts[3].set(rect.fRight + rad, rect.fTop - rad);
30 verts[4].set(rect.fRight - rad, rect.fBottom - rad)
109 SkScalar rad = SkScalarHalf(fStrokeWidth); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
DraggableDot.java 153 float rad = (wf < hf) ? wf/2 : hf/2; local
154 canvas.drawCircle(cx, cy, rad, mPaint);
168 canvas.drawCircle(cx, cy, rad, mGlow);
169 rad -= 0.5f;
170 canvas.drawCircle(cx, cy, rad, mGlow);
171 rad -= 0.5f;
  /external/skia/bench/
DashBench.cpp 141 SkScalar rad = -SK_ScalarPI / 2; local
146 rad += drad;
147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);

Completed in 321 milliseconds

1 2 3