/external/skia/include/core/ |
D | SkScalar.h | 44 #define SkScalarSin(radians) (float)sk_float_sin(radians) argument 45 #define SkScalarCos(radians) (float)sk_float_cos(radians) argument 46 #define SkScalarTan(radians) (float)sk_float_tan(radians) argument 113 #define SkRadiansToDegrees(radians) ((radians) * (180 / SK_ScalarPI)) argument 148 static inline float SkScalarSinSnapToZero(SkScalar radians) { in SkScalarSinSnapToZero() argument 149 float v = SkScalarSin(radians); in SkScalarSinSnapToZero() 153 static inline float SkScalarCosSnapToZero(SkScalar radians) { in SkScalarCosSnapToZero() argument 154 float v = SkScalarCos(radians); in SkScalarCosSnapToZero()
|
D | SkRSXform.h | 33 static SkRSXform MakeFromRadians(SkScalar scale, SkScalar radians, SkScalar tx, SkScalar ty, in MakeFromRadians() 35 const SkScalar s = SkScalarSin(radians) * scale; in MakeFromRadians() 36 const SkScalar c = SkScalarCos(radians) * scale; in MakeFromRadians()
|
D | SkM44.h | 198 static SkM44 Rotate(SkV3 axis, SkScalar radians) { in Rotate() argument 200 m.setRotate(axis, radians); in Rotate() 301 SkM44& setRotateUnit(SkV3 axis, SkScalar radians) { in setRotateUnit() argument 302 return this->setRotateUnitSinCos(axis, SkScalarSin(radians), SkScalarCos(radians)); in setRotateUnit() 312 SkM44& setRotate(SkV3 axis, SkScalar radians);
|
/external/skqp/include/core/ |
D | SkScalar.h | 44 #define SkScalarSin(radians) (float)sk_float_sin(radians) argument 45 #define SkScalarCos(radians) (float)sk_float_cos(radians) argument 46 #define SkScalarTan(radians) (float)sk_float_tan(radians) argument 121 SkScalar SkScalarSinCos(SkScalar radians, SkScalar* cosValue); 130 #define SkRadiansToDegrees(radians) ((radians) * (180 / SK_ScalarPI)) argument
|
D | SkRSXform.h | 33 static SkRSXform MakeFromRadians(SkScalar scale, SkScalar radians, SkScalar tx, SkScalar ty, in MakeFromRadians() 35 const SkScalar s = SkScalarSin(radians) * scale; in MakeFromRadians() 36 const SkScalar c = SkScalarCos(radians) * scale; in MakeFromRadians()
|
/external/deqp/framework/common/ |
D | tcuMatrixUtil.hpp | 40 Matrix<float, 2, 2> rotationMatrix (float radians); 70 inline Matrix<float, 2, 2> rotationMatrix (float radians) in rotationMatrix() argument 73 float c = deFloatCos(radians); in rotationMatrix() 74 float s = deFloatSin(radians); in rotationMatrix()
|
/external/grpc-grpc/examples/python/route_guide/ |
D | route_guide_server.py | 44 lat_rad_1 = math.radians(lat_1) 45 lat_rad_2 = math.radians(lat_2) 46 delta_lat_rad = math.radians(lat_2 - lat_1) 47 delta_lon_rad = math.radians(lon_2 - lon_1)
|
/external/skqp/src/core/ |
D | SkMath.cpp | 71 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() argument 72 float sinValue = sk_float_sin(radians); in SkScalarSinCos() 75 *cosValue = sk_float_cos(radians); in SkScalarSinCos()
|
/external/grpc-grpc/examples/python/multiplex/ |
D | multiplex_server.py | 46 lat_rad_1 = math.radians(lat_1) 47 lat_rad_2 = math.radians(lat_2) 48 delta_lat_rad = math.radians(lat_2 - lat_1) 49 delta_lon_rad = math.radians(lon_2 - lon_1)
|
/external/skia/samplecode/ |
D | SampleAndroidShadows.cpp | 281 SkScalar radians = SkDegreesToRadians(fAnimAngle); in onDrawContent() local 283 SkScalarSin(radians), in onDrawContent() 284 std::max(1.0f, 16 + fZDelta) - SkScalarSin(radians)*pivot.fY); in onDrawContent() 298 zPlaneParams = SkPoint3::Make(-SkScalarSin(radians), in onDrawContent() 300 std::max(1.0f, 32 + fZDelta) + SkScalarSin(radians)*pivot.fX); in onDrawContent() 313 zPlaneParams = SkPoint3::Make(-SkScalarSin(radians), in onDrawContent() 315 std::max(1.0f, 8 + fZDelta) + SkScalarSin(radians)*pivot.fX); in onDrawContent()
|
/external/skqp/samplecode/ |
D | SampleAndroidShadows.cpp | 305 SkScalar radians = SkDegreesToRadians(fAnimAngle); in onDrawContent() local 307 SkScalarSin(radians), in onDrawContent() 308 SkTMax(1.0f, 16 + fZDelta) - SkScalarSin(radians)*pivot.fY); in onDrawContent() 322 zPlaneParams = SkPoint3::Make(-SkScalarSin(radians), in onDrawContent() 324 SkTMax(1.0f, 32 + fZDelta) + SkScalarSin(radians)*pivot.fX); in onDrawContent() 337 zPlaneParams = SkPoint3::Make(-SkScalarSin(radians), in onDrawContent() 339 SkTMax(1.0f, 8 + fZDelta) + SkScalarSin(radians)*pivot.fX); in onDrawContent()
|
/external/skia/src/sksl/ |
D | sksl_interp.inc | 23 float radians(float deg) { return deg * 0.0174532925; } 24 float2 radians(float2 deg) { return deg * 0.0174532925; } 25 float3 radians(float3 deg) { return deg * 0.0174532925; } 26 float4 radians(float4 deg) { return deg * 0.0174532925; }
|
/external/skia/site/user/modules/ |
D | particles.md | 171 " float a = radians(rand * 360);", 261 " float4x4 mat = rx(age * radians(60))", 262 " * ry(age * radians(70))", 263 " * rz(age * radians(80));", 296 " p.pos.x = sin(radians(p.age * 320)) * mix(25, 10, p.age) + mix(-w, w, rand);", 316 " float a = radians(mix(-20, 20, rand) - 90);", 337 " float a = radians(rand * 360);", 367 " float a = radians(rand * 360);", 483 " float a = radians(mix(-80, 80, rand) - 90);", 513 " float a = radians(mix(250, 290, rand));", [all …]
|
/external/ImageMagick/MagickCore/ |
D | image-private.h | 61 static inline double RadiansToDegrees(const double radians) in RadiansToDegrees() argument 63 return((double) (180.0*radians/MagickPI)); in RadiansToDegrees()
|
/external/python/cpython2/Doc/library/ |
D | math.rst | 234 Return the arc cosine of *x*, in radians. 239 Return the arc sine of *x*, in radians. 244 Return the arc tangent of *x*, in radians. 249 Return ``atan(y / x)``, in radians. The result is between ``-pi`` and ``pi``. 259 Return the cosine of *x* radians. 270 Return the sine of *x* radians. 275 Return the tangent of *x* radians. 283 Convert angle *x* from radians to degrees. 286 .. function:: radians(x) 288 Convert angle *x* from degrees to radians.
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
D | PieRenderer.java | 202 double radians = deg * Math.PI / 180F; in calculateLineEnd() local 203 double x = rad * Math.cos(radians); in calculateLineEnd() 204 double y = rad * Math.sin(radians); in calculateLineEnd()
|
/external/bc/gen/ |
D | bc_help.txt | 90 s(expr) = sine of expr in radians 91 c(expr) = cosine of expr in radians 92 a(expr) = arctangent of expr, returning radians
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMatrix.java | 478 final double radians = Math.toRadians(degrees); in rotate() local 479 final float sin = (float) Math.sin(radians); in rotate() 480 final float cos = (float) Math.cos(radians); in rotate() 485 final double radians = Math.toRadians(degrees); in rotate() local 486 final float sin = (float) Math.sin(radians); in rotate() 487 final float cos = (float) Math.cos(radians); in rotate()
|
/external/python/cpython3/Doc/library/ |
D | math.rst | 366 Return the arc cosine of *x*, in radians. 371 Return the arc sine of *x*, in radians. 376 Return the arc tangent of *x*, in radians. 381 Return ``atan(y / x)``, in radians. The result is between ``-pi`` and ``pi``. 391 Return the cosine of *x* radians. 424 Return the sine of *x* radians. 429 Return the tangent of *x* radians. 437 Convert angle *x* from radians to degrees. 440 .. function:: radians(x) 442 Convert angle *x* from degrees to radians.
|
/external/deqp-deps/glslang/Test/ |
D | hlsl.intrinsics.vert | 42 radians(inF0); 114 radians(inF0); 184 radians(inF0); 254 radians(inF0); 312 radians(inF0); \
|
/external/angle/third_party/glslang/src/Test/ |
D | hlsl.intrinsics.vert | 42 radians(inF0); 114 radians(inF0); 184 radians(inF0); 254 radians(inF0); 312 radians(inF0); \
|
/external/fonttools/Lib/fontTools/svgLib/path/ |
D | arc.py | 11 from math import atan2, ceil, cos, fabs, pi, radians, sin, sqrt, tan 37 self.angle = radians(rotation)
|
/external/OpenCL-CTS/test_conformance/commonfns/ |
D | main.cpp | 48 ADD_TEST( radians ),
|
/external/skia/include/private/ |
D | SkFloatingPoint.h | 68 constexpr float sk_float_radians_to_degrees(float radians) { in sk_float_radians_to_degrees() argument 69 return radians * (180 / SK_FloatPI); in sk_float_radians_to_degrees()
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderGLSLstd450.cpp | 584 auto radians = GenericValue(this, state, insn.word(5)); in EmitExtGLSLstd450() local 587 dst.move(i, radians.Float(i) * SIMD::Float(180.0f / PI)); in EmitExtGLSLstd450() 593 auto radians = GenericValue(this, state, insn.word(5)); in EmitExtGLSLstd450() local 596 dst.move(i, Sin(radians.Float(i))); in EmitExtGLSLstd450() 602 auto radians = GenericValue(this, state, insn.word(5)); in EmitExtGLSLstd450() local 605 dst.move(i, Cos(radians.Float(i))); in EmitExtGLSLstd450() 611 auto radians = GenericValue(this, state, insn.word(5)); in EmitExtGLSLstd450() local 614 dst.move(i, Tan(radians.Float(i))); in EmitExtGLSLstd450()
|