/external/skia/include/core/ |
D | SkScalar.h | 194 float SkScalarSinCos(SkScalar radians, SkScalar* cosValue); 195 #define SkScalarSin(radians) (float)sk_float_sin(radians) argument 196 #define SkScalarCos(radians) (float)sk_float_cos(radians) argument 197 #define SkScalarTan(radians) (float)sk_float_tan(radians) argument 268 #define SkScalarSinCos(radians, cosPtr) SkFixedSinCos(radians, cosPtr) argument 269 #define SkScalarSin(radians) SkFixedSin(radians) argument 270 #define SkScalarCos(radians) SkFixedCos(radians) argument
|
D | SkFixed.h | 142 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValueOrNull); 143 #define SkFixedSin(radians) SkFixedSinCos(radians, NULL) argument 144 inline SkFixed SkFixedCos(SkFixed radians) in SkFixedCos() argument 147 (void)SkFixedSinCos(radians, &cosValue); in SkFixedCos() 150 SkFixed SkFixedTan(SkFixed radians);
|
/external/skia/src/core/ |
D | SkMath.cpp | 400 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() argument 401 float sinValue = sk_float_sin(radians); in SkScalarSinCos() 404 *cosValue = sk_float_cos(radians); in SkScalarSinCos() 456 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) { in SkFixedSinCos() argument 470 int32_t sinSign = SkExtractSign(radians); in SkFixedSinCos() 471 radians = SkApplySign(radians, sinSign); in SkFixedSinCos() 475 radians = SkMulDiv(radians, 2 * kTableSize * 256, SK_FixedPI); in SkFixedSinCos() 476 int findex = radians & (kTableSize * 256 - 1); in SkFixedSinCos() 486 int quad = ((unsigned)radians / (kTableSize * 256)) & 3; in SkFixedSinCos() 488 radians = SkMulDiv(radians, 2 * kTableSize, SK_FixedPI); in SkFixedSinCos() [all …]
|
D | SkCordic.h | 21 SkFixed SkCordicSinCos(SkFixed radians, SkFixed* cosp);
|
D | SkCordic.cpp | 49 SkFixed SkCordicSinCos(SkFixed radians, SkFixed* cosp) in SkCordicSinCos() argument 51 int32_t scaledRadians = radians * 0x28be; // scale radians to 65536 / PI() in SkCordicSinCos()
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | FastMath.java | 494 public static float reduceSinAngle(float radians) { in reduceSinAngle() argument 495 radians %= TWO_PI; // put us in -2PI to +2PI space in reduceSinAngle() 496 if (Math.abs(radians) > PI) { // put us in -PI to +PI space in reduceSinAngle() 497 radians = radians - (TWO_PI); in reduceSinAngle() 499 if (Math.abs(radians) > HALF_PI) {// put us in -PI/2 to +PI/2 space in reduceSinAngle() 500 radians = PI - radians; in reduceSinAngle() 503 return radians; in reduceSinAngle()
|
/external/mesa3d/src/glsl/builtins/profiles/ |
D | 100.vert | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
D | 100.frag | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
D | 110.vert | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
D | 110.frag | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
D | 120.frag | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
D | 120.vert | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
D | 130.frag | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
D | 130.vert | 5 float radians(float degrees); 6 vec2 radians(vec2 degrees); 7 vec3 radians(vec3 degrees); 8 vec4 radians(vec4 degrees); 10 float degrees(float radians); 11 vec2 degrees(vec2 radians); 12 vec3 degrees(vec3 radians); 13 vec4 degrees(vec4 radians);
|
/external/skia/src/utils/ |
D | SkMatrix44.cpp | 163 SkMScalar radians) { in setRotateAbout() argument 175 this->setRotateAboutUnit(x, y, z, radians); in setRotateAbout() 179 SkMScalar radians) { in setRotateAboutUnit() argument 180 double c = cos(radians); in setRotateAboutUnit() 181 double s = sin(radians); in setRotateAboutUnit()
|
/external/mesa3d/src/glsl/builtins/ir/ |
D | radians | 1 ((function radians
|
/external/skia/include/utils/ |
D | SkMatrix44.h | 173 SkMScalar radians); 178 SkMScalar radians);
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
D | GraphicsContextOpenVG.cpp | 404 void GraphicsContext::rotate(float radians) in rotate() argument 409 m_data->rotate(radians); in rotate()
|
D | PainterOpenVG.h | 112 void rotate(float radians);
|
D | PainterOpenVG.cpp | 697 void PainterOpenVG::rotate(float radians) in rotate() argument 703 transformation.rotate(rad2deg(radians)); in rotate()
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
D | GraphicsContextCairo.cpp | 1083 void GraphicsContext::rotate(float radians) in rotate() argument 1088 cairo_rotate(platformContext()->cr(), radians); in rotate() 1089 m_data->rotate(radians); in rotate()
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | GraphicsContextHaiku.cpp | 406 void GraphicsContext::rotate(float radians) in rotate() argument
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | GraphicsContextWinCE.cpp | 204 void rotate(float radians) in rotate() argument 206 m_transform.rotate(rad2deg(radians)); in rotate() 1157 void GraphicsContext::rotate(float radians) in rotate() argument 1159 m_data->rotate(radians); in rotate()
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | GraphicsContextQt.cpp | 1152 void GraphicsContext::rotate(float radians) in rotate() argument 1157 m_data->p()->rotate(rad2deg(qreal(radians))); in rotate()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2007-10-14 | 33983 (WebCore::AffineTransform::rotate): Convert from degrees to radians to 33987 (WebCore::GraphicsContext::rotate): Rename parameter to "radians" to
|