/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
D | SpringForce.java | 82 double mNaturalFreq = Math.sqrt(STIFFNESS_MEDIUM); 139 mNaturalFreq = Math.sqrt(stiffness); in setStiffness() 250 + mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init() 252 - mNaturalFreq * Math.sqrt(mDampingRatio * mDampingRatio - 1); in init() 255 mDampedFreq = mNaturalFreq * Math.sqrt(1 - mDampingRatio * mDampingRatio); in init()
|
/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | Cam.java | 201 * (float) Math.sqrt(j / 100.0f) in fromIntInFrame() 209 float t = p1 * (float) Math.sqrt(a * a + b * b) / (u + 0.305f); in fromIntInFrame() 214 float c = alpha * (float) Math.sqrt(j / 100.0); in fromIntInFrame() 216 float s = 50.0f * (float) Math.sqrt((alpha * frame.getC()) / (frame.getAw() + 4.0f)); in fromIntInFrame() 245 * (float) Math.sqrt(j / 100.0) in fromJchInFrame() 249 float alpha = c / (float) Math.sqrt(j / 100.0); in fromJchInFrame() 250 float s = 50.0f * (float) Math.sqrt((alpha * frame.getC()) / (frame.getAw() + 4.0f)); in fromJchInFrame() 270 double dEPrime = Math.sqrt(dJ * dJ + dA * dA + dB * dB); in distance() 285 : getChroma() / (float) Math.sqrt(getJ() / 100.0); in viewed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetailClipper.java | 76 int r = (int) Math.ceil(Math.sqrt(x * x + y * y)); in updateCircularClip() 77 r = (int) Math.max(r, Math.ceil(Math.sqrt(w * w + y * y))); in updateCircularClip() 78 r = (int) Math.max(r, Math.ceil(Math.sqrt(w * w + h * h))); in updateCircularClip() 79 r = (int) Math.max(r, Math.ceil(Math.sqrt(x * x + h * h))); in updateCircularClip()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DensityMapping.java | 86 double leftDiagonal = Math.sqrt(left.squaredDiagonal); in getDensityForResolution() 87 double rightDiagonal = Math.sqrt(right.squaredDiagonal); in getDensityForResolution() 88 double diagonal = Math.sqrt(squaredDiagonal); in getDensityForResolution()
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 93 public static float sqrt(float value) { in sqrt() method in FloatMath 94 return (float) Math.sqrt(value); in sqrt()
|
D | MathUtils.java | 66 public static float sqrt(float a) { in sqrt() method in MathUtils 67 return (float) Math.sqrt(a); in sqrt() 113 return (float) Math.sqrt(x * x + y * y + z * z); in dist() 121 return (float) Math.sqrt(a * a + b * b + c * c); in mag()
|
/frameworks/native/libs/input/ |
D | MotionPredictorMetricsManager.cpp | 284 const float alongTrajectoryErrorStd = std::sqrt(alongTrajectoryErrorVariance); in computeAtomFields() 293 std::sqrt(mAggregatedMetrics[i].offTrajectorySumSquaredErrors / in computeAtomFields() 302 const float pressureRmse = std::sqrt(mAggregatedMetrics[i].pressureSumSquaredErrors / in computeAtomFields() 315 std::sqrt(mAggregatedMetrics[i].highVelocityAlongTrajectorySse / in computeAtomFields() 325 std::sqrt(mAggregatedMetrics[i].highVelocityOffTrajectorySse / in computeAtomFields() 349 std::sqrt(mAggregatedMetrics[j].scaleInvariantAlongTrajectorySse / in computeAtomFields() 356 offTrajectoryRmseSum += std::sqrt(mAggregatedMetrics[j].scaleInvariantOffTrajectorySse / in computeAtomFields()
|
/frameworks/rs/driver/runtime/arch/ |
D | x86_sse2.ll | 9 declare float @llvm.sqrt.f32(float) nounwind readnone 10 declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) nounwind readnone 11 declare <3 x float> @llvm.sqrt.v3f32(<3 x float>) nounwind readnone 12 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>) nounwind readnone 85 %1 = tail call float @llvm.sqrt.f32(float %in) nounwind readnone 90 %1 = tail call <2 x float> @llvm.sqrt.v2f32(<2 x float> %in) nounwind readnone 95 %1 = tail call <3 x float> @llvm.sqrt.v3f32(<3 x float> %in) nounwind readnone 100 %1 = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> %in) nounwind readnone
|
D | x86_sse3.ll | 6 declare float @llvm.sqrt.f32(float) nounwind readnone 46 %5 = tail call float @llvm.sqrt.f32(float %4) nounwind readnone 59 %9 = tail call float @llvm.sqrt.f32(float %8) nounwind readnone 68 %5 = tail call float @llvm.sqrt.f32(float %4) nounwind readnone
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 295 return (float) Math.sqrt(mX * mX + mY * mY + mZ * mZ); in getFieldStrength() 319 (float) Math.sqrt(a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates() 327 + 2 * altitudeKm * (float) Math.sqrt(a2 * clat * clat + in computeGeocentricCoordinates() 331 mGcRadiusKm = (float) Math.sqrt(radSq); in computeGeocentricCoordinates() 406 * (float) Math.sqrt((n - m + 1) * (m == 1 ? 2 : 1)
|
/frameworks/av/media/libheadtracking/ |
D | Twist-test.cpp | 43 EXPECT_FLOAT_EQ(twist.scalarRotationalVelocity(), std::sqrt(14.f)); in TEST() 44 EXPECT_FLOAT_EQ(twist.scalarTranslationalVelocity(), std::sqrt(77.f)); in TEST()
|
D | QuaternionUtil.cpp | 45 const float norm_of_v = sqrt(squared_norm_of_v); in LogSU2() 64 const float theta = sqrt(theta_squared); in ExpSU2()
|
/frameworks/rs/driver/runtime/ll64/ |
D | math.ll | 4 declare float @llvm.sqrt.f32(float) 12 %1 = tail call float @llvm.sqrt.f32(float %v)
|
/frameworks/rs/driver/runtime/ll32/ |
D | math.ll | 4 declare float @llvm.sqrt.f32(float) 12 %1 = tail call float @llvm.sqrt.f32(float %v)
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
D | FloatMathBenchmark.java | 98 f += FloatMath.sqrt(100.123f); in timeFloatMathSqrt() 107 f += (float) Math.sqrt(100.123f); in timeFloatMathSqrt_math()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | FloatMathTest.java | 43 assertEquals((float) Math.sqrt(value), FloatMath.sqrt(value), DELTA); in testSqrt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | ViewStateTest.kt | 25 import kotlin.math.sqrt 58 assertLogsWtf { viewState.zTranslation = sqrt(-1.0).toFloat() } in testWtfs()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | stats_scorer.cpp | 39 result[1] = sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev. in Java_androidx_media_filterpacks_numeric_StatsFilter_score() 67 0 : sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev. in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | fisheye.rsh | 38 const float bound = sqrt(bound2); 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | fisheye.rsh | 38 const float bound = sqrt(bound2); 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | fisheye.rsh | 38 const float bound = sqrt(bound2); 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/ |
D | Vector3.kt | 21 import kotlin.math.sqrt 163 return sqrt(dx * dx + dy * dy + dz * dz) in distanceTo() 173 return sqrt(dot(x, y, z)) in length()
|
/frameworks/base/tests/JankBench/scripts/external/ |
D | statistics.py | 620 return var.sqrt() 622 return math.sqrt(var) 636 return var.sqrt() 638 return math.sqrt(var)
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | VignetteFilter.java | 102 float max_dist = ((float) Math.sqrt(scale[0] * scale[0] + scale[1] * scale[1])) * 0.5f; in initParameters() 115 mProgram.setHostValue("range", 1.30f - (float) Math.sqrt(mScale) * 0.7f); in updateParameters()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingView.kt | 28 import kotlin.math.sqrt in <lambda>() 135 sqrt((x - getHistoricalX(0)).pow(2) + (y - getHistoricalY(0)).pow(2)) in MotionEvent()
|