Home
last modified time | relevance | path

Searched refs:acos (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/java/android/util/
DMathUtils.java135 public static float acos(float value) { in acos() method in MathUtils
136 return (float) Math.acos(value); in acos()
/frameworks/base/libs/hwui/utils/
DMathUtils.h77 return (int)(ceilf(angleInRads / acos(targetCosVal)/2)) * 2; in divisionsNeededToApproximateArc()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java57 double angle = Math.acos(dot(vec1, vec2)); in set()
64 return Math.acos(Math.min(dot(vec1, vec2), 1)); in calcAngle()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Disp_isf.tab43 /* slope in Q11 used to compute y = acos(x) */
/frameworks/base/services/core/java/com/android/server/
DTwilightCalculator.java110 float hourAngle = (float) (Math.acos(cosHourAngle) / (2 * Math.PI)); in calculateTwilight()
DAnyMotionDetector.java330 double degrees = Math.toDegrees(Math.acos(this.dotProduct(other))); in angleBetween()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DTwilightCalculator.java125 float hourAngle = (float) (Math.acos(cosHourAngle) / (2 * Math.PI)); in calculateTwilight()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java430 return (float) Math.acos(sum); in cosineDistance()
453 return (float) Math.acos(a); in minimumCosineDistance()
457 return (float) Math.acos(a * cosine + b * sine); in minimumCosineDistance()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMathFuncs.cpp34 IMPORT_F32_FN_F32(acos)
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs75 TEST_FUNC_1(acos);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBaseCluster.java109 double radian = Math.acos(Math.min(product, 1f)); in computeDistance()
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java329 + ", angle=" + (Math.acos(dotProduct / mag1 / mag2) * 180 / Math.PI) in hasMoved()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs573 f = acos(f);
574 f2 = acos(f2);
575 f3 = acos(f3);
576 f4 = acos(f4);
Dmath.rs242 TEST_FN_FUNC_FN(acos);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs573 f = acos(f);
574 f2 = acos(f2);
575 f3 = acos(f3);
576 f4 = acos(f4);
Dmath.rs242 TEST_FN_FUNC_FN(acos);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs115 TEST_FN_FUNC_FN(acos);
/frameworks/rs/driver/runtime/
Drs_cl.c337 extern float __attribute__((overloadable)) acos(float);
338 FN_FUNC_FN(acos)
345 return acos(v) / M_PI; in FN_FUNC_FN()
1453 THUNK_NATIVE_F(acos)
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs242 TEST_FN_FUNC_FN(acos);
Dmath.rs.bak228 TEST_FN_FUNC_FN(acos);
Dmath.rs.orig242 TEST_FN_FUNC_FN(acos);
/frameworks/rs/scriptc/
Drs_quaternion.rsh272 float theta = acos(angle);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath.rs249 TEST_FN_FUNC_FN(acos);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs242 TEST_FN_FUNC_FN(acos);
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs312 BENCH_FN_FUNC_FN(acos);

12