| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| ColorPickerDialog.java | 187 float angle = (float)java.lang.Math.atan2(y, x); local 188 // need to turn angle [-PI ... PI] into unit [0....1] 189 float unit = angle/(2*PI);
|
| StaticTriangleRenderer.java | 160 float angle = 0.090f * ((int) time); local 162 glRotatef(angle, 0, 0, 1.0f);
|
| TriangleRenderer.java | 147 float angle = 0.090f * ((int) time); local 149 gl.glRotatef(angle, 0, 0, 1.0f);
|
| FrameBufferObjectActivity.java | 123 float angle = 0.090f * ((int) time); local 125 gl.glRotatef(angle, 0, 0, 1.0f);
|
| GLES20TriangleRenderer.java | 74 float angle = 0.090f * ((int) time); local 75 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f);
|
| /development/tools/emulator/opengl/tests/translator_tests/GLES_CM/ |
| triangleCM.cpp | 326 float angle = 0.0; local 368 glRotatef(angle, 0.0, 0.0, 1.0); 369 angle += 360.0 / nframes;
|
| /device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
| ColorWheel.java | 204 float angle = (float)java.lang.Math.atan2(y, x); local 205 // need to turn angle [-PI ... PI] into unit [0....1] 206 float unit = angle/(2*PI);
|
| /external/bluetooth/bluez/compat/ |
| fakehid.c | 211 double angle; local 214 angle = (direction * 22.5) * 3.1415926 / 180; 215 x = (int) (sin(angle) * 8); 216 y = (int) (cos(angle) * -8);
|
| /external/icu4c/test/intltest/ |
| astrotst.cpp | 451 // Moon phase angle - Got from http://www.moonsystem.to/checkupe.htm 452 static const double angle[] = {356.8493418421329, 356.8386760059673, 0.09625415252237701, 355.9986960782416, 3.5714026601303317, 124.26906744384183, 59.80247650195558, local 462 double expectedAge = (angle[i]*CalendarAstronomer::PI)/180;
|
| /external/opencv/cv/src/ |
| cvgeometry.cpp | 93 double angle = box.angle*CV_PI/180.; local 94 float a = (float)cos(angle)*0.5f; 95 float b = (float)sin(angle)*0.5f; 496 // calculate the euler angle
|
| cvmotempl.cpp | 286 double angle = 0; local 404 angle = base_orient; 409 return angle;
|
| /external/quake/quake/src/QW/client/ |
| mathlib.c | 292 float angle; local 295 angle = angles[YAW] * (M_PI*2 / 360); 296 sy = sin(angle); 297 cy = cos(angle); 298 angle = angles[PITCH] * (M_PI*2 / 360); 299 sp = sin(angle); 300 cp = cos(angle); 301 angle = angles[ROLL] * (M_PI*2 / 360); 302 sr = sin(angle); 303 cr = cos(angle); [all...] |
| r_sprite.c | 291 float dot, angle, sr, cr; local 380 // angle. So vpn stays the same, but vright and vup rotate 381 angle = currententity->angles[ROLL] * (M_PI*2 / 360); 382 sr = sin(angle); 383 cr = cos(angle);
|
| r_bsp.c | 81 float angle, s, c, temp1[3][3], temp2[3][3], temp3[3][3]; local 89 angle = currententity->angles[YAW]; 90 angle = angle * M_PI*2 / 360; 91 s = sin(angle); 92 c = cos(angle); 106 angle = currententity->angles[PITCH]; 107 angle = angle * M_PI*2 / 360; 108 s = sin(angle); [all...] |
| /external/quake/quake/src/WinQuake/ |
| mathlib.cpp | 294 float angle;
local 297 angle = angles[YAW] * (M_PI*2 / 360);
298 sy = sin(angle);
299 cy = cos(angle);
300 angle = angles[PITCH] * (M_PI*2 / 360);
301 sp = sin(angle);
302 cp = cos(angle);
303 angle = angles[ROLL] * (M_PI*2 / 360);
304 sr = sin(angle);
305 cr = cos(angle);
[all...] |
| r_sprite.cpp | 291 float dot, angle, sr, cr;
local 380 // angle. So vpn stays the same, but vright and vup rotate
381 angle = currententity->angles[ROLL] * (M_PI*2 / 360);
382 sr = sin(angle);
383 cr = cos(angle);
|
| sv_user.cpp | 377 the angle fields specify an exact angular motion in degrees 402 // show 1/3 the pitch angle and all the roll angle 441 vec3_t angle; local 451 angle[i] = MSG_ReadAngle (); 453 VectorCopy (angle, host_client->edict->u.v.v_angle);
|
| /external/webkit/Source/WebCore/platform/audio/ |
| HRTFElevation.cpp | 224 // Interpolate elevation angle. 225 double angle = (1.0 - x) * hrtfElevation1->elevationAngle() + x * hrtfElevation2->elevationAngle(); local 227 OwnPtr<HRTFElevation> hrtfElevation = adoptPtr(new HRTFElevation(kernelListL.release(), kernelListR.release(), static_cast<int>(angle), sampleRate));
|
| /external/webkit/Source/WebCore/platform/graphics/transforms/ |
| AffineTransform.cpp | 61 double angle = atan2(m.b(), m.a()); local 64 m.rotate(rad2deg(-angle)); 69 sr[2] = angle; 187 // angle is in degree. Switch to radian 263 AffineTransform& AffineTransform::skewX(double angle) 265 return shear(tan(deg2rad(angle)), 0); 268 AffineTransform& AffineTransform::skewY(double angle) 270 return shear(0, tan(deg2rad(angle)));
|
| /external/webkit/Source/WebCore/svg/ |
| SVGPathParser.cpp | 242 float angle; local 246 if (!m_source->parseArcToSegment(rx, ry, angle, largeArc, sweep, targetPoint)) 270 return decomposeArcToCubic(angle, rx, ry, point1, targetPoint, largeArc, sweep); 272 m_consumer->arcTo(rx, ry, angle, largeArc, sweep, targetPoint, m_mode); 404 bool SVGPathParser::decomposeArcToCubic(float angle, float rx, float ry, FloatPoint& point1, FloatPoint& point2, bool largeArcFlag, bool sweepFlag) 410 pointTransform.rotate(-angle); 428 pointTransform.rotate(-angle); 455 pointTransform.rotate(angle);
|
| /frameworks/base/core/java/android/view/ |
| OrientationEventListener.java | 125 // Don't trust the angle if the magnitude is small compared to the y value 128 float angle = (float)Math.atan2(-Y, X) * OneEightyOverPi; local 129 orientation = 90 - (int)Math.round(angle);
|
| /packages/apps/Camera/src/com/android/camera/ui/ |
| ZoomControlWheel.java | 95 double angle = Math.atan2(dy, dx); local 96 if (angle < 0) angle += (2 * Math.PI); 97 mSliderRadians = getSliderDrawAngle(angle); 123 // Rotate the wheel with the angle when the wheel is rotating or 181 public void rotate(double angle) { 182 mRotateAngle = angle;
|
| /development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
| GLES20TriangleRenderer.java | 72 float angle = 0.090f * ((int) time); local 73 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f);
|
| /external/opencv/cvaux/src/ |
| cvmorphcontours.cpp | 106 double angle( CvPoint2D32f A, CvPoint2D32f B ); 323 // Calculate angle 325 d_angle = angle(Q0,Q2); 340 d_nm_angle = angle(Q0,Q1_nm); 349 d_nm_angle = angle(Q0,Q2_nm); 358 d_nm_angle = angle(Q0,Q1_nm); 362 d_nm_angle = d_nm_angle + angle(Q0, Q2_nm); 366 d_nm_angle = d_nm_angle + angle(Q2,Q2_nm); 525 double angle(CvPoint2D32f A, CvPoint2D32f B) function
|
| cvscanlines.cpp | 1740 float angle; local 1828 float angle; local [all...] |