/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ShadowKeyDrawable.java | 139 final float radians = (float) (mState.mRotateDegrees * Math.PI / 180); in regenerateBitmapCache() local 165 final float shadowOffsetX = (float) (Math.sin(radians) * mState.mShadowOffsetY in regenerateBitmapCache() 166 + Math.cos(radians) * mState.mShadowOffsetX); in regenerateBitmapCache() 167 final float shadowOffsetY = (float) (Math.cos(radians) * mState.mShadowOffsetY in regenerateBitmapCache() 168 - Math.sin(radians) * mState.mShadowOffsetX); in regenerateBitmapCache()
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 189 Returns the inverse cosine, in radians. 212 Returns the inverse hyperbolic cosine, in radians. 235 Returns the inverse cosine in radians, divided by pi. 260 Returns the inverse sine, in radians. 283 Returns the inverse hyperbolic sine, in radians. 306 Returns the inverse sine in radians, divided by pi. 331 Returns the inverse tangent, in radians. 355 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians. 380 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians, divided by pi. 406 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 | 128 public static float radians(float degrees) { in radians() method in MathUtils 132 public static float degrees(float radians) { in degrees() argument 133 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/script_api/include/ |
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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 435 public void rotate(double radians) { in rotate() argument 438 layer.getGraphics().rotate(radians); in rotate() 444 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 | 942 extern float __attribute__((overloadable)) degrees(float radians) { in IN_FUNC_IN() 943 return radians * (180.f / M_PI); in IN_FUNC_IN() 945 extern float2 __attribute__((overloadable)) degrees(float2 radians) { in degrees() argument 946 return radians * (180.f / M_PI); in degrees() 948 extern float3 __attribute__((overloadable)) degrees(float3 radians) { in degrees() argument 949 return radians * (180.f / M_PI); in degrees() 951 extern float4 __attribute__((overloadable)) degrees(float4 radians) { in degrees() argument 952 return radians * (180.f / M_PI); in degrees() 977 extern float __attribute__((overloadable)) radians(float degrees) { in radians() function 980 extern float2 __attribute__((overloadable)) radians(float2 degrees) { in radians() function [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 1339 final double radians = Math.toRadians(degrees); in getBoundsForVirtualView() local 1340 final float xCenter = mXCenter + centerRadius * (float) Math.sin(radians); in getBoundsForVirtualView() 1341 final float yCenter = mYCenter - centerRadius * (float) Math.cos(radians); in getBoundsForVirtualView()
|
/frameworks/rs/tests/java_api/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/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rs | 1030 f = radians(f); 1031 f2 = radians(f2); 1032 f3 = radians(f3); 1033 f4 = radians(f4);
|
D | math.rs | 333 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rs | 1028 f = radians(f); 1029 f2 = radians(f2); 1030 f3 = radians(f3); 1031 f4 = radians(f4);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_fp16.rs | 234 TEST_HN_FUNC_HN(radians);
|
D | math.rs | 331 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/tests/java_api/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/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rs | 308 TEST_FN_FUNC_FN(radians);
|
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rs | 377 BENCH_FN_FUNC_FN(radians);
|