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

1 2

  /external/skia/bench/
StrokeBench.cpp 72 SkScalar rad = 4; local
73 fRec.fRRect.setRectXY(r, rad, rad);
DashBench.cpp 142 SkScalar rad = -SK_ScalarPI / 2; local
147 rad += drad;
148 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
  /external/skia/gm/
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;
pathfill.cpp 76 SkScalar rad = -SK_ScalarPI / 2; local
81 rad += drad;
82 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
tilemodes.cpp 170 SkScalar rad = SkIntToScalar(gWidth)/2; local
178 return SkGradientShader::CreateRadial(center, rad, colors, NULL, SK_ARRAY_COUNT(colors), tx);
dashing.cpp 99 SkScalar rad = -SK_ScalarPI / 2; local
104 rad += drad;
105 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
techtalk1.cpp 164 SkScalar rad = paint.getStrokeWidth() / 2; local
166 r.outset(rad, rad);
168 r.inset(rad*2, rad*2);
219 SkScalar rad = paint.getStrokeWidth() / 2; local
220 r.outset(rad, rad);
222 r.inset(rad*2, rad*2)
228 SkScalar rad = paint.getStrokeWidth() \/ 2; local
239 SkScalar rad = paint.getStrokeWidth() \/ 2; local
244 SkScalar rad = paint.getStrokeWidth() \/ 2; local
    [all...]
tilemodes_scaled.cpp 182 SkScalar rad = SkIntToScalar(gWidth)/2; local
190 return SkGradientShader::CreateRadial(center, rad, colors, NULL, SK_ARRAY_COUNT(colors), tx);
  /external/skia/samplecode/
SampleBitmapRect.cpp 46 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees)); local
48 s = SkScalarSinCos(rad, &c);
SamplePathFill.cpp 79 SkScalar rad = -SK_ScalarPI / 2; local
84 rad += drad;
85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
ClockFaceView.cpp 138 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); local
139 lattice.setScale(rad*2, rad*2, 0, 0);
141 return new Dot2DPathEffect(rad, lattice, pts);
SamplePath.cpp 245 const SkScalar rad = 50; local
255 fArcToPaint.setPathEffect(SkArcToPathEffect::Create(rad))->unref();
261 fCornerPaint.setPathEffect(SkCornerPathEffect::Create(rad*2))->unref();
SampleQuadStroker.cpp 475 SkScalar rad = 32; variable
480 rr.setRectXY(r, rad, rad);
  /external/skia/src/effects/
SkGpuBlurUtils.cpp 107 SkScalar rad = SkIntToScalar(radius); local
112 lowerSrcRect.fRight = srcRect.left() + rad;
113 lowerDstRect.fRight = dstRect.left() + rad;
114 upperSrcRect.fLeft = srcRect.right() - rad;
115 upperDstRect.fLeft = dstRect.right() - rad;
116 middleSrcRect.inset(rad, 0);
117 middleDstRect.inset(rad, 0);
122 lowerSrcRect.fBottom = srcRect.top() + rad;
123 lowerDstRect.fBottom = dstRect.top() + rad;
124 upperSrcRect.fTop = srcRect.bottom() - rad;
    [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/jmonkeyengine/engine/src/core/com/jme3/bounding/
Intersection.java 77 // float rad = fa * boxhalfsize.y + fb * boxhalfsize.z;
78 // if(min > rad || max < -rad)
104 // float min,max,p0,p1,p2,rad,fex,fey,fez;
121 float p0, p1, p2, rad; local
133 rad = fez * extent.y + fey * extent.z;
134 if (min > rad || max < -rad) {
144 rad = fez * extent.x + fex * extent.z;
145 if (min > rad || max < -rad)
    [all...]
  /external/skia/src/utils/
SkDumpCanvas.cpp 47 const SkVector& rad = rrect.getSimpleRadii(); local
48 str->appendf("(%g,%g)", rad.x(), rad.y());
  /external/skia/tests/
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)));
  /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 896 register const struct radius_hdr *rad; local
900 rad = (struct radius_hdr *)dat;
901 len = EXTRACT_16BITS(&rad->len);
914 tok2str(radius_command_values,"Unknown Command",rad->code),
915 rad->code,
916 rad->id,
923 tok2str(radius_command_values,"Unknown Command",rad->code),
924 rad->code,
925 rad->id);
928 printf("%02x", rad->auth[auth_idx] )
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSTileView.java 289 final int rad = (int)(mIcon.getHeight() * 1.25f); local
290 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
  /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 
  /external/opencv/ml/src/
ml_inner_functions.cpp 330 float rad, norm, coefficient; local
355 rad = (float)(cvRandReal(&rng_local)*(radius_large - radius_small) + radius_small);
358 coefficient = rad / norm;
    [all...]

Completed in 1812 milliseconds

1 2