/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFloatMath.java | 37 public static float sin(float angle) { 38 return (float) Math.sin(angle); 42 public static float cos(float angle) { 43 return (float) Math.cos(angle);
|
/external/skia/gm/ |
stringart.cpp | 35 SkScalar angle = kAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); local 39 SkScalar step = angle; 49 length += SkScalarDiv(angle, SkScalarHalf(SK_ScalarPI)); 50 step += angle;
|
/external/chromium_org/third_party/WebKit/Source/platform/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)); 47 double angle() const { return m_angle; } function in class:WebCore::RotateTransformOperation 69 RotateTransformOperation(double x, double y, double z, double angle, OperationType type) 73 , m_angle(angle)
|
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
TestDoppler.java | 54 private float angle = FastMath.TWO_PI; field in class:TestDoppler 77 //float x = (float) (Math.cos(angle) * xDist); 78 float dx = (float) Math.sin(angle) * xDist; 80 //float z = (float) (Math.sin(angle) * zDist); 81 float dz = (float)(-Math.cos(angle) * zDist); 86 angle += tpf * rate; 88 if (angle > FastMath.TWO_PI){ 89 angle = FastMath.TWO_PI; 91 }else if (angle < -0){ 92 angle = -0 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPathSegArc.h | 30 SVGPathSegArc(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 36 , m_angle(angle) 70 float angle() const { return m_angle; } function in class:WebCore::SVGPathSegArc 71 void setAngle(float angle) 73 m_angle = angle;
|
SVGTransformDistance.cpp | 38 SVGTransformDistance::SVGTransformDistance(SVGTransform::SVGTransformType type, float angle, float cx, float cy, const AffineTransform& transform) 40 , m_angle(angle) 62 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); 80 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); 123 transform.setRotate(first.angle() + second.angle() * repeatCount, first.rotationCenter().x() + second.rotationCenter().x() * repeatCount, first.rotationCenter().y() + second.rotationCenter().y() * repeatCount); 140 transform.setSkewX(first.angle() + second.angle() * repeatCount) [all...] |
SVGPathSegArcAbs.h | 31 static PassRefPtr<SVGPathSegArcAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 33 return adoptRef(new SVGPathSegArcAbs(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)); 37 SVGPathSegArcAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 38 : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
|
SVGPathSegArcRel.h | 31 static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 33 return adoptRef(new SVGPathSegArcRel(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)); 37 SVGPathSegArcRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 38 : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
|
SVGTransform.idl | 34 readonly attribute float angle; 39 [StrictTypeChecking] void setRotate(float angle, float cx, float cy); 40 [StrictTypeChecking] void setSkewX(float angle); 41 [StrictTypeChecking] void setSkewY(float 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/chromium_org/third_party/angle/samples/gles2_book/Simple_VertexShader/ |
Simple_VertexShader.c | 35 // Rotation angle 36 GLfloat angle; member in struct:__anon11043 76 // Starting rotation angle for the cube 77 userData->angle = 45.0f; 94 // Compute a rotation angle based on time to rotate the cube 95 userData->angle += ( deltaTime * 40.0f ); 96 if( userData->angle >= 360.0f ) 97 userData->angle -= 360.0f; 113 esRotate( &modelview, userData->angle, 1.0, 0.0, 1.0 );
|
/external/eigen/unsupported/test/ |
matrix_exponential.cpp | 37 T angle; local 42 angle = static_cast<T>(pow(10, i / 5. - 2)); 43 B << std::cos(angle), std::sin(angle), -std::sin(angle), std::cos(angle); 45 C = (angle*A).matrixFunction(expfn); 49 C = (angle*A).exp(); 60 T angle, ch, sh; local 64 angle = static_cast<T>((i-10) / 2.0) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/ |
CustomFilterGlobalContext.h | 33 #include "platform/graphics/angle/ANGLEPlatformBridge.h" 55 // This ANGLE validator uses the SH_WEBGL_SPEC flag. 59 // This ANGLE validator uses the SH_CSS_SHADERS_SPEC flag. 64 // - In the translated source that ANGLE returns, ANGLE renames the author's "main" function to "css_main". 65 // The complete details are documented in ANGLE/ShaderLang.h.
|
/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/chromium_org/third_party/angle/src/ |
build_angle.gyp | 1 # Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
|
/external/chromium_org/third_party/angle/src/common/ |
system.h | 2 // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
|
/external/chromium_org/third_party/angle/src/compiler/ |
HashNames.h | 2 // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
|
OutputESSL.h | 2 // Copyright (c) 2002-2011 The ANGLE Project Authors. All rights reserved.
|
OutputGLSL.h | 2 // Copyright (c) 2002-2011 The ANGLE Project Authors. All rights reserved.
|
Pragma.h | 2 // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
|
TranslatorESSL.h | 2 // Copyright (c) 2002-2011 The ANGLE Project Authors. All rights reserved.
|
TranslatorGLSL.h | 2 // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.
|
Uniform.cpp | 2 // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
|
glslang.h | 2 // Copyright (c) 2010 The ANGLE Project Authors. All rights reserved.
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
ExpressionParser.h | 2 // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
|