Home
last modified time | relevance | path

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

12

/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DPoint.java99 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/
Drs_math.spec175 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/
DColorMatrix.java146 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/
DMathUtils.java127 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/
DSoundPoolTest.java320 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/
Drs_math.rsh202 * 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 …]
Drs_quaternion.rsh123 * rot: Angle to rotate by, in radians.
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java253 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/
DGcSnapshot.java433 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/
DTiledImageRenderer.java362 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/
Drs_cl.c939 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/
Drs_math.jd316 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 …]
Drs_quaternion.jd250 <tr><th>rot</th><td>Angle to rotate by, in radians.</td></tr>
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java1326 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/
Dapitest.rs1012 f = radians(f);
1013 f2 = radians(f2);
1014 f3 = radians(f3);
1015 f4 = radians(f4);
Dmath.rs308 TEST_FN_FUNC_FN(radians);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs1010 f = radians(f);
1011 f2 = radians(f2);
1012 f3 = radians(f3);
1013 f4 = radians(f4);
Dmath.rs308 TEST_FN_FUNC_FN(radians);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath_fp16.rs218 TEST_HN_FUNC_HN(radians);
Dmath.rs316 TEST_FN_FUNC_FN(radians);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs308 TEST_FN_FUNC_FN(radians);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak294 TEST_FN_FUNC_FN(radians);
Dmath.rs308 TEST_FN_FUNC_FN(radians);
Dmath.rs.orig308 TEST_FN_FUNC_FN(radians);
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs377 BENCH_FN_FUNC_FN(radians);

12