/external/freetype/include/freetype/ |
H A D | fttrigon.h | 48 * This type is used to model angle values in FreeType. Note that the 49 * angle is a 16.16 fixed-point value expressed in degrees. 61 * The angle pi expressed in @FT_Angle units. 73 * The angle 2*pi expressed in @FT_Angle units. 85 * The angle pi/2 expressed in @FT_Angle units. 97 * The angle pi/4 expressed in @FT_Angle units. 109 * Return the sinus of a given angle in fixed-point format. 112 * angle :: 113 * The input angle. 119 * If you need both the sinus and cosinus for a given angle, us 124 FT_Sin( FT_Angle angle ); variable 148 FT_Cos( FT_Angle angle ); variable 168 FT_Tan( FT_Angle angle ); variable [all...] |
/external/freetype/src/tools/ |
H A D | cordic.py | 17 angle = math.atan(x) # arctangent variable 18 angle2 = round(angle*scale) # arctangent in FT_Angle units
|
/external/eigen/demos/opengl/ |
H A D | trackball.cpp | 28 float angle = 2. * acos(cos_angle); local 30 mpCamera->rotateAroundTarget(Quaternionf(AngleAxisf(angle, axis))); 32 mpCamera->localRotate(Quaternionf(AngleAxisf(-angle, axis)));
|
H A D | gpuhelper.cpp | 67 float angle = 180.f/M_PI * acos(tmp.z()); local 68 if (angle>1e-3) 69 glRotatef(angle, ax.x(), ax.y(), ax.z()); 88 float angle = 180.f/M_PI * acos(tmp.z()); local 89 if (angle>1e-3) 90 glRotatef(angle, ax.x(), ax.y(), ax.z());
|
/external/freetype/src/autofit/ |
H A D | afangles.c | 33 * The trick here is to realize that we don't need a very accurate angle 35 * only compare the sign of angle differences, or check whether its 48 AF_Angle angle; 61 angle = 0; 64 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay ); 67 if ( angle >= 0 ) 68 angle = AF_ANGLE_PI - angle; 70 angle = -AF_ANGLE_PI - angle; 127 AF_Angle angle; local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowFloatMath.java | 37 public static float sin(float angle) { argument 38 return (float) Math.sin(angle); 42 public static float cos(float angle) { argument 43 return (float) Math.cos(angle);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowFloatMath.java | 37 public static float sin(float angle) { argument 38 return (float) Math.sin(angle); 42 public static float cos(float angle) { argument 43 return (float) Math.cos(angle);
|
/external/skia/samplecode/ |
H A D | SampleStringArt.cpp | 16 // generating an angle from 0 to 1. 33 SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); variable 37 SkScalar step = angle; 47 length += angle / SkScalarHalf(SK_ScalarPI); 48 step += angle;
|
/external/skqp/samplecode/ |
H A D | SampleStringArt.cpp | 16 // generating an angle from 0 to 1. 33 SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); variable 37 SkScalar step = angle; 47 length += angle / SkScalarHalf(SK_ScalarPI); 48 step += angle;
|
/external/skia/gm/ |
H A D | stringart.cpp | 39 SkScalar angle = kAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); variable 43 SkScalar step = angle; 52 length += angle / SkScalarHalf(SK_ScalarPI); 53 step += angle;
|
H A D | anisotropic.cpp | 44 SkScalar angle = 0.0f, sin, cos; variable 47 for (int i = 0; i < kNumLines; ++i, angle += kAngleStep) { 48 sin = SkScalarSinCos(angle, &cos);
|
H A D | tallstretchedbitmaps.cpp | 31 SkScalar angle = kStartAngle; local 50 canvas.drawArc(bounds, angle, kSweep, false, paint); 51 angle += kDAngle;
|
/external/skqp/gm/ |
H A D | stringart.cpp | 39 SkScalar angle = kAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); variable 43 SkScalar step = angle; 52 length += angle / SkScalarHalf(SK_ScalarPI); 53 step += angle;
|
H A D | anisotropic.cpp | 44 SkScalar angle = 0.0f, sin, cos; variable 47 for (int i = 0; i < kNumLines; ++i, angle += kAngleStep) { 48 sin = SkScalarSinCos(angle, &cos);
|
H A D | dashcircle.cpp | 61 SkScalar angle = 0; variable 66 refPath.arcTo(oval, angle, span, false); 68 angle += span + (dashExample.pattern[i2 + 1]) * unitLength;
|
H A D | tallstretchedbitmaps.cpp | 31 SkScalar angle = kStartAngle; local 50 canvas.drawArc(bounds, angle, kSweep, false, paint); 51 angle += kDAngle;
|
/external/eigen/unsupported/test/ |
H A D | matrix_exponential.cpp | 30 T angle; local 35 angle = static_cast<T>(pow(10, i / 5. - 2)); 36 B << std::cos(angle), std::sin(angle), -std::sin(angle), std::cos(angle); 38 C = (angle*A).matrixFunction(expfn); 42 C = (angle*A).exp(); 53 T angle, ch, sh; local 57 angle [all...] |
H A D | matrix_power.cpp | 16 T angle, c, s; local 22 angle = std::pow(T(10), (i-10) / T(5.)); 23 c = std::cos(angle); 24 s = std::sin(angle); 27 C = Apow(std::ldexp(angle,1) / T(EIGEN_PI)); 37 T angle, ch = std::cosh((T)1); local 44 angle = std::ldexp(static_cast<T>(i-10), -1); 45 ch = std::cosh(angle); 46 ish = std::complex<T>(0, std::sinh(angle)); 49 C = Apow(angle); 59 T angle; local [all...] |
/external/libchrome/base/ |
H A D | os_compat_android.cc | 65 // c = cos(angle); 66 // s = sin(angle); 71 // sincos(angle, &s, &c); 95 void sincos(double angle, double* s, double *c) { argument 96 *c = cos(angle); 97 *s = sin(angle); 101 void sincosf(float angle, float* s, float* c) { argument 102 *c = cosf(angle); 103 *s = sinf(angle);
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
H A D | covariance_matrix_generator.cc | 64 float angle, 81 angle, 95 float angle, 105 float distance = std::cos(angle) * geometry[c_ix].x() + 106 std::sin(angle) * geometry[c_ix].y(); 62 AngledCovarianceMatrix( float sound_speed, float angle, size_t frequency_bin, size_t fft_size, size_t num_freq_bins, int sample_rate, const std::vector<Point>& geometry, ComplexMatrix<float>* mat) argument 89 PhaseAlignmentMasks( size_t frequency_bin, size_t fft_size, int sample_rate, float sound_speed, const std::vector<Point>& geometry, float angle, ComplexMatrix<float>* mat) argument
|
/external/eigen/Eigen/src/Geometry/ |
H A D | AngleAxis.h | 19 * \brief Represents a 3D rotation as a rotation angle around an arbitrary 3D axis 73 /** Constructs and initialize the angle-axis rotation from an \a angle in radian 76 * \warning If the \a axis vector is not normalized, then the angle-axis object 80 inline AngleAxis(const Scalar& angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {} argument 81 /** Constructs and initialize the angle-axis rotation from a quaternion \a q. 86 /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. */ 90 /** \returns the value of the rotation angle in radian */ 91 EIGEN_DEVICE_FUNC Scalar angle() cons function in class:Eigen::AngleAxis 93 EIGEN_DEVICE_FUNC Scalar& angle() { return m_angle; } function in class:Eigen::AngleAxis [all...] |
H A D | Rotation2D.h | 24 * as a single angle in radian. It provides some additional features such as the automatic 61 /** Construct a 2D counter clock wise rotation from the angle \a a in radian. */ 77 /** \returns the rotation angle */ 78 EIGEN_DEVICE_FUNC inline Scalar angle() const { return m_angle; } function in class:Eigen::Rotation2D 80 /** \returns a read-write reference to the rotation angle */ 81 EIGEN_DEVICE_FUNC inline Scalar& angle() { return m_angle; } function in class:Eigen::Rotation2D 83 /** \returns the rotation angle in [0,2pi] */ 89 /** \returns the rotation angle in [-pi,pi] */ 117 * In other words, this function extract the rotation angle from the rotation matrix. 149 m_angle = Scalar(other.angle()); [all...] |
/external/libxcam/xcore/base/ |
H A D | xcam_common.h | 105 format_angle (float angle) argument 107 if (angle < 0.0f) 108 angle += 360.0f; 109 if (angle >= 360.0f) 110 angle -= 360.0f; 112 XCAM_ASSERT (angle >= 0.0f && angle < 360.0f); 113 return angle;
|
/external/libxcam/xcore/ |
H A D | surview_fisheye_dewarp.cpp | 156 float angle = atan(cam_coord.z / dist2center); local 166 p = p * angle;
|
/external/python/cpython2/Demo/classes/ |
H A D | Complex.py | 19 # the complex number z for which r == z.radius() and phi == z.angle(fullcircle) 26 # z.angle([fullcircle]) -> angle from positive X axis; fullcircle gives units 27 # z.phi([fullcircle]) == z.angle(fullcircle) 173 def angle(self, fullcircle = twopi): member in class:Complex 176 phi = angle 219 phi = n*self.angle()
|