Home
last modified time | relevance | path

Searched refs:radians (Results 1 – 25 of 47) sorted by relevance

12

/external/skia/src/core/
DSkMath.cpp162 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() argument
163 float sinValue = sk_float_sin(radians); in SkScalarSinCos()
166 *cosValue = sk_float_cos(radians); in SkScalarSinCos()
217 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) { in SkFixedSinCos() argument
231 int32_t sinSign = SkExtractSign(radians); in SkFixedSinCos()
232 radians = SkApplySign(radians, sinSign); in SkFixedSinCos()
236 radians = SkMulDiv(radians, 2 * kTableSize * 256, SK_FixedPI); in SkFixedSinCos()
237 int findex = radians & (kTableSize * 256 - 1); in SkFixedSinCos()
247 int quad = ((unsigned)radians / (kTableSize * 256)) & 3; in SkFixedSinCos()
249 radians = SkMulDiv(radians, 2 * kTableSize, SK_FixedPI); in SkFixedSinCos()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkMath.cpp162 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() argument
163 float sinValue = sk_float_sin(radians); in SkScalarSinCos()
166 *cosValue = sk_float_cos(radians); in SkScalarSinCos()
217 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) { in SkFixedSinCos() argument
231 int32_t sinSign = SkExtractSign(radians); in SkFixedSinCos()
232 radians = SkApplySign(radians, sinSign); in SkFixedSinCos()
236 radians = SkMulDiv(radians, 2 * kTableSize * 256, SK_FixedPI); in SkFixedSinCos()
237 int findex = radians & (kTableSize * 256 - 1); in SkFixedSinCos()
247 int quad = ((unsigned)radians / (kTableSize * 256)) & 3; in SkFixedSinCos()
249 radians = SkMulDiv(radians, 2 * kTableSize, SK_FixedPI); in SkFixedSinCos()
[all …]
/external/skia/include/core/
DSkScalar.h163 #define SkRadiansToDegrees(radians) ((radians) * (180 / SK_ScalarPI)) argument
164 float SkScalarSinCos(SkScalar radians, SkScalar* cosValue);
165 #define SkScalarSin(radians) (float)sk_float_sin(radians) argument
166 #define SkScalarCos(radians) (float)sk_float_cos(radians) argument
167 #define SkScalarTan(radians) (float)sk_float_tan(radians) argument
DSkFixed.h89 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValueOrNull);
90 #define SkFixedSin(radians) SkFixedSinCos(radians, NULL) argument
91 static inline SkFixed SkFixedCos(SkFixed radians) { in SkFixedCos() argument
93 (void)SkFixedSinCos(radians, &cosValue); in SkFixedCos()
/external/chromium_org/third_party/skia/include/core/
DSkScalar.h163 #define SkRadiansToDegrees(radians) ((radians) * (180 / SK_ScalarPI)) argument
164 float SkScalarSinCos(SkScalar radians, SkScalar* cosValue);
165 #define SkScalarSin(radians) (float)sk_float_sin(radians) argument
166 #define SkScalarCos(radians) (float)sk_float_cos(radians) argument
167 #define SkScalarTan(radians) (float)sk_float_tan(radians) argument
DSkFixed.h89 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValueOrNull);
90 #define SkFixedSin(radians) SkFixedSinCos(radians, NULL) argument
91 static inline SkFixed SkFixedCos(SkFixed radians) { in SkFixedCos() argument
93 (void)SkFixedSinCos(radians, &cosValue); in SkFixedCos()
/external/deqp/framework/common/
DtcuMatrixUtil.hpp37 Matrix<float, 2, 2> rotationMatrix (float radians);
57 inline Matrix<float, 2, 2> rotationMatrix (float radians) in rotationMatrix() argument
60 float c = deFloatCos(radians); in rotationMatrix()
61 float s = deFloatSin(radians); in rotationMatrix()
/external/chromium_org/ui/gfx/
Dtransform.cc31 double radians = degrees * M_PI / 180; in TanDegrees() local
32 return SkDoubleToMScalar(std::tan(radians)); in TanDegrees()
99 double radians = degrees * M_PI / 180; in RotateAboutXAxis() local
100 SkMScalar cosTheta = SkDoubleToMScalar(std::cos(radians)); in RotateAboutXAxis()
101 SkMScalar sinTheta = SkDoubleToMScalar(std::sin(radians)); in RotateAboutXAxis()
116 double radians = degrees * M_PI / 180; in RotateAboutYAxis() local
117 SkMScalar cosTheta = SkDoubleToMScalar(std::cos(radians)); in RotateAboutYAxis()
118 SkMScalar sinTheta = SkDoubleToMScalar(std::sin(radians)); in RotateAboutYAxis()
135 double radians = degrees * M_PI / 180; in RotateAboutZAxis() local
136 SkMScalar cosTheta = SkDoubleToMScalar(std::cos(radians)); in RotateAboutZAxis()
[all …]
/external/chromium_org/cc/animation/
Dtransform_operation.cc223 static float RadiansToDegrees(float radians) { in RadiansToDegrees() argument
224 return (180.f * radians) / M_PI; in RadiansToDegrees()
347 double radians = candidates[i]; in BoundingBoxForArc() local
348 while (radians < min_radians) in BoundingBoxForArc()
349 radians += 2.0 * M_PI; in BoundingBoxForArc()
350 while (radians > max_radians) in BoundingBoxForArc()
351 radians -= 2.0 * M_PI; in BoundingBoxForArc()
352 if (radians < min_radians) in BoundingBoxForArc()
356 rotation.RotateAbout(axis, RadiansToDegrees(radians)); in BoundingBoxForArc()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformOperations.cpp224 double radians = candidates[i]; in boundingBoxForArc() local
226 while (radians < minRadians) in boundingBoxForArc()
227 radians += 2.0 * M_PI; in boundingBoxForArc()
228 while (radians > maxRadians) in boundingBoxForArc()
229 radians -= 2.0 * M_PI; in boundingBoxForArc()
230 if (radians < minRadians) in boundingBoxForArc()
234 rotation.rotate3d(axis.x(), axis.y(), axis.z(), rad2deg(radians)); in boundingBoxForArc()
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/
D100.glsl5 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);
D110.glsl5 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);
D120.glsl5 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/mesa3d/src/glsl/builtins/profiles/
D100.glsl5 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);
D110.glsl5 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);
D120.glsl5 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/mesa3d/src/glsl/builtins/ir/
Dradians.ir1 ((function radians
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/
Dradians.ir1 ((function radians
/external/ceres-solver/data/nist/
DRoszman1.dat15 The argument to the ARCTAN function is in radians.
/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_controller_unittest.cc119 float radians = degrees * kDegreesToRadians; in OpenLidToAngle() local
122 kMeanGravity * cos(radians), in OpenLidToAngle()
123 kMeanGravity * sin(radians)); in OpenLidToAngle()
/external/arduino/hardware/arduino/cores/arduino/
Dwiring.h82 #define radians(deg) ((deg)*DEG_TO_RAD) macro
/external/skia/include/utils/
DSkMatrix44.h303 SkMScalar radians);
308 SkMScalar radians);
/external/chromium_org/third_party/skia/include/utils/
DSkMatrix44.h307 SkMScalar radians);
312 SkMScalar radians);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dmatrix.h224 float radians = DEGREES_TO_RADIANS(angle); in matrix_rotate() local
225 sin_val = sin(radians); in matrix_rotate()
226 cos_val = cos(radians); in matrix_rotate()
/external/mesa3d/src/gallium/state_trackers/vega/
Dmatrix.h224 float radians = DEGREES_TO_RADIANS(angle); in matrix_rotate() local
225 sin_val = sin(radians); in matrix_rotate()
226 cos_val = cos(radians); in matrix_rotate()

12