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

1 2

  /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;
drawatlas.cpp 64 const SkScalar rad = SkDegreesToRadians(fDegrees); local
65 xform->fSCos = fScale * SkScalarCos(rad);
66 xform->fSSin = fScale * SkScalarSin(rad);
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);
dashing.cpp 104 SkScalar rad = -SK_ScalarPI / 2; local
109 rad += drad;
110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
pathfill.cpp 115 SkScalar rad = -SK_ScalarPI / 2; local
120 rad += drad;
121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
  /external/skia/samplecode/
SampleBitmapRect.cpp 44 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees)); local
46 s = SkScalarSinCos(rad, &c);
SamplePathClip.cpp 283 const SkScalar rad = 8; local
286 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);
ClockFaceView.cpp 147 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); local
148 lattice.setScale(rad*2, rad*2, 0, 0);
150 return sk_make_sp<Dot2DPathEffect>(rad, lattice, pts);
SamplePath.cpp 233 const SkScalar rad = 50; local
243 fArcToPaint.setPathEffect(SkArcToPathEffect::Make(rad));
249 fCornerPaint.setPathEffect(SkCornerPathEffect::Make(rad*2));
  /external/skia/src/gpu/ops/
GrNonAAStrokeRectOp.cpp 24 const SkScalar rad = SkScalarHalf(width); local
27 // SkASSERT(rad < rect.width() / 2 && rad < rect.height() / 2);
29 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
30 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
31 verts[2].set(rect.fRight - rad, rect.fTop + rad);
32 verts[3].set(rect.fRight + rad, rect.fTop - rad)
80 SkScalar rad = SkScalarHalf(op->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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
QSTileBaseView.java 102 final int rad = (int) (mIcon.getHeight() * .85f); local
103 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
  /device/google/contexthub/firmware/os/algos/calibration/accelerometer/
accel_cal.h 113 float rad[DGB_HISTORY]; member in struct:AccelStatsMem
  /external/skia/src/utils/
SkDumpCanvas.cpp 45 const SkVector& rad = rrect.getSimpleRadii(); local
46 str->appendf("(%g,%g)", rad.x(), rad.y());
  /external/skia/tests/
RRectInPathTest.cpp 179 const SkScalar rad = 12814; local
180 const SkVector vec[] = { { rad, rad }, { 0, rad }, { rad, rad }, { 0, rad } };
204 const SkScalar rad = 40; local
205 rr.setRectXY(bounds, rad, rad);
430 const float rad = 33436320; local
    [all...]
RoundRectTest.cpp 17 const SkScalar rad = 12814; local
18 const SkVector vec[] = { { rad, rad }, { 0, rad }, { rad, rad }, { 0, rad } };
40 const SkScalar rad = 40; local
41 rr.setRectXY(bounds, rad, rad);
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
AudioHelper.java 37 final double rad = 2 * Math.PI * frequency / sampleRate; local
41 int unsigned = (int)(Math.sin(j * (rad + j * sweep)) * Byte.MAX_VALUE)
50 final double rad = 2 * Math.PI * frequency / sampleRate; local
54 vai[j] = (short)(Math.sin(j * (rad + j * sweep)) * Short.MAX_VALUE);
61 final double rad = 2 * Math.PI * frequency / sampleRate; local
65 vaf[j] = (float)(Math.sin(j * (rad + j * sweep)));
77 final double rad = numCycles * 2.0 * Math.PI / numFrames; local
79 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE);
  /external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
NeuQuant.java 236 int radius, rad, alpha, step, delta, samplepixels; local
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);
    [all...]
  /external/tcpdump/
print-radius.c 948 register const struct radius_hdr *rad; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageDraw.java 266 float rad = mRotateToScreen.mapRadius(mTmpStrokData.mRadius); local
269 rec.set(centerx - rad,
270 centery - rad,
271 centerx + rad,
272 centery + rad);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.osgi.util_3.2.100.v20100503.jar 

Completed in 1986 milliseconds

1 2