Searched defs:angle (Results 26 - 50 of 164) sorted by relevance

1234567

/external/replicaisland/src/com/replica/replicaisland/
H A DLauncherComponent.java137 public void setup(float angle, float magnitude, float launchDelay, float postLaunchDelay, boolean driveActions) { argument
138 mAngle = angle;
/external/skia/experimental/skottie/
H A DSkottieProperties.cpp133 auto angle = SkDegreesToRadians(fRotation); local
134 poly.moveTo(pt_on_circle(fPosition, fOuterRadius, angle));
138 poly.lineTo(pt_on_circle(fPosition, fInnerRadius, angle + arc * 0.5f));
140 angle += arc;
141 poly.lineTo(pt_on_circle(fPosition, fOuterRadius, angle));
/external/skia/gm/
H A Dpolygons.cpp51 SkScalar angle = 2 * SK_ScalarPI * i / SK_ARRAY_COUNT(p4); variable
52 p4[i].set(20 * SkScalarCos(angle) + 20, 20 * SkScalarSin(angle) + 20);
H A Dstrokedlines.cpp24 static void draw_fins(SkCanvas* canvas, const SkPoint& offset, float angle, const SkPaint& paint) { argument
28 sin = SkScalarSinCos(angle + (SK_ScalarPI/4), &cos);
38 sin = SkScalarSinCos(angle - (SK_ScalarPI/4), &cos);
53 SkScalar sin, cos, angle = 0.0f; local
54 for (int i = 0; i < kNumSpokes/2; ++i, angle += SK_ScalarPI/(kNumSpokes/2)) {
55 sin = SkScalarSinCos(angle, &cos);
67 draw_fins(canvas, posOffset, angle, paint);
71 draw_fins(canvas, negOffset, angle+SK_ScalarPI, paint);
H A Dconvex_all_line_paths.cpp13 float angleStep = 360.0f / n, angle = 0.0f, sin, cos; local
15 angle = angleStep/2.0f;
19 sin = SkScalarSinCos(SkDegreesToRadians(angle), &cos);
22 angle += angleStep;
34 // narrow rect on an angle
H A Dconvexpolyclip.cpp110 SkScalar angle = 2 * SK_ScalarPI * i / 6; variable
112 point.fY = SkScalarSinCos(angle, &point.fX);
H A Dconvexpolyeffect.cpp140 SkScalar angle = 2 * SK_ScalarPI * i / GrConvexPolyEffect::kMaxEdges; variable
142 point.fY = SkScalarSinCos(angle, &point.fX);
H A Ddashcircle.cpp61 SkScalar angle = 0; variable
66 refPath.arcTo(oval, angle, span, false);
68 angle += span + (dashExample.pattern[i2 + 1]) * unitLength;
/external/skia/samplecode/
H A DSampleArc.cpp194 SkScalar angle = SkDoubleToScalar(fmod(timer.secs() * 360 / 24, 360)); variable
195 fAnimatingDrawable->setSweep(angle);
H A DSampleCircle.cpp81 SkScalar angle = 0; local
83 angle += step;
84 SkScalar c, s = SkScalarSinCos(angle, &c);
H A DSampleDither.cpp24 static void draw_sweep(SkCanvas* c, int width, int height, SkScalar angle) { argument
41 c->rotate(angle, r.centerX(), r.centerY());
/external/skqp/experimental/skottie/
H A DSkottieProperties.cpp133 auto angle = SkDegreesToRadians(fRotation); local
134 poly.moveTo(pt_on_circle(fPosition, fOuterRadius, angle));
138 poly.lineTo(pt_on_circle(fPosition, fInnerRadius, angle + arc * 0.5f));
140 angle += arc;
141 poly.lineTo(pt_on_circle(fPosition, fOuterRadius, angle));
/external/skqp/gm/
H A Dpolygons.cpp51 SkScalar angle = 2 * SK_ScalarPI * i / SK_ARRAY_COUNT(p4); variable
52 p4[i].set(20 * SkScalarCos(angle) + 20, 20 * SkScalarSin(angle) + 20);
H A Dstrokedlines.cpp24 static void draw_fins(SkCanvas* canvas, const SkPoint& offset, float angle, const SkPaint& paint) { argument
28 sin = SkScalarSinCos(angle + (SK_ScalarPI/4), &cos);
38 sin = SkScalarSinCos(angle - (SK_ScalarPI/4), &cos);
53 SkScalar sin, cos, angle = 0.0f; local
54 for (int i = 0; i < kNumSpokes/2; ++i, angle += SK_ScalarPI/(kNumSpokes/2)) {
55 sin = SkScalarSinCos(angle, &cos);
67 draw_fins(canvas, posOffset, angle, paint);
71 draw_fins(canvas, negOffset, angle+SK_ScalarPI, paint);
/external/skqp/samplecode/
H A DSampleArc.cpp194 SkScalar angle = SkDoubleToScalar(fmod(timer.secs() * 360 / 24, 360)); variable
195 fAnimatingDrawable->setSweep(angle);
H A DSampleCircle.cpp81 SkScalar angle = 0; local
83 angle += step;
84 SkScalar c, s = SkScalarSinCos(angle, &c);
H A DSampleDither.cpp24 static void draw_sweep(SkCanvas* c, int width, int height, SkScalar angle) { argument
41 c->rotate(angle, r.centerX(), r.centerY());
/external/swiftshader/tests/OGLSimpleCube/
H A DOGLSimpleCube.cpp43 float angle = 0.1f; variable
44 double theta = angle * PI / 180.0;
/external/swiftshader/third_party/PowerVR_SDK/Tools/
H A DPVRTVector.cpp144 @Input angle the angle of rotation
148 PVRTMat3 PVRTMat3::RotationX(VERTTYPE angle) argument
151 PVRTMatrixRotationX(out,angle);
156 @Input angle the angle of rotation
160 PVRTMat3 PVRTMat3::RotationY(VERTTYPE angle) argument
163 PVRTMatrixRotationY(out,angle);
168 @Input angle the angle o
172 RotationZ(VERTTYPE angle) argument
189 RotationX(VERTTYPE angle) argument
201 RotationY(VERTTYPE angle) argument
213 RotationZ(VERTTYPE angle) argument
[all...]
/external/webrtc/webrtc/modules/audio_processing/test/android/apmtest/jni/
H A Dmain.c36 float angle; member in struct:saved_state
117 engine->state.angle = 0;
138 glClearColor(((float)engine->state.x)/engine->width, engine->state.angle,
296 engine.state.angle += .01f;
297 if (engine.state.angle > 1) {
298 engine.state.angle = 0;
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DRotation.java30 * entities (matrices, axe and angle, Cardan or Euler angles,
152 /** Build a rotation from an axis and an angle.
156 * the axis and &pi;/2 as the angle to this constructor, and then
160 * of angle &theta; about the unit vector (x, y, z) is the same as the
163 * Note the minus sign on the angle!</p>
170 * @param angle rotation angle.
173 public Rotation(Vector3D axis, double angle) { argument
180 double halfAngle = -0.5 * angle;
440 * one with the smallest associated angle (
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dastrotst.cpp452 // Moon phase angle - Got from http://www.moonsystem.to/checkupe.htm
453 static const double angle[] = {356.8493418421329, 356.8386760059673, 0.09625415252237701, 355.9986960782416, 3.5714026601303317, 124.26906744384183, 59.80247650195558, local
463 double expectedAge = (angle[i]*CalendarAstronomer::PI)/180;
/external/libopus/src/
H A Danalysis.h50 #define TONALITY_ANALYSIS_RESET_START angle
51 float angle[240]; member in struct:__anon12272
/external/mesa3d/src/mesa/main/
H A Dmatrix.c400 * \param angle angle of rotation, in degrees.
412 _mesa_Rotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) argument
417 if (angle != 0.0F) {
418 _math_matrix_rotate( ctx->CurrentStack->Top, angle, x, y, z);
496 _mesa_Rotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) argument
498 _mesa_Rotatef((GLfloat) angle, (GLfloat) x, (GLfloat) y, (GLfloat) z);
/external/pdfium/core/fxge/
H A Dcfx_facecache.cpp202 int angle = pSubstFont ? pSubstFont->m_ItalicAngle : 0; local
205 std::make_tuple(glyph_index, dest_width, weight, angle, vertical);

Completed in 466 milliseconds

1234567