/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 180 cosMLon[1] = (float) Math.cos(mGcLongitudeRad); in GeomagneticField() 190 float inverseCosLatitude = 1.0f / (float) Math.cos(mGcLatitudeRad); in GeomagneticField() 238 mX = (float) (gcX * Math.cos(latDiffRad) in GeomagneticField() 242 + gcZ * Math.cos(latDiffRad)); in GeomagneticField() 315 float clat = (float) Math.cos(gdLatRad); in computeGeocentricCoordinates() 360 float cos = (float) Math.cos(thetaRad); in LegendreTable() local 373 mPDeriv[n][m] = cos * mP[n - 1][m - 1] in LegendreTable() 376 mP[n][m] = cos * mP[n - 1][m]; in LegendreTable() 378 + cos * mPDeriv[n - 1][m]; in LegendreTable() 383 mP[n][m] = cos * mP[n - 1][m] - k * mP[n - 2][m]; in LegendreTable() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | KalmanFilterTest.java | 53 double cos = Math.cos(stepSizeRadians); in initializePll() local 56 cos, sin, in initializePll() 57 -sin, cos}); in initializePll()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | RDsp.h | 96 v[i] = 0.54 - 0.46 * cos(TWOPI * i /(twoOverlap - 1)); in fillHamming() 109 v[i] = 0.54 - 0.46 * cos(TWOPI * k / (twoOverlap - 1)); in fillHamming() 122 v[i] = 0.5 * (1.0 - cos(TWOPI * i / (twoOverlap - 1))); in fillHanning() 135 v[i] = 0.5 * (1.0 - cos(TWOPI * k / (twoOverlap - 1))); in fillHanning()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 432 float cos = (float) Math.cos(rad); in nPreRotate() local 434 d.preTransform(getRotate(sin, cos)); in nPreRotate() 1014 float cos = (float)Math.cos(rad); in getRotate() local 1016 return getRotate(sin, cos); in getRotate() 1019 /*package*/ static float[] getRotate(float sin, float cos) { in getRotate() argument 1020 return setRotate(new float[9], sin, cos); in getRotate() 1026 float cos = (float)Math.cos(rad); in setRotate() local 1028 return setRotate(dest, sin, cos); in setRotate() 1031 /*package*/ static float[] setRotate(float[] dest, float sin, float cos) { in setRotate() argument 1032 dest[0] = cos; in setRotate() [all …]
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 80 public static float cos(float angle) { in cos() method in FloatMath 81 return (float) Math.cos(angle); in cos()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | Point.java | 76 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); in getAngle() local 77 float angle = (float) Math.acos(cos); in getAngle()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirGen.h | 54 mCurrent = cos(wstart); 55 mPrevious = cos(wstart - wstep); 60 mTwoCos = 2.*cos(wstep); 105 mTwoCos = 2.*cos(innerStep); in mSineInnerCur() 430 accum += cos(ix*w)*static_cast<double>(*coef++); 466 double dcos = 2. * cos(L*w);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Point.java | 105 return new Point((float)(Math.cos(radians) * x - Math.sin(radians) * y), in rotated() 106 (float)(Math.sin(radians) * x + Math.cos(radians) * y)); in rotated()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 180 point->x = (float)(cos(t) * cos(p) / r1 / r2); in superShapeMap() 181 point->y = (float)(sin(t) * cos(p) / r1 / r2); in superShapeMap() 188 return (float)(pow(pow(fabs(cos(p[0] * t / 4)) / p[1], p[4]) + in ssFunc() 385 const float m = (float)(cos(xm * 2) * sin(ym * 4) * 0.75f); in createGroundPlane() 732 eX = cX - (float)cos(lerp[3]) * dist; in camTrack() 741 cX = eX + (float)cos(lerp[3]); in camTrack()
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | HighQualityShadowPainter.java | 278 float x = (float) (rect.left + (radius - radius * Math.cos(theta))); in buildRoundedEdges() 288 float x = (float) (rect.right - (radius - radius * Math.cos(theta))); in buildRoundedEdges() 298 float x = (float) (rect.right - (radius - radius * Math.cos(theta))); in buildRoundedEdges() 308 float x = (float) (rect.left + (radius - radius * Math.cos(theta))); in buildRoundedEdges()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 455 final double cosine = Math.cos(angle); in minimumCosineDistance() 564 float cos = (float) Math.cos(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()
|
/frameworks/base/core/java/android/view/animation/ |
D | AccelerateDecelerateInterpolator.java | 41 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f; in getInterpolation()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 366 double cos = Math.cos(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/base/rs/java/android/renderscript/ |
D | Matrix3f.java | 116 c = (float)java.lang.Math.cos(rot); in loadRotate() 153 c = (float)java.lang.Math.cos(rot); in loadRotate()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | mandelbulb.rscript | 32 out.x = sin(n * theta) * cos(n * phi); 34 out.z = cos(n * theta);
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Matrix3f.java | 119 c = (float)java.lang.Math.cos(rot); in loadRotate() 156 c = (float)java.lang.Math.cos(rot); in loadRotate()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.cpp | 157 B1 = (0.5 - B2) * cos(T0); in LVEQNB_SinglePrecCoefs()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 399 double cos = Math.cos(Math.PI * one_minus_level); in draw() local 400 double sign = cos < 0 ? -1 : 1; in draw() 402 float gamma = (float) ((0.5d * sign * Math.pow(cos, 2) + 0.5d) * 0.9d + 0.1d); in draw()
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
D | FloatMathBenchmark.java | 44 f += FloatMath.cos(100.123f); in timeFloatMathCos()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | isp_isf.tab | 22 /* table of cos(x) in Q15 */
|
D | grid100.tab | 27 * grid[i] = cos((6.283185307*i)/(2.0*grid_points)); *
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | fp_mad.rscript | 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/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | fp_mad.rscript | 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/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | fp_mad.rscript | 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/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | fp_mad.rscript | 74 data_f4[i] = sin(data_f4[i]) * cos(data_f4[i]); 88 data_f1[i] = sin(data_f1[i]) * cos(data_f1[i]);
|