Home
last modified time | relevance | path

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

12345678

/external/skia/include/core/
DSkScalar.h44 #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
DSkRSXform.h33 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/skqp/include/core/
DSkScalar.h44 #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
DSkRSXform.h33 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/
DtcuMatrixUtil.hpp40 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/
Droute_guide_server.py44 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/
DSkMath.cpp71 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/skia/samplecode/
DSampleAndroidShadows.cpp305 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/skqp/samplecode/
DSampleAndroidShadows.cpp305 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/grpc-grpc/examples/python/multiplex/
Dmultiplex_server.py46 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/src/core/
DSkMath.cpp71 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/python/cpython2/Doc/library/
Dmath.rst234 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/ImageMagick/MagickCore/
Dimage-private.h61 static inline double RadiansToDegrees(const double radians) in RadiansToDegrees() argument
63 return((double) (180.0*radians/MagickPI)); in RadiansToDegrees()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DPieRenderer.java202 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/python/cpython3/Doc/library/
Dmath.rst305 Return the arc cosine of *x*, in radians.
310 Return the arc sine of *x*, in radians.
315 Return the arc tangent of *x*, in radians.
320 Return ``atan(y / x)``, in radians. The result is between ``-pi`` and ``pi``.
330 Return the cosine of *x* radians.
341 Return the sine of *x* radians.
346 Return the tangent of *x* radians.
354 Convert angle *x* from radians to degrees.
357 .. function:: radians(x)
359 Convert angle *x* from degrees to radians.
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMatrix.java478 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/deqp-deps/glslang/Test/
Dhlsl.intrinsics.vert42 radians(inF0);
114 radians(inF0);
184 radians(inF0);
254 radians(inF0);
312 radians(inF0); \
Dhlsl.intrinsics.frag68 float r046 = radians(inF0);
154 float2 r050 = radians(inF0);
236 float3 r051 = radians(inF0);
317 float4 r051 = radians(inF0);
382 MT r033 = radians(inF0); \
D300scope.vert29 bool radians(bool x) // ERROR: can't overload built-in functions
D430scope.vert29 bool radians(bool x) // okay, can overload built-in functions
/external/fonttools/Lib/fontTools/svgLib/path/
Darc.py11 from math import atan2, ceil, cos, fabs, pi, radians, sin, sqrt, tan
37 self.angle = radians(rotation)
/external/skia/include/c/
Dsk_canvas.h69 SK_API void sk_canvas_rotate_radians(sk_canvas_t*, float radians);
/external/skqp/include/c/
Dsk_canvas.h69 SK_API void sk_canvas_rotate_radians(sk_canvas_t*, float radians);
/external/deqp-deps/glslang/Test/baseResults/
D300scope.vert.out15 ERROR: 0:29: 'radians' : function name is redeclaration of existing name
16 ERROR: 0:29: 'radians' : can't find function
50 0:29 Function Definition: radians(b1; ( global bool)
/external/fonttools/Tests/misc/
Dtransform_test.py43 assert tuple(t.rotate(math.radians(30))) == pytest.approx(

12345678