/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Point.java | 99 public Point rotated(float radians) { in rotated() argument 101 return new Point((float)(Math.cos(radians) * x - Math.sin(radians) * y), in rotated() 102 (float)(Math.sin(radians) * x + Math.cos(radians) * y)); in rotated() 105 public Point rotatedAround(Point center, float radians) { in rotatedAround() argument 106 return this.minus(center).rotated(radians).plus(center); in rotatedAround()
|
/frameworks/rs/api/ |
D | 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 …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorMatrix.java | 146 double radians = degrees * Math.PI / 180d; in setRotate() local 147 float cosine = (float) Math.cos(radians); in setRotate() 148 float sine = (float) Math.sin(radians); in setRotate()
|
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 127 public static float radians(float degrees) { in radians() method in MathUtils 131 public static float degrees(float radians) { in degrees() argument 132 return radians * RAD_TO_DEG; in degrees()
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 320 double radians = PI_OVER_2 * count / 100.0; in TestVolume() local 321 float leftVolume = (float) Math.sin(radians); in TestVolume() 322 float rightVolume = (float) Math.cos(radians); in TestVolume()
|
/frameworks/rs/scriptc/ |
D | rs_math.rsh | 202 * Returns the inverse cosine, in radians. 241 * Returns the inverse hyperbolic cosine, in radians. 280 * Returns the inverse cosine in radians, divided by pi. 321 * Returns the inverse sine, in radians. 360 * Returns the inverse hyperbolic sine, in radians. 399 * Returns the inverse sine in radians, divided by pi. 440 * Returns the inverse tangent, in radians. 479 * Returns the inverse tangent of (numerator / denominator), in radians. 522 * Returns the inverse tangent of (numerator / denominator), in radians, divided by pi. 567 * Returns the inverse hyperbolic tangent, in radians. [all …]
|
D | rs_quaternion.rsh | 123 * rot: Angle to rotate by, in radians.
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialSelectorView.java | 253 double radians = Math.asin(opposite / hypotenuse); in getDegreesFromCoords() local 254 int degrees = (int) (radians * 180 / Math.PI); in getDegreesFromCoords()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 433 public void rotate(double radians) { in rotate() argument 436 layer.getGraphics().rotate(radians); in rotate() 442 mTransform.rotate(radians); in rotate()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 362 double radians = Math.toRadians(-rotation); in getRange() local 366 double cos = Math.cos(radians); in getRange() 367 double sin = Math.sin(radians); in getRange()
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 939 extern float __attribute__((overloadable)) degrees(float radians) { in IN_FUNC_IN() 940 return radians * (180.f / M_PI); in IN_FUNC_IN() 942 extern float2 __attribute__((overloadable)) degrees(float2 radians) { in degrees() argument 943 return radians * (180.f / M_PI); in degrees() 945 extern float3 __attribute__((overloadable)) degrees(float3 radians) { in degrees() argument 946 return radians * (180.f / M_PI); in degrees() 948 extern float4 __attribute__((overloadable)) degrees(float4 radians) { in degrees() argument 949 return radians * (180.f / M_PI); in degrees() 974 extern float __attribute__((overloadable)) radians(float degrees) { in radians() function 977 extern float2 __attribute__((overloadable)) radians(float2 degrees) { in radians() function [all …]
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_math.jd | 316 Converts radians into degrees 913 <a href='rs_math.html#android_rs:radians'>radians</a> 916 Converts degrees into radians 1450 <p> Returns the inverse cosine, in radians. 1489 <p> Returns the inverse hyperbolic cosine, in radians. 1528 <p> Returns the inverse cosine in radians, divided by pi. 1570 <p> Returns the inverse sine, in radians. 1609 <p> Returns the inverse hyperbolic sine, in radians. 1648 <p> Returns the inverse sine in radians, divided by pi. 1690 <p> Returns the inverse tangent, in radians. [all …]
|
D | rs_quaternion.jd | 250 <tr><th>rot</th><td>Angle to rotate by, in radians.</td></tr>
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 1326 final double radians = Math.toRadians(degrees); in getBoundsForVirtualView() local 1327 final float xCenter = mXCenter + centerRadius * (float) Math.sin(radians); in getBoundsForVirtualView() 1328 final float yCenter = mYCenter - centerRadius * (float) Math.cos(radians); in getBoundsForVirtualView()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | apitest.rs | 1012 f = radians(f); 1013 f2 = radians(f2); 1014 f3 = radians(f3); 1015 f4 = radians(f4);
|
D | math.rs | 308 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rs | 1010 f = radians(f); 1011 f2 = radians(f2); 1012 f3 = radians(f3); 1013 f4 = radians(f4);
|
D | math.rs | 308 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | math_fp16.rs | 218 TEST_HN_FUNC_HN(radians);
|
D | math.rs | 316 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | math.rs | 308 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 294 TEST_FN_FUNC_FN(radians);
|
D | math.rs | 308 TEST_FN_FUNC_FN(radians);
|
D | math.rs.orig | 308 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rs | 377 BENCH_FN_FUNC_FN(radians);
|