/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestRadians.rs | 24 return radians(inV); 28 return radians(inV); 32 return radians(inV); 36 return radians(inV); 40 return radians(inV); 44 return radians(inV); 48 return radians(inV); 52 return radians(inV);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
Point.java | 99 public Point rotated(float radians) { 101 return new Point((float)(Math.cos(radians) * x - Math.sin(radians) * y), 102 (float)(Math.sin(radians) * x + Math.cos(radians) * y)); 105 public Point rotatedAround(Point center, float radians) { 106 return this.minus(center).rotated(radians).plus(center);
|
/cts/tests/openglperf2/jni/graphics/ |
Matrix.h | 34 void rotate(float radians, float x, float y, float z); 51 static Matrix* newRotate(float radians, float x, float y, float z);
|
Matrix.cpp | 96 void Matrix::rotate(float radians, float x, float y, float z) { 97 Matrix* m = newRotate(radians, x, y, z); 245 Matrix* Matrix::newRotate(float radians, float x, float y, float z) { 256 float s = (float) sinf(radians); 257 float c = (float) cosf(radians);
|
/external/ImageMagick/MagickCore/ |
image-private.h | 61 static inline double RadiansToDegrees(const double radians) 63 return((double) (180.0*radians/MagickPI));
|
/external/deqp/framework/common/ |
tcuMatrixUtil.hpp | 37 Matrix<float, 2, 2> rotationMatrix (float radians); 57 inline Matrix<float, 2, 2> rotationMatrix (float radians) 60 float c = deFloatCos(radians); 61 float s = deFloatSin(radians);
|
/external/skia/include/core/ |
SkRSXform.h | 27 * Initialize a new xform based on the scale, rotation (in radians), final tx,ty location 32 static SkRSXform MakeFromRadians(SkScalar scale, SkScalar radians, SkScalar tx, SkScalar ty, 34 const SkScalar s = SkScalarSin(radians) * scale; 35 const SkScalar c = SkScalarCos(radians) * scale;
|
SkScalar.h | 53 #define SkScalarSin(radians) (float)sk_float_sin(radians) 54 #define SkScalarCos(radians) (float)sk_float_cos(radians) 55 #define SkScalarTan(radians) (float)sk_float_tan(radians) 96 #define SkScalarSin(radians) sin(radians) 97 #define SkScalarCos(radians) cos(radians) [all...] |
/external/vulkan-validation-layers/libs/glm/detail/ |
func_trigonometric.hpp | 33 /// Function parameters specified as angle are assumed to be in units of radians. 48 /// Converts degrees to radians and returns the result. 52 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/radians.xml">GLSL radians man page</a> 55 GLM_FUNC_DECL genType radians(genType const & degrees); 57 /// Converts radians to degrees and returns the result. 64 GLM_FUNC_DECL genType degrees(genType const & radians);
|
/external/skia/src/core/ |
SkMath.cpp | 141 float SkScalarSinCos(float radians, float* cosValue) { 142 float sinValue = sk_float_sin(radians); 145 *cosValue = sk_float_cos(radians);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Affine2.java | 168 * @param radians The angle in radians. 170 public Affine2 setToRotationRad (float radians) { 171 float cos = MathUtils.cos(radians); 172 float sin = MathUtils.sin(radians); 258 * <code>idt().translate(x, y).rotateRad(radians).scale(scaleX, scaleY)</code> 261 * @param radians The angle in radians. 265 public Affine2 setToTrnRotRadScl (float x, float y, float radians, float scaleX, float scaleY) { 269 if (radians == 0) [all...] |
MathUtils.java | 44 /** multiply by this to convert from radians to degrees */
47 /** multiply by this to convert from degrees to radians */
62 /** Returns the sine in radians from a lookup table. */
63 static public float sin (float radians) {
64 return Sin.table[(int)(radians * radToIndex) & SIN_MASK];
67 /** Returns the cosine in radians from a lookup table. */
68 static public float cos (float radians) {
69 return Sin.table[(int)((radians + PI / 2) * radToIndex) & SIN_MASK];
72 /** Returns the sine in radians from a lookup table. */
77 /** Returns the cosine in radians from a lookup table. */ [all...] |
Vector2.java | 333 /** @return the angle in radians of this vector (point) relative to the x-axis. Angles are towards the positive y-axis.
339 /** @return the angle in radians of this vector (point) relative to the given vector. Angles are towards the positive y-axis.
351 /** Sets the angle of the vector in radians relative to the x-axis, towards the positive y-axis (typically counter-clockwise).
352 * @param radians The angle in radians to set. */
353 public Vector2 setAngleRad (float radians) {
355 this.rotateRad(radians);
367 * @param radians the angle in radians */
368 public Vector2 rotateRad (float radians) {
[all...] |
Matrix3.java | 151 * @param radians the angle in radians.
153 public Matrix3 setToRotationRad (float radians) {
154 float cos = (float)Math.cos(radians);
155 float sin = (float)Math.sin(radians);
454 * @param radians The angle in radians
456 public Matrix3 rotateRad (float radians) {
457 if (radians == 0) return this;
458 float cos = (float)Math.cos(radians);
[all...] |
Matrix4.java | 720 * @param radians The angle in radians
722 public Matrix4 setToRotationRad (Vector3 axis, float radians) {
723 if (radians == 0) {
727 return set(quat.setFromAxisRad(axis, radians));
[all...] |
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrix.java | 146 double radians = degrees * Math.PI / 180d; local 147 float cosine = (float) Math.cos(radians); 148 float sine = (float) Math.sin(radians);
|
/external/skia/include/c/ |
sk_canvas.h | 67 specified rotation in radians. 69 SK_API void sk_canvas_rotate_radians(sk_canvas_t*, float radians);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlWheel.java | 174 int radians = (MAX_SLIDER_ANGLE - MIN_SLIDER_ANGLE); local 175 if ((startAngle + radians) > 0) radians = -startAngle; 176 drawArc(canvas, startAngle, radians,
|
/frameworks/rs/api/ |
rs_math.spec | 175 Returns the inverse cosine, in radians. 198 Returns the inverse hyperbolic cosine, in radians. 221 Returns the inverse cosine in radians, divided by pi. 246 Returns the inverse sine, in radians. 269 Returns the inverse hyperbolic sine, in radians. 292 Returns the inverse sine in radians, divided by pi. 317 Returns the inverse tangent, in radians. 341 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians. 366 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians, divided by pi. 392 Returns the inverse hyperbolic tangent, in radians [all...] |
/cts/tests/openglperf2/test/ |
MatrixTest.cpp | 217 float radians = 45.0f * (M_PI / 180.0f); local 218 float sin = sinf(radians); 219 float cos = cosf(radians);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
PieRenderer.java | 202 double radians = deg * Math.PI / 180F; local 203 double x = rad * Math.cos(radians); 204 double y = rad * Math.sin(radians);
|
/frameworks/base/core/java/android/util/ |
MathUtils.java | 127 public static float radians(float degrees) { method in class:MathUtils 131 public static float degrees(float radians) { 132 return radians * RAD_TO_DEG;
|
/prebuilts/misc/windows/sdl2/test/ |
testgles2.c | 104 double radians, c, s, c1, u[3], length; local 107 radians = (angle * M_PI) / 180.0; 109 c = cos(radians); 110 s = sin(radians); 112 c1 = 1.0 - cos(radians);
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
SoundPoolTest.java | 320 double radians = PI_OVER_2 * count / 100.0; local 321 float leftVolume = (float) Math.sin(radians); 322 float rightVolume = (float) Math.cos(radians);
|
/external/eigen/bench/btl/data/ |
gnuplot_common_settings.hh | 18 set angles radians
|