/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestSqrt.rs | 24 return sqrt(inV); 28 return sqrt(inV); 32 return sqrt(inV); 36 return sqrt(inV); 40 return sqrt(inV); 44 return sqrt(inV); 48 return sqrt(inV); 52 return sqrt(inV);
|
/cts/tests/tests/libcorelegacy22/src/android/util/cts/ |
D | FloatMathTest.java | 24 assertEquals(5.0f, FloatMath.sqrt(25)); in testSqrt() 25 assertEquals(7, FloatMath.sqrt(49), 0); in testSqrt() 26 assertEquals(10, FloatMath.sqrt(100), 0); in testSqrt() 27 assertEquals(0, FloatMath.sqrt(0), 0); in testSqrt() 28 assertEquals(1, FloatMath.sqrt(1), 0); in testSqrt()
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | StatTest.java | 73 assertEquals(Math.sqrt(2.5), stddev, 0.00001); in testGetStandardDeviation() 77 assertEquals(Math.sqrt(2.5), stddev, 0.00001); in testGetStandardDeviation() 81 assertEquals(Math.sqrt(10.0), stddev, 0.00001); in testGetStandardDeviation()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | StandardDeviationVerificationTest.java | 46 (float) Math.sqrt(2.5), (float) Math.sqrt(2.5), (float) Math.sqrt(10.0) in testVerify()
|
D | StandardDeviationVerification.java | 91 float mAccelNoise = (float)(graceFactorAccelGyro * Math.sqrt(currOperatingFreq) * in getDefault() 93 float mGyroNoise = (float)(graceFactorAccelGyro * Math.sqrt(currOperatingFreq) * in getDefault() 97 (float)Math.sqrt(currOperatingFreq)); // Allow extra grace for pressure in getDefault() 141 stdDevs[i] = (float) Math.sqrt(mM2s[i] / (mCount - 1)); in verify()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.cpp | 49 return (float) sqrt(dx * dx + dy * dy); in distance() 67 return (float) sqrt(mX * mX + mY * mY); in magnitude()
|
D | Matrix.cpp | 144 float rlf = 1.0f / (float) sqrt(fx * fx + fy * fy + fz * fz); in newLookAt() 155 float rls = 1.0f / (float) sqrt(sx * sx + sy * sy + sz * sz); in newLookAt() 289 float len = sqrt((x * x) + (y * y) + (z * z)); in newRotate()
|
/cts/tools/dasm/test/ |
D | all_opcodes.d | 136 invoke-virtual {v1}, java/lang/Math/sqrt(D)D 137 invoke-super {v1}, java/lang/Math/sqrt(D)D 138 invoke-direct {v1}, java/lang/Math/sqrt(D)D 139 invoke-static {v1}, java/lang/Math/sqrt(D)D 140 ;invoke-interface {v1}, java/lang/Math/sqrt(D)D 142 invoke-virtual/range {v1..v4}, java/lang/Math/sqrt(D)D 143 invoke-super/range {v1..v4}, java/lang/Math/sqrt(D)D 144 invoke-direct/range {v1..v4}, java/lang/Math/sqrt(D)D 145 invoke-static/range {v1..v4}, java/lang/Math/sqrt(D)D 146 ;invoke-interface/range {v1..v4}, java/lang/Math/sqrt(D)D
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Target.java | 266 Floaty sqrt(Floaty a) { in sqrt() method in Target 271 double f = Math.sqrt(a.mValue); in sqrt() 272 double min = Math.sqrt(a.mMinValue); in sqrt() 273 double max = Math.sqrt(a.mMaxValue); in sqrt()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 126 return Math.sqrt(getVariance(collection)); in getStandardDeviation() 151 double magnitude = Math.sqrt(sumOfSquares); in getMagnitude()
|
/cts/suite/audio_quality/lib/src/ |
D | BuiltinProcessing.cpp | 62 rms = (int64_t)sqrt(energy/samples); in rms_mva()
|
/cts/libs/view/src/com/android/view/ |
D | Position.java | 50 return Math.sqrt(Math.pow((mX - other.mX), 2) + Math.pow((mY - other.mY), 2)); in distanceTo()
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_jpeg.py | 56 rms_diff = math.sqrt(
|
D | test_yuv_plus_jpeg.py | 58 rms_diff = math.sqrt(
|
D | test_yuv_plus_raw.py | 61 rms_diff = math.sqrt(
|
D | test_yuv_plus_raw10.py | 61 rms_diff = math.sqrt(
|
D | test_yuv_plus_raw12.py | 61 rms_diff = math.sqrt(
|
D | test_yuv_jpeg_all.py | 76 rms_diff = math.sqrt(
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | ArcShapeTest.java | 75 assertEquals((double)SQUARE / 2 / Math.sqrt(2), count, TOLERANCE); in testDraw()
|
D | OvalShapeTest.java | 68 assertEquals((double)SQUARE / Math.sqrt(2), count, TOLERANCE); in testDraw()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationTest.java | 45 double diagonalInches = Math.sqrt(Math.pow(xInches, 2) + Math.pow(yInches, 2)); in testScreenConfiguration()
|
/cts/tests/openglperf2/jni/primitive/shaderperf/ |
D | ShaderPerfRenderer.cpp | 21 static const float GOLDEN_RATIO = (1.0f + sqrt(5.0f)) / 2.0f;
|
/cts/tests/vr/src/android/vr/cts/ |
D | VrDisplayTest.java | 114 double diagonalLength = Math.sqrt(width * width + height * height); in testDisplayDimensions()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CornerPathEffectTest.java | 96 assertTrue(cornerPixels > Math.sqrt(2 * Math.pow(RADIUS, 2))); in testCornerPathEffect()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 240 rms = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)+ calcSqrErr(vrecs, srecs2, 1)); in processDataSet() 258 report.roll_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)); in processDataSet() 259 report.pitch_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 1)); in processDataSet() 260 report.yaw_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 2)); in processDataSet() 603 ret[1] = Math.sqrt(sumsq/srec.size() - ret[0]*ret[0]); in calcSensorPeriodStat() 1299 double t = Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]); in rodr2quat() 1306 double t = Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]); in rodr2quat()
|