Home
last modified time | relevance | path

Searched refs:angle (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/external/freetype/src/autofit/
Dafangles.c108 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;
134 return angle;
187 AF_Angle angle; in af_angle_atan() local
193 angle = 0; in af_angle_atan()
195 angle = AF_ANGLE_PI; in af_angle_atan()
[all …]
/external/mesa3d/src/glsl/builtins/ir/
Dtan4 (declare (in) float angle))
5 …rn (expression float / (expression float sin (var_ref angle)) (expression float cos (var_ref angle
9 (declare (in) vec2 angle))
10 …eturn (expression vec2 / (expression vec2 sin (var_ref angle)) (expression vec2 cos (var_ref angle
14 (declare (in) vec3 angle))
15 …eturn (expression vec3 / (expression vec3 sin (var_ref angle)) (expression vec3 cos (var_ref angle
19 (declare (in) vec4 angle))
20 …eturn (expression vec4 / (expression vec4 sin (var_ref angle)) (expression vec4 cos (var_ref angle
Dsin4 (declare (in) float angle))
6 (return (expression float sin (var_ref angle)))
12 (declare (in) vec2 angle))
15 (assign (constant bool (1)) (x) (var_ref ret) (call sin ((swiz x (var_ref angle)))))
16 (assign (constant bool (1)) (y) (var_ref ret) (call sin ((swiz y (var_ref angle)))))
23 (declare (in) vec3 angle))
26 (assign (constant bool (1)) (x) (var_ref ret) (call sin ((swiz x (var_ref angle)))))
27 (assign (constant bool (1)) (y) (var_ref ret) (call sin ((swiz y (var_ref angle)))))
28 (assign (constant bool (1)) (z) (var_ref ret) (call sin ((swiz z (var_ref angle)))))
35 (declare (in) vec4 angle))
[all …]
Dcos4 (declare (in) float angle))
5 ((return (expression float cos (var_ref angle)))))
9 (declare (in) vec2 angle))
10 ((return (expression vec2 cos (var_ref angle)))))
14 (declare (in) vec3 angle))
15 ((return (expression vec3 cos (var_ref angle)))))
19 (declare (in) vec4 angle))
20 ((return (expression vec4 cos (var_ref angle)))))
/external/webkit/Source/WebCore/svg/
DSVGPathSegArc.h31 …element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag… in SVGPathSegArc() argument
37 , m_angle(angle) in SVGPathSegArc()
71 float angle() const { return m_angle; } in angle() function
72 void setAngle(float angle) in setAngle() argument
74 m_angle = angle; in setAngle()
105 …element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag… in create() argument
107 …return adoptRef(new SVGPathSegArcAbs(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)); in create()
111 …element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag… in SVGPathSegArcAbs() argument
112 : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag) in SVGPathSegArcAbs()
122 …element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag… in create() argument
[all …]
DSVGTransformDistance.cpp41 SVGTransformDistance::SVGTransformDistance(SVGTransform::SVGTransformType type, float angle, float … in SVGTransformDistance() argument
43 , m_angle(angle) in SVGTransformDistance()
66 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); in SVGTransformDistance()
84 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); in SVGTransformDistance()
124 …transform.setRotate(first.angle() + second.angle(), first.rotationCenter().x() + second.rotationCe… in addSVGTransforms()
143 transform.setSkewX(first.angle() + second.angle()); in addSVGTransforms()
146 transform.setSkewY(first.angle() + second.angle()); in addSVGTransforms()
169 m_angle += absoluteValue ? fabsf(transform.angle()) : transform.angle(); in addSVGTransform()
187 m_angle += absoluteValue ? fabsf(transform.angle()) : transform.angle(); in addSVGTransform()
221 newTransform.setRotate(transform.angle() + m_angle, in addToSVGTransform()
[all …]
DSVGTransform.cpp101 void SVGTransform::setRotate(float angle, float cx, float cy) in setRotate() argument
104 m_angle = angle; in setRotate()
110 m_matrix.rotate(angle); in setRotate()
114 void SVGTransform::setSkewX(float angle) in setSkewX() argument
117 m_angle = angle; in setSkewX()
120 m_matrix.skewX(angle); in setSkewX()
123 void SVGTransform::setSkewY(float angle) in setSkewY() argument
126 m_angle = angle; in setSkewY()
129 m_matrix.skewY(angle); in setSkewY()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DWireSphere.java110 float angle = 0; in updatePositions() local
112 float x = radius * FastMath.cos(angle); in updatePositions()
113 float y = radius * FastMath.sin(angle); in updatePositions()
115 angle += rate; in updatePositions()
118 angle = 0; in updatePositions()
120 float x = radius * FastMath.cos(angle); in updatePositions()
121 float y = radius * FastMath.sin(angle); in updatePositions()
123 angle += rate; in updatePositions()
134 angle = 0; in updatePositions()
137 float x = radius * FastMath.cos(angle); in updatePositions()
[all …]
/external/webkit/Source/WebCore/css/
DWebKitCSSMatrix.cpp146 …WebKitCSSMatrix> WebKitCSSMatrix::rotateAxisAngle(double x, double y, double z, double angle) const in rotateAxisAngle()
154 if (isnan(angle)) in rotateAxisAngle()
155 angle = 0; in rotateAxisAngle()
158 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(x, y, z, angle)); in rotateAxisAngle()
161 PassRefPtr<WebKitCSSMatrix> WebKitCSSMatrix::skewX(double angle) const in skewX()
163 if (isnan(angle)) in skewX()
164 angle = 0; in skewX()
165 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).skewX(angle)); in skewX()
168 PassRefPtr<WebKitCSSMatrix> WebKitCSSMatrix::skewY(double angle) const in skewY()
170 if (isnan(angle)) in skewY()
[all …]
DSVGCSSStyleSelector.cpp65 static float roundToNearestGlyphOrientationAngle(float angle) in roundToNearestGlyphOrientationAngle() argument
67 angle = fabsf(fmodf(angle, 360.0f)); in roundToNearestGlyphOrientationAngle()
69 if (angle <= 45.0f || angle > 315.0f) in roundToNearestGlyphOrientationAngle()
71 else if (angle > 45.0f && angle <= 135.0f) in roundToNearestGlyphOrientationAngle()
73 else if (angle > 135.0f && angle <= 225.0f) in roundToNearestGlyphOrientationAngle()
79 static int angleToGlyphOrientation(float angle) in angleToGlyphOrientation() argument
81 angle = roundToNearestGlyphOrientationAngle(angle); in angleToGlyphOrientation()
83 if (angle == 0.0f) in angleToGlyphOrientation()
85 else if (angle == 90.0f) in angleToGlyphOrientation()
87 else if (angle == 180.0f) in angleToGlyphOrientation()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/audio/
DTestDoppler.java54 private float angle = FastMath.TWO_PI; field in TestDoppler
78 float dx = (float) Math.sin(angle) * xDist; in simpleUpdate()
81 float dz = (float)(-Math.cos(angle) * zDist); in simpleUpdate()
86 angle += tpf * rate; in simpleUpdate()
88 if (angle > FastMath.TWO_PI){ in simpleUpdate()
89 angle = FastMath.TWO_PI; in simpleUpdate()
91 }else if (angle < -0){ in simpleUpdate()
92 angle = -0; in simpleUpdate()
/external/freetype/include/freetype/
Dfttrigon.h124 FT_Sin( FT_Angle angle );
148 FT_Cos( FT_Angle angle );
168 FT_Tan( FT_Angle angle );
245 FT_Angle angle );
267 FT_Angle angle );
314 FT_Angle *angle );
340 FT_Angle angle );
/external/eigen/unsupported/test/
Dmatrix_exponential.cpp37 T angle; in test2dRotation() local
42 angle = static_cast<T>(pow(10, i / 5. - 2)); in test2dRotation()
43 B << std::cos(angle), std::sin(angle), -std::sin(angle), std::cos(angle); in test2dRotation()
45 C = (angle*A).matrixFunction(expfn); in test2dRotation()
49 C = (angle*A).exp(); in test2dRotation()
60 T angle, ch, sh; in test2dHyperbolicRotation() local
64 angle = static_cast<T>((i-10) / 2.0); in test2dHyperbolicRotation()
65 ch = std::cosh(angle); in test2dHyperbolicRotation()
66 sh = std::sinh(angle); in test2dHyperbolicRotation()
67 A << 0, angle*imagUnit, -angle*imagUnit, 0; in test2dHyperbolicRotation()
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
DTestOgreComplexAnim.java52 private float angle = 0; field in TestOgreComplexAnim
121 angle += tpf * rate; in simpleUpdate()
122 if (angle > FastMath.HALF_PI / 2f){ in simpleUpdate()
123 angle = FastMath.HALF_PI / 2f; in simpleUpdate()
125 }else if (angle < -FastMath.HALF_PI / 2f){ in simpleUpdate()
126 angle = -FastMath.HALF_PI / 2f; in simpleUpdate()
131 q.fromAngles(0, angle, 0); in simpleUpdate()
137 … b2.setUserTransforms(Vector3f.ZERO, Quaternion.IDENTITY, new Vector3f(1+angle,1+ angle, 1+angle)); in simpleUpdate()
/external/webkit/Source/WebCore/platform/graphics/transforms/
DRotateTransformOperation.h34 static PassRefPtr<RotateTransformOperation> create(double angle, OperationType type) in create() argument
36 return adoptRef(new RotateTransformOperation(0, 0, 1, angle, type)); in create()
39 …static PassRefPtr<RotateTransformOperation> create(double x, double y, double z, double angle, Ope… in create() argument
41 return adoptRef(new RotateTransformOperation(x, y, z, angle, type)); in create()
47 double angle() const { return m_angle; } in angle() function
71 RotateTransformOperation(double x, double y, double z, double angle, OperationType type) in RotateTransformOperation() argument
75 , m_angle(angle) in RotateTransformOperation()
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutEngineBaseline.cpp185 …AdvanceAndOrientation(bool isVerticalText, SVGTextMetrics& metrics, float angle, float& xOrientati… in calculateGlyphAdvanceAndOrientation() argument
187 bool orientationIsMultiplyOf180Degrees = glyphOrientationIsMultiplyOf180Degrees(angle); in calculateGlyphAdvanceAndOrientation()
202 if (!angle) { in calculateGlyphAdvanceAndOrientation()
205 } else if (angle == 180) in calculateGlyphAdvanceAndOrientation()
207 else if (angle == 270) { in calculateGlyphAdvanceAndOrientation()
213 if (angle && !orientationIsMultiplyOf180Degrees) in calculateGlyphAdvanceAndOrientation()
220 if (angle == 90) in calculateGlyphAdvanceAndOrientation()
222 else if (angle == 180) { in calculateGlyphAdvanceAndOrientation()
225 } else if (angle == 270) in calculateGlyphAdvanceAndOrientation()
229 if (angle && !orientationIsMultiplyOf180Degrees) in calculateGlyphAdvanceAndOrientation()
/external/freetype/src/base/
Dfttrigon.c333 FT_Cos( FT_Angle angle ) in FT_Cos() argument
340 ft_trig_pseudo_rotate( &v, angle ); in FT_Cos()
349 FT_Sin( FT_Angle angle ) in FT_Sin() argument
351 return FT_Cos( FT_ANGLE_PI2 - angle ); in FT_Sin()
358 FT_Tan( FT_Angle angle ) in FT_Tan() argument
365 ft_trig_pseudo_rotate( &v, angle ); in FT_Tan()
396 FT_Angle angle ) in FT_Vector_Unit() argument
400 ft_trig_pseudo_rotate( vec, angle ); in FT_Vector_Unit()
418 FT_Angle angle ) in FT_Vector_Rotate() argument
427 if ( angle && ( v.x != 0 || v.y != 0 ) ) in FT_Vector_Rotate()
[all …]
/external/quake/quake/src/WinQuake/
Dr_bsp.cpp81 float angle, s, c, temp1[3][3], temp2[3][3], temp3[3][3]; in R_RotateBmodel() local
89 angle = currententity->angles[YAW]; in R_RotateBmodel()
90 angle = angle * M_PI*2 / 360; in R_RotateBmodel()
91 s = sin(angle); in R_RotateBmodel()
92 c = cos(angle); in R_RotateBmodel()
106 angle = currententity->angles[PITCH]; in R_RotateBmodel()
107 angle = angle * M_PI*2 / 360; in R_RotateBmodel()
108 s = sin(angle); in R_RotateBmodel()
109 c = cos(angle); in R_RotateBmodel()
124 angle = currententity->angles[ROLL]; in R_RotateBmodel()
[all …]
/external/quake/quake/src/QW/client/
Dr_bsp.c81 float angle, s, c, temp1[3][3], temp2[3][3], temp3[3][3]; in R_RotateBmodel() local
89 angle = currententity->angles[YAW]; in R_RotateBmodel()
90 angle = angle * M_PI*2 / 360; in R_RotateBmodel()
91 s = sin(angle); in R_RotateBmodel()
92 c = cos(angle); in R_RotateBmodel()
106 angle = currententity->angles[PITCH]; in R_RotateBmodel()
107 angle = angle * M_PI*2 / 360; in R_RotateBmodel()
108 s = sin(angle); in R_RotateBmodel()
109 c = cos(angle); in R_RotateBmodel()
124 angle = currententity->angles[ROLL]; in R_RotateBmodel()
[all …]
/external/webkit/Source/WebCore/webaudio/
DAudioPannerNode.h104 void setConeInnerAngle(float angle) { m_coneEffect.setInnerAngle(angle); } in setConeInnerAngle() argument
107 void setConeOuterAngle(float angle) { m_coneEffect.setOuterAngle(angle); } in setConeOuterAngle() argument
110 void setConeOuterGain(float angle) { m_coneEffect.setOuterGain(angle); } in setConeOuterGain() argument
/external/jmonkeyengine/engine/src/test/jme3test/effect/
DTestMovingParticle.java52 private float angle = 0; field in TestMovingParticle
88 angle += tpf; in simpleUpdate()
89 angle %= FastMath.TWO_PI; in simpleUpdate()
90 float x = FastMath.cos(angle) * 2; in simpleUpdate()
91 float y = FastMath.sin(angle) * 2; in simpleUpdate()
/external/jmonkeyengine/engine/src/test/jme3test/material/
DTestNormalMapping.java48 float angle; field in TestNormalMapping
86 angle += tpf * 0.25f; in simpleUpdate()
87 angle %= FastMath.TWO_PI; in simpleUpdate()
89 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f)); in simpleUpdate()
DTestSimpleBumps.java50 float angle; field in TestSimpleBumps
86 angle += tpf * 0.25f; in simpleUpdate()
87 angle %= FastMath.TWO_PI; in simpleUpdate()
89 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f)); in simpleUpdate()
/external/mesa3d/src/glsl/builtins/profiles/
D100.frag15 float sin(float angle);
16 vec2 sin(vec2 angle);
17 vec3 sin(vec3 angle);
18 vec4 sin(vec4 angle);
20 float cos(float angle);
21 vec2 cos(vec2 angle);
22 vec3 cos(vec3 angle);
23 vec4 cos(vec4 angle);
25 float tan(float angle);
26 vec2 tan(vec2 angle);
[all …]
D100.vert15 float sin(float angle);
16 vec2 sin(vec2 angle);
17 vec3 sin(vec3 angle);
18 vec4 sin(vec4 angle);
20 float cos(float angle);
21 vec2 cos(vec2 angle);
22 vec3 cos(vec3 angle);
23 vec4 cos(vec4 angle);
25 float tan(float angle);
26 vec2 tan(vec2 angle);
[all …]

12345678910>>...12