/frameworks/base/core/java/android/util/ |
FloatMath.java | 53 * @param angle to compute the cosine of, in radians 54 * @return the sine of angle 56 public static native float sin(float angle); 61 * @param angle to compute the cosine of, in radians 62 * @return the cosine of angle 64 public static native float cos(float angle);
|
/external/webkit/WebCore/svg/ |
SVGPathSegArc.cpp | 28 SVGPathSegArcAbs::SVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 29 : SVGPathSegArc(x, y, r1, r2, angle, largeArcFlag, sweepFlag) 33 SVGPathSegArcRel::SVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 34 : SVGPathSegArc(x, y, r1, r2, angle, largeArcFlag, sweepFlag)
|
SVGTransform.h | 54 float angle() const; 61 void setRotate(float angle, float cx, float cy); 62 void setSkewX(float angle); 63 void setSkewY(float angle); 80 return a.type() == b.type() && a.angle() == b.angle() && a.matrix() == b.matrix();
|
SVGPathSegArc.h | 32 SVGPathSegArc(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 33 : m_x(x), m_y(y), m_r1(r1), m_r2(r2), m_angle(angle), m_largeArcFlag(largeArcFlag), m_sweepFlag(sweepFlag) {} 49 void setAngle(float angle) { m_angle = angle; } 50 float angle() const { return m_angle; } function in class:WebCore::SVGPathSegArc 71 static PassRefPtr<SVGPathSegArcAbs> create(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 73 return adoptRef(new SVGPathSegArcAbs(x, y, r1, r2, angle, largeArcFlag, sweepFlag)); 80 SVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag); 85 static PassRefPtr<SVGPathSegArcRel> create(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 87 return adoptRef(new SVGPathSegArcRel(x, y, r1, r2, angle, largeArcFlag, sweepFlag)) [all...] |
SVGTransform.idl | 36 readonly attribute float angle; 41 void setRotate(in float angle, in float cx, in float cy); 42 void setSkewX(in float angle); 43 void setSkewY(in float angle);
|
SVGTransform.cpp | 74 float SVGTransform::angle() const function in class:SVGTransform 121 void SVGTransform::setRotate(float angle, float cx, float cy) 124 m_angle = angle; 130 m_matrix.rotate(angle); 134 void SVGTransform::setSkewX(float angle) 137 m_angle = angle; 140 m_matrix.skewX(angle); 143 void SVGTransform::setSkewY(float angle) 146 m_angle = angle; 149 m_matrix.skewY(angle); [all...] |
SVGPathSegArcAbs.idl | 38 attribute float angle
|
SVGPathSegArcRel.idl | 38 attribute float angle
|
SVGMatrix.idl | 41 [Immutable] SVGMatrix rotate(in float angle); 46 [Immutable] SVGMatrix skewX(in float angle); 47 [Immutable] SVGMatrix skewY(in float angle);
|
SVGTransformDistance.cpp | 43 SVGTransformDistance::SVGTransformDistance(SVGTransform::SVGTransformType type, float angle, float cx, float cy, const AffineTransform& transform) 45 , m_angle(angle) 69 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); 89 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); 131 transform.setRotate(first.angle() + second.angle(), first.rotationCenter().x() + second.rotationCenter().x(), 152 transform.setSkewX(first.angle() + second.angle()); [all...] |
/external/freetype/include/freetype/ |
fttrigon.h | 48 * This type is used to model angle values in FreeType. Note that the 49 * angle is a 16.16 fixed float 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, use th 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/autofit/ |
afangles.c | 93 * The trick here is to realize that we don't need a very accurate angle 95 * only compare the sign of angle differences, or check whether its 108 AF_Angle angle; 121 angle = 0; 124 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay ); 127 if ( angle >= 0 ) 128 angle = AF_ANGLE_PI - angle; 130 angle = -AF_ANGLE_PI - angle; 187 AF_Angle angle; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
FloatMath_Delegate.java | 64 * @param angle to compute the cosine of, in radians 65 * @return the sine of angle 68 /*package*/ static float sin(float angle) { 69 return (float)Math.sin(angle); 75 * @param angle to compute the cosine of, in radians 76 * @return the cosine of angle 79 /*package*/ static float cos(float angle) { 80 return (float)Math.cos(angle);
|
/external/webkit/WebCore/platform/graphics/transforms/ |
RotateTransformOperation.h | 34 static PassRefPtr<RotateTransformOperation> create(double angle, OperationType type) 36 return adoptRef(new RotateTransformOperation(0, 0, 1, angle, type)); 39 static PassRefPtr<RotateTransformOperation> create(double x, double y, double z, double angle, OperationType type) 41 return adoptRef(new RotateTransformOperation(x, y, z, angle, type)); 44 double angle() const { return m_angle; } function in class:WebCore::RotateTransformOperation 68 RotateTransformOperation(double x, double y, double z, double angle, OperationType type) 72 , m_angle(angle)
|
RotateTransformOperation.cpp | 75 // Convert that to Axis/Angle form 80 double angle = 0; local 86 angle = rad2deg(acos(decomp.quaternionW) * 2); 92 return RotateTransformOperation::create(x, y, z, angle, ROTATE_3D);
|
/external/webkit/WebCore/svg/graphics/ |
SVGResourceMarker.h | 51 void setAngle(float angle) { m_angle = angle; } 53 float angle() const { return m_angle; } function in class:WebCore::SVGResourceMarker 58 AffineTransform markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const;
|
SVGResourceMarker.cpp | 51 AffineTransform SVGResourceMarker::markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const 57 transform.rotate(m_angle == -1 ? angle : m_angle); 89 << " [angle="; 91 if (angle() == -1) 94 ts << angle() << "]";
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Layer.java | 45 public void setAngle(float angle) { 46 // normalize the angle 48 while (angle >= twopi) angle -= twopi; 49 while (angle < 0f) angle += twopi; 50 // mAngle = angle; 52 float sin = (float)Math.sin(angle); 53 float cos = (float)Math.cos(angle);
|
/external/webkit/WebCore/rendering/ |
SVGMarkerData.h | 58 double angle = 0; local 61 angle = outslope; 64 angle = (inslope + outslope) / 2; 67 angle = inslope; 74 return narrowPrecisionToFloat(angle);
|
/frameworks/base/opengl/libagl/ |
fp.cpp | 62 // scale angle for easy argument reduction 79 void sincosf(GLfloat angle, GLfloat* s, GLfloat* c) { 80 *s = sinef(angle); 81 *c = cosinef(angle);
|
/packages/apps/Phone/src/com/android/phone/ |
AccelerometerListener.java | 124 // compute the vertical angle 125 double angle = Math.atan2(xy, z); local 127 angle = angle * 180.0 / Math.PI; 128 int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); 129 if (VDEBUG) Log.d(TAG, "angle: " + angle + " orientation: " + orientation);
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
VUMeter.java | 62 float angle = minAngle; local 64 angle += (float)(maxAngle - minAngle)*mRecorder.getMaxAmplitude()/32768; 66 if (angle > mCurrentAngle) 67 mCurrentAngle = angle; 69 mCurrentAngle = Math.max(angle, mCurrentAngle - DROPOFF_STEP);
|
/external/quake/quake/src/QW/client/ |
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/ |
r_bsp.cpp | 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/webkit/WebCore/css/ |
SVGCSSStyleSelector.cpp | 64 static float roundToNearestGlyphOrientationAngle(float angle) 66 angle = fabsf(fmodf(angle, 360.0f)); 68 if (angle <= 45.0f || angle > 315.0f) 70 else if (angle > 45.0f && angle <= 135.0f) 72 else if (angle > 135.0f && angle <= 225.0f) 78 static int angleToGlyphOrientation(float angle) [all...] |