/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/libs/hwui/jni/ |
D | PathMeasure.cpp | 95 …sTan(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, jfloatArray pos, jfloatArray tan) { in getPosTan() argument 99 SkScalar* tanPtr = tan ? tmpTan : NULL; in getPosTan() 108 if (tan) { in getPosTan() 109 convertTwoElemFloatArray(env, tan, tmpTan); in getPosTan()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/ribbon/ui/composable/ |
D | Ribbon.kt | 31 import kotlin.math.tan in <lambda>() 80 val tangent = tan(radians) in <lambda>()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 872 SkVector tan; in drawLayoutOnPath() local 873 if (!meas.getPosTan(x, &pos, &tan)) { in drawLayoutOnPath() 875 tan.set(1, 0); in drawLayoutOnPath() 877 xform[i - start].fSCos = tan.x(); in drawLayoutOnPath() 878 xform[i - start].fSSin = tan.y(); in drawLayoutOnPath() 879 xform[i - start].fTx = pos.x() - tan.y() * y - halfWidth * tan.x(); in drawLayoutOnPath() 880 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 | 160 public static float tan(float angle) { in tan() method in MathUtils 161 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/base/core/java/android/widget/ |
D | EditorTouchState.java | 239 return (float) Math.tan(Math.toRadians(angleFromVerticalInDegrees)); in getXYRatio()
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 138 TEST_FUNC_1(tan);
|
/frameworks/native/libs/math/include/math/ |
D | mat4.h | 486 h = std::tan(fov * M_PI / 360.0f) * near; in perspective() 489 w = std::tan(fov * M_PI / 360.0f) * near; in perspective()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | StrictMathPerfTest.java | 467 StrictMath.tan(mDouble); in timeTan()
|
D | MathPerfTest.java | 503 result = Math.tan(mDouble); in timeTan()
|
/frameworks/base/core/java/android/location/ |
D | Location.java | 1239 double u1 = Math.atan((1.0 - f) * Math.tan(lat1)); in computeDistanceAndBearing() 1240 double u2 = Math.atan((1.0 - f) * Math.tan(lat2)); in computeDistanceAndBearing()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Matrix4f.java | 316 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 | 315 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f)); in loadPerspective()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/ |
D | AnimatedFloatExpression.java | 237 mStack[sp] = (float) Math.tan(mStack[sp]);
|
/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/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/native/opengl/tests/angeles/ |
D | demo.c | 507 ymax = zNear * (GLfloat)tan(fovy * PI / 360); in gluPerspective()
|