HomeSort by relevance Sort by last modified time
    Searched refs:rad (Results 1 - 24 of 24) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/cts/
SweepGradientTest.java 106 for (double rad = step; rad <= twoPi - step; rad += step) {
107 int x = CENTER + (int)(Math.cos(rad) * RADIUS);
108 int y = CENTER + (int)(Math.sin(rad) * RADIUS);
110 float relPos = (float)(rad / twoPi);
149 System.out.println(rad);
  /external/quake/quake/src/WinQuake/
gl_rlight.cpp 80 float rad; local
82 rad = light->radius * 0.35;
85 if (Length (v) < rad)
105 *pPos++ = light->origin[i] - vpn[i]*rad;
114 *pPos++ = light->origin[j] + vright[j]*cos(a)*rad
115 + vup[j]*sin(a)*rad;
127 v[i] = light->origin[i] - vpn[i]*rad;
134 v[j] = light->origin[j] + vright[j]*cos(a)*rad
135 + vup[j]*sin(a)*rad;
r_surf.cpp 66 float dist, rad, minlight; local
83 rad = cl_dlights[lnum].radius;
86 rad -= fabs(dist);
88 if (rad < minlight)
90 minlight = rad - minlight;
122 temp = (rad - dist)*256;
135 blocklights[t*smax + s] += (rad - dist)*256;
gl_rsurf.cpp 72 float dist, rad, minlight; local
88 rad = cl_dlights[lnum].radius;
91 rad -= fabs(dist);
93 if (rad < minlight)
95 minlight = rad - minlight;
124 blocklights[t*smax + s] += (int)((rad - dist)*256);
    [all...]
pr_cmds.cpp 883 float rad; local
891 rad = G_FLOAT(OFS_PARM1);
902 if (Length(eorg) > 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/tools/layoutlib/bridge/src/android/graphics/
Matrix.java 246 double rad = Math.toRadians(degrees); local
247 float cos = (float)Math.cos(rad);
248 float sin = (float)Math.sin(rad);
259 double rad = Math.toRadians(degrees); local
260 float cos = (float)Math.cos(rad);
261 float sin = (float)Math.sin(rad);
540 double rad = Math.toRadians(degrees); local
541 float cos = (float)Math.cos(rad);
542 float sin = (float)Math.sin(rad);
556 double rad = Math.toRadians(degrees) local
    [all...]
  /external/skia/src/gl/
SkGLDevice.cpp 293 const SkScalar rad = SkScalarHalf(width); local
295 verts[0].setScalars(rect.fLeft + rad, rect.fTop + rad);
296 verts[1].setScalars(rect.fLeft - rad, rect.fTop - rad);
297 verts[2].setScalars(rect.fRight - rad, rect.fTop + rad);
298 verts[3].setScalars(rect.fRight + rad, rect.fTop - rad);
299 verts[4].setScalars(rect.fRight - rad, rect.fBottom - rad)
    [all...]
  /external/quake/quake/src/QW/client/
gl_rlight.c 99 float rad; local
104 rad = light->radius * 0.35;
107 if (Length (v) < rad)
122 v[i] = light->origin[i] - vpn[i]*rad;
130 + vup[j]*(*bub_sin)) * rad;
r_surf.c 66 float dist, rad, minlight; local
83 rad = cl_dlights[lnum].radius;
86 rad -= fabs(dist);
88 if (rad < minlight)
90 minlight = rad - minlight;
119 blocklights[t*smax + s] += (rad - dist)*256;
gl_rsurf.c 72 float dist, rad, minlight; local
88 rad = cl_dlights[lnum].radius;
91 rad -= fabs(dist);
93 if (rad < minlight)
95 minlight = rad - minlight;
124 blocklights[t*smax + s] += (rad - dist)*256;
    [all...]
  /external/skia/src/core/
SkPath.cpp 488 void SkPath::addRoundRect(const SkRect& rect, const SkScalar rad[],
493 add_corner_arc(this, rect, rad[0], rad[1], 180, dir, true);
494 add_corner_arc(this, rect, rad[2], rad[3], 270, dir, false);
495 add_corner_arc(this, rect, rad[4], rad[5], 0, dir, false);
496 add_corner_arc(this, rect, rad[6], rad[7], 90, dir, false);
498 add_corner_arc(this, rect, rad[0], rad[1], 180, dir, true)
    [all...]
SkMath.cpp 434 double rad = i * 3.141592653589793 / (2*kTableSize); local
435 double val = sin(rad);
SkDraw.cpp 2370 int rad = -1; local
    [all...]
  /system/core/libpixelflinger/
trap.cpp 136 void pointx_validate(void *con, const GGLcoord* v, GGLcoord rad)
149 c->procs.pointx(con, v, rad);
152 void pointx(void *con, const GGLcoord* v, GGLcoord rad)
155 GGLcoord halfSize = TRI_ROUND(rad) >> 1;
207 GGLcoord rad = ((size + 1)>>1); local
208 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS;
209 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS;
210 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS;
211 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS;
236 GGLcoord rr = rad*rad
272 GGLcoord rad = ((size + 1)>>1); local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
GradientDrawable.java 289 float rad = mStrokePaint.getStrokeWidth();
290 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
291 mRect.right + rad, mRect.bottom + rad,
326 // to show it. If we did nothing, Skia would clamp the rad
329 float rad = st.mRadius;
331 if (rad > r) {
332 rad = r;
334 canvas.drawRoundRect(mRect, rad, rad, mFillPaint)
    [all...]
  /external/netcat/
netcat.c 606 int doconnect (rad, rp, lad, lp)
607 IA * rad;
681 memcpy (&remend->sin_addr.s_addr, rad, sizeof (IA));
738 memcpy (opp, rad, sizeof (IA));
773 int dolisten (rad, rp, lad, lp)
774 IA * rad;
788 nnetfd = doconnect (rad, rp, lad, lp);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ColorPickerDialog.java 139 private int rotateColor(int color, float rad) {
140 float deg = rad * 180 / 3.1415927f;
  /external/quake/quake/src/QW/server/
pr_cmds.c 766 float rad; local
774 rad = G_FLOAT(OFS_PARM1);
785 if (Length(eorg) > rad)
1647 PF_findradius, // entity(vector org, float rad) findradius = #22;
  /cts/tests/tests/media/src/android/media/cts/
AudioTrackTest.java 2546 final double rad = 2 * Math.PI * frequency \/ sampleRate; local
2557 final double rad = 2 * Math.PI * frequency \/ sampleRate; local
    [all...]
  /external/quake/quake/src/QW/progs/
weapons.qc 5 void(entity bomb, entity attacker, float rad, entity ignore, string dtype) T_RadiusDamage;
  /prebuilt/common/osgi/
osgi.jar 
  /external/webkit/SunSpider/tests/sunspider-0.9/
string-unpack-code.js     [all...]
  /external/webkit/SunSpider/tests/sunspider-0.9.1/
string-unpack-code.js     [all...]

Completed in 784 milliseconds