Searched refs:rad (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/spec/gl-matrix/
H A Dmat4-spec.js347 var rad = Math.PI * 0.5;
351 beforeEach(function() { result = mat4.rotate(out, matA, rad, axis); });
356 0, Math.cos(rad), Math.sin(rad), 0,
357 0, -Math.sin(rad), Math.cos(rad), 0,
373 beforeEach(function() { result = mat4.rotate(matA, matA, rad, axis); });
378 0, Math.cos(rad), Math.sin(rad), 0,
379 0, -Math.sin(rad), Mat
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
H A DIntersection.java77 // 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;
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 || ma
[all...]
/external/skia/bench/
H A DBlurRectBench.cpp29 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));
104 BlurRectSeparableBench(SkScalar rad) : INHERITED(rad) { argument
131 BlurRectBoxFilterBench(SkScalar rad) argument
158 BlurRectGaussianBench(SkScalar rad) argument
[all...]
H A DMorphologyBench.cpp36 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 DBlurBench.cpp37 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 DStrokeBench.cpp72 SkScalar rad = 4; local
73 fRec.fRRect.setRectXY(r, rad, rad);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
H A DPieRenderer.java80 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/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
H A DNeuQuant.java236 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/skia/gm/
H A Dtechtalk1.cpp164 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*
228 SkScalar rad = paint.getStrokeWidth() / 2; local
239 SkScalar rad = paint.getStrokeWidth() / 2; local
244 SkScalar rad = paint.getStrokeWidth() / 2; local
[all...]
H A Daddarc.cpp93 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 Dpathfill.cpp76 SkScalar rad = -SK_ScalarPI / 2; local
81 rad += drad;
82 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/gl-matrix/
H A Dquat.js182 * @param {Number} rad the angle in radians
185 quat.setAxisAngle = function(out, axis, rad) {
186 rad = rad * 0.5;
187 var s = Math.sin(rad);
191 out[3] = Math.cos(rad);
247 * @param {number} rad angle (in radians) to rotate
250 quat.rotateX = function (out, a, rad) {
251 rad *= 0.5;
254 bx = Math.sin(rad), b
[all...]
H A Dmat2.js193 * @param {Number} rad the angle to rotate the matrix by
196 mat2.rotate = function (out, a, rad) {
198 s = Math.sin(rad),
199 c = Math.cos(rad);
230 * mat2.rotate(dest, dest, rad);
233 * @param {Number} rad the angle to rotate the matrix by
236 mat2.fromRotation = function(out, rad) {
237 var s = Math.sin(rad),
238 c = Math.cos(rad);
H A Dmat2d.js176 * @param {Number} rad the angle to rotate the matrix by
179 mat2d.rotate = function (out, a, rad) {
181 s = Math.sin(rad),
182 c = Math.cos(rad);
237 * mat2d.rotate(dest, dest, rad);
240 * @param {Number} rad the angle to rotate the matrix by
243 mat2d.fromRotation = function(out, rad) {
244 var s = Math.sin(rad), c = Math.cos(rad);
H A Dmat4.js417 * @param {Number} rad the angle to rotate the matrix by
421 mat4.rotate = function (out, a, rad, axis) {
439 s = Math.sin(rad);
440 c = Math.cos(rad);
480 * @param {Number} rad the angle to rotate the matrix by
483 mat4.rotateX = function (out, a, rad) {
484 var s = Math.sin(rad),
485 c = Math.cos(rad),
523 * @param {Number} rad the angle to rotate the matrix by
526 mat4.rotateY = function (out, a, rad) {
[all...]
/external/skia/src/effects/
H A DSkGpuBlurUtils.cpp107 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...]
/external/tcpdump/
H A Dprint-radius.c896 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
[all...]
/external/skia/samplecode/
H A DSamplePathFill.cpp79 SkScalar rad = -SK_ScalarPI / 2; local
84 rad += drad;
85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
H A DClockFaceView.cpp138 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); local
139 lattice.setScale(rad*2, rad*2, 0, 0);
141 return new Dot2DPathEffect(rad, lattice, pts);
/external/clang/test/Analysis/
H A Darray-struct-region.c22 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/skia/src/core/
H A DSkRRect.cpp122 static SkScalar clamp_radius_check_predicates(SkScalar rad, SkScalar min, SkScalar max) { argument
124 if (rad > max - min || min + rad > max || max - rad < min) {
125 rad = SkScalarDecULP(rad);
127 return rad;
200 // rad == bounds.bottom - bounds.top
527 static void validate_radius_check_predicates(SkScalar rad, SkScalar min, SkScalar max) {
529 SkASSERT(rad <
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.osgi.util_3.2.100.v20100503.jar ... final org.osgi.util.measurement.Unit rad private static final org.osgi.util.measurement ...
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/dist/
H A Dgl-matrix.js376 * @param {Number} rad the angle to rotate the matrix by
379 mat2.rotate = function (out, a, rad) {
381 s = Math.sin(rad),
382 c = Math.cos(rad);
413 * mat2.rotate(dest, dest, rad);
416 * @param {Number} rad the angle to rotate the matrix by
419 mat2.fromRotation = function(out, rad) {
420 var s = Math.sin(rad),
421 c = Math.cos(rad);
667 * @param {Number} rad th
[all...]
/external/skia/src/gpu/
H A DGrContext.cpp513 SkScalar rad = SkScalarHalf(geometry.fStrokeWidth); local
514 fBounds.outset(rad, rad);
529 const SkScalar rad = SkScalarHalf(width); local
532 //SkASSERT(rad < rect.width() / 2 && rad < rect.height() / 2);
534 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
535 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
[all...]
/external/skia/tests/
H A DRoundRectTest.cpp17 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...]

Completed in 2091 milliseconds

12