/frameworks/base/graphics/java/android/graphics/ |
D | PathMeasure.java | 86 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/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | field_of_view.h | 42 float x_left = -std::tan(left_) * z_near; in GetProjectionMatrix() 43 float x_right = std::tan(right_) * z_near; in GetProjectionMatrix() 44 float y_bottom = -std::tan(bottom_) * z_near; in GetProjectionMatrix() 45 float y_top = std::tan(top_) * z_near; in GetProjectionMatrix()
|
/frameworks/base/core/jni/android/graphics/ |
D | PathMeasure.cpp | 93 …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/libs/hwui/ |
D | SkiaCanvas.cpp | 742 SkVector tan; in drawLayoutOnPath() local 743 if (!meas.getPosTan(x, &pos, &tan)) { in drawLayoutOnPath() 745 tan.set(1, 0); in drawLayoutOnPath() 747 xform[i - start].fSCos = tan.x(); in drawLayoutOnPath() 748 xform[i - start].fSSin = tan.y(); in drawLayoutOnPath() 749 xform[i - start].fTx = pos.x() - tan.y() * y - halfWidth * tan.x(); in drawLayoutOnPath() 750 xform[i - start].fTy = pos.y() + tan.x() * y - halfWidth * tan.y(); in drawLayoutOnPath()
|
/frameworks/base/core/java/android/transition/ |
D | ArcMotion.java | 52 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/ |
D | MathUtils.java | 159 public static float tan(float angle) { in tan() method in MathUtils 160 return (float) Math.tan(angle); in tan()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 450 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/ |
D | GLU.java | 113 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0)); in gluPerspective()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | PathMeasure_Delegate.java | 81 float tan[]) { in native_getPosTan() argument
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 138 TEST_FUNC_1(tan);
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 368 double U1 = Math.atan((1.0 - f) * Math.tan(lat1)); in computeDistanceAndBearing() 369 double U2 = Math.atan((1.0 - f) * Math.tan(lat2)); in computeDistanceAndBearing()
|
/frameworks/native/libs/math/include/math/ |
D | mat4.h | 478 h = std::tan(fov * M_PI / 360.0f) * near; in perspective() 481 w = std::tan(fov * M_PI / 360.0f) * near; in perspective()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Matrix4f.java | 312 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f)); in loadPerspective()
|
/frameworks/rs/ |
D | rsMatrix4x4.cpp | 299 float top = near * tan((float) (fovy * M_PI / 360.0f)); in loadPerspective()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Matrix4f.java | 311 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f)); in loadPerspective()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rscript | 863 f = tan(f); 864 f2 = tan(f2); 865 f3 = tan(f3); 866 f4 = tan(f4);
|
D | math.rscript | 323 TEST_FN_FUNC_FN(tan);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 883 f = tan(f); 884 f2 = tan(f2); 885 f3 = tan(f3); 886 f4 = tan(f4);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 881 f = tan(f); 882 f2 = tan(f2); 883 f3 = tan(f3); 884 f4 = tan(f4);
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 178 TEST_FN_FUNC_FN(tan);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyMetadataMapper.java | 984 float height = (float)Math.abs(2 * focalLength * Math.tan(angleVer / 2)); in mapSensor() 985 float width = (float)Math.abs(2 * focalLength * Math.tan(angleHor / 2)); in mapSensor()
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 309 TEST_FN_FUNC_FN(tan);
|
D | math.rs.orig | 323 TEST_FN_FUNC_FN(tan);
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 780 float __attribute__((overloadable)) tan(float v) { in tan() function 783 FN_FUNC_FN(tan) 792 return tan(v * M_PI); in FN_FUNC_FN() 1629 THUNK_NATIVE_F(tan) in THUNK_NATIVE_F() 2258 HN_FUNC_HN(tan);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_fp16.rscript | 253 TEST_HN_FUNC_HN(tan);
|