/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | TwilightCalculator.java | 92 final double trueAnomaly = meanAnomaly + C1 * Math.sin(meanAnomaly) + C2 in calculateTwilight() 93 * Math.sin(2 * meanAnomaly) + C3 * Math.sin(3 * meanAnomaly); in calculateTwilight() 101 double solarTransitJ2000 = n + J0 + arcLongitude + 0.0053d * Math.sin(meanAnomaly) in calculateTwilight() 102 + -0.0069d * Math.sin(2 * solarLng); in calculateTwilight() 105 double solarDec = Math.asin(Math.sin(solarLng) * Math.sin(OBLIQUITY)); in calculateTwilight() 109 double cosHourAngle = (Math.sin(ALTIDUTE_CORRECTION_CIVIL_TWILIGHT) - Math.sin(latRad) in calculateTwilight() 110 * Math.sin(solarDec)) / (Math.cos(latRad) * Math.cos(solarDec)); in calculateTwilight()
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 175 sinMLon[1] = (float) Math.sin(mGcLongitudeRad); in GeomagneticField() 235 + gcZ * Math.sin(latDiffRad)); in GeomagneticField() 237 mZ = (float) (- gcX * Math.sin(latDiffRad) in GeomagneticField() 312 float slat = (float) Math.sin(gdLatRad); in computeGeocentricCoordinates() 357 float sin = (float) Math.sin(thetaRad); in LegendreTable() local 368 mP[n][m] = sin * mP[n - 1][m - 1]; in LegendreTable() 370 + sin * mPDeriv[n - 1][m - 1]; in LegendreTable() 373 mPDeriv[n][m] = -sin * mP[n - 1][m] in LegendreTable() 380 mPDeriv[n][m] = -sin * mP[n - 1][m] in LegendreTable()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | util.cpp | 42 sockaddr_in *sin = (sockaddr_in *)ss; in parse() local 43 if (inet_pton(AF_INET, address, &(sin->sin_addr)) > 0) { in parse() 44 sin->sin_family = AF_INET; in parse() 45 sin->sin_port = htons(port); in parse()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 425 float sin = (float) Math.sin(rad); in native_preRotate() local 428 d.preTransform(getRotate(sin, cos)); in native_preRotate() 997 float sin = (float)Math.sin(rad); in getRotate() local 1000 return getRotate(sin, cos); in getRotate() 1003 /*package*/ static float[] getRotate(float sin, float cos) { in getRotate() argument 1004 return setRotate(new float[9], sin, cos); in getRotate() 1009 float sin = (float)Math.sin(rad); in setRotate() local 1012 return setRotate(dest, sin, cos); in setRotate() 1015 /*package*/ static float[] setRotate(float[] dest, float sin, float cos) { in setRotate() argument 1017 dest[1] = -sin; in setRotate() [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_quaternion.c | 60 float s = sin(rot); in rsQuaternionLoadRotateUnit() 153 float invSinTheta = 1.0f / sin(theta); in rsQuaternionSlerp() 154 scale = sin(theta * (1.0f - t)) * invSinTheta; in rsQuaternionSlerp() 155 invScale = sin(theta * t) * invSinTheta; in rsQuaternionSlerp() 162 scale = sin(M_PI * (0.5f - t)); in rsQuaternionSlerp() 163 invScale = sin(M_PI * t); in rsQuaternionSlerp()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Quaternion.java | 75 double sin = Math.sin(angle / 2); in set() local 76 x[1] = axis[0] * sin; in set() 77 x[2] = axis[1] * sin; in set() 78 x[3] = axis[2] * sin; in set()
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 69 public static float sin(float angle) { in sin() method in FloatMath 70 return (float) Math.sin(angle); in sin()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Point.java | 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()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 181 point->y = (float)(sin(t) * cos(p) / r1 / r2); in superShapeMap() 182 point->z = (float)(sin(p) / r2); in superShapeMap() 189 pow(fabs(sin(p[0] * t / 4)) / p[2], p[5]), 1 / p[3])); in ssFunc() 385 const float m = (float)(cos(xm * 2) * sin(ym * 4) * 0.75f); in createGroundPlane() 733 eY = cY - (float)sin(lerp[3]) * dist; in camTrack() 742 cY = eY + (float)sin(lerp[3]); in camTrack()
|
/frameworks/base/libs/hwui/utils/ |
D | VectorDrawableUtils.cpp | 131 double sinTheta = sin(theta); in arcToBezier() 133 double sinEta1 = sin(eta1); in arcToBezier() 140 double sinEta2 = sin(eta2); in arcToBezier() 148 sin(eta2 - eta1) * (sqrt(4 + (3 * tanDiff2 * tanDiff2)) - 1) / 3; in arcToBezier() 185 double sinTheta = sin(thetaD); in drawArc()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 367 double sin = Math.sin(radians); in getRange() local 369 Math.abs(cos * w - sin * h), Math.abs(cos * w + sin * h))); in getRange() 371 Math.abs(sin * w + cos * h), Math.abs(sin * w - cos * h))); in getRange()
|
/frameworks/rs/scriptc/ |
D | rs_quaternion.rsh | 133 float s = sin(rot); 296 float invSinTheta = 1.0f / sin(theta); 297 scale = sin(theta * (1.0f - t)) * invSinTheta; 298 invScale = sin(theta * t) * invSinTheta; 305 scale = sin(M_PI * (0.5f - t)); 306 invScale = sin(M_PI * t);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BaseCluster.java | 85 vector[1] = Math.sin(lambda) * Math.cos(phi); in getLocationVector() 86 vector[2] = Math.sin(phi); in getLocationVector()
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | fp_mad.rs | 74 data_f4[i] = sin(data_f4[i]) * cos(data_f4[i]); 88 data_f1[i] = sin(data_f1[i]) * cos(data_f1[i]);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Matrix3f.java | 120 s = (float)java.lang.Math.sin(rot); in loadRotate() 157 s = (float)java.lang.Math.sin(rot); in loadRotate()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | fp_mad.rs | 74 data_f4[i] = sin(data_f4[i]) * cos(data_f4[i]); 88 data_f1[i] = sin(data_f1[i]) * cos(data_f1[i]);
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | fp_mad.rs | 74 data_f4[i] = sin(data_f4[i]) * cos(data_f4[i]); 88 data_f1[i] = sin(data_f1[i]) * cos(data_f1[i]);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | fp_mad.rs | 74 data_f4[i] = sin(data_f4[i]) * cos(data_f4[i]); 88 data_f1[i] = sin(data_f1[i]) * cos(data_f1[i]);
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | fp_mad.rs | 74 data_f4[i] = sin(data_f4[i]) * cos(data_f4[i]); 88 data_f1[i] = sin(data_f1[i]) * cos(data_f1[i]);
|
/frameworks/wilhelm/tests/sandbox/ |
D | configbq.c | 152 short sampleLeft = sin(seconds * M_PI_2 * hzLeft) * 32767.0; in main() 153 short sampleRight = sin(seconds * M_PI_2 * hzRight) * 32767.0; in main()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Matrix3f.java | 117 s = (float)java.lang.Math.sin(rot); in loadRotate() 154 s = (float)java.lang.Math.sin(rot); in loadRotate()
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | fp_mad.rs | 74 data_f4[i] = sin(data_f4[i]) * cos(data_f4[i]); 88 data_f1[i] = sin(data_f1[i]) * cos(data_f1[i]);
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | PathParser.java | 607 double sinTheta = Math.sin(thetaD); in drawArc() 701 double sinTheta = Math.sin(theta); in arcToBezier() 703 double sinEta1 = Math.sin(eta1); in arcToBezier() 710 double sinEta2 = Math.sin(eta2); in arcToBezier() 718 Math.sin(eta2 - eta1) * (Math.sqrt(4 + (3 * tanDiff2 * tanDiff2)) - 1) / 3; in arcToBezier()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/numeric/ |
D | SinWaveFilter.java | 59 output.setObjectValue(((float)Math.sin(mValue) + 1.0f) / 2.0f); in process()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 565 float sin = (float) Math.sin(angle); in rotate() local 568 float x = points[i] * cos - points[i + 1] * sin; in rotate() 569 float y = points[i] * sin + points[i + 1] * cos; in rotate()
|