Home
last modified time | relevance | path

Searched refs:tan (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
DPathMeasure.java86 public boolean getPosTan(float distance, float pos[], float tan[]) { in getPosTan() argument
88 tan != null && tan.length < 2) { in getPosTan()
91 return native_getPosTan(native_instance, distance, pos, tan); in getPosTan()
163 …ic native boolean native_getPosTan(long native_instance, float distance, float pos[], float tan[]); in native_getPosTan() argument
/frameworks/base/core/jni/android/graphics/
DPathMeasure.cpp93 …sTan(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, jfloatArray pos, jfloatArray tan) { in getPosTan() argument
97 SkScalar* tanPtr = tan ? tmpTan : NULL; in getPosTan()
106 if (tan) { in getPosTan()
107 convertTwoElemFloatArray(env, tan, tmpTan); in getPosTan()
/frameworks/base/core/java/android/transition/
DArcMotion.java52 Math.tan(Math.toRadians(DEFAULT_MAX_ANGLE_DEGREES/2));
176 return (float) Math.tan(Math.toRadians(arcInDegrees / 2)); in toTangent()
/frameworks/base/core/java/android/util/
DMathUtils.java151 public static float tan(float angle) { in tan() method in MathUtils
152 return (float) Math.tan(angle); in tan()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java450 final float tan = b/a; in minimumCosineDistance() local
451 final double angle = Math.atan(tan); in minimumCosineDistance()
456 final double sine = cosine * tan; in minimumCosineDistance()
/frameworks/base/opengl/java/android/opengl/
DGLU.java113 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0)); in gluPerspective()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPathMeasure_Delegate.java81 float tan[]) { in native_getPosTan() argument
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs138 TEST_FUNC_1(tan);
/frameworks/base/location/java/android/location/
DLocation.java329 double U1 = Math.atan((1.0 - f) * Math.tan(lat1)); in computeDistanceAndBearing()
330 double U2 = Math.atan((1.0 - f) * Math.tan(lat2)); in computeDistanceAndBearing()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DMatrix4f.java312 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f)); in loadPerspective()
/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java311 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f)); in loadPerspective()
/frameworks/rs/
DrsMatrix4x4.cpp299 float top = near * tan((float) (fovy * M_PI / 360.0f)); in loadPerspective()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs865 f = tan(f);
866 f2 = tan(f2);
867 f3 = tan(f3);
868 f4 = tan(f4);
Dmath.rs323 TEST_FN_FUNC_FN(tan);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs863 f = tan(f);
864 f2 = tan(f2);
865 f3 = tan(f3);
866 f4 = tan(f4);
Dmath.rs323 TEST_FN_FUNC_FN(tan);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath_fp16.rs237 TEST_HN_FUNC_HN(tan);
Dmath.rs332 TEST_FN_FUNC_FN(tan);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs178 TEST_FN_FUNC_FN(tan);
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java975 float height = (float)Math.abs(2 * focalLength * Math.tan(angleVer / 2)); in mapSensor()
976 float width = (float)Math.abs(2 * focalLength * Math.tan(angleHor / 2)); in mapSensor()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp146 double tanDiff2 = tan((eta2 - eta1) / 2); in arcToBezier()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs323 TEST_FN_FUNC_FN(tan);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak309 TEST_FN_FUNC_FN(tan);
Dmath.rs323 TEST_FN_FUNC_FN(tan);
/frameworks/rs/driver/runtime/
Drs_cl.c777 float __attribute__((overloadable)) tan(float v) { in tan() function
780 FN_FUNC_FN(tan)
789 return tan(v * M_PI); in FN_FUNC_FN()
1626 THUNK_NATIVE_F(tan) in THUNK_NATIVE_F()
2255 HN_FUNC_HN(tan);

123