Searched refs:magnitude (Results 1 – 9 of 9) sorted by relevance
/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.cpp | 53 float m = magnitude(); in normalize() 60 if (magnitude() > max) { in limit() 66 float Vector2D::magnitude() { in magnitude() function in Vector2D
|
D | Vector2D.h | 28 float magnitude();
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | MagnitudeVerificationTest.java | 52 …e void runStats(float expected, float threshold, float[][] values, boolean pass, float magnitude) { in runStats() argument 66 assertEquals(magnitude, (Float) stats.getValue(SensorStats.MAGNITUDE_KEY), 0.01); in runStats()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyVoiceRecognitionActivity.java | 189 double[] magnitude = new double[BLOCK_SIZE_SAMPLES / 2]; in onCreate() 191 magnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + in onCreate() 197 mFreqAverageTone.setData(magnitude, false); in onCreate() 205 mFreqAverageNoise.setData(magnitude, false); in onCreate() 208 mFreqAverageUsbBackground.setData(magnitude, false); in onCreate() 211 mFreqAverageUsbNoise.setData(magnitude, false); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | ComplexMovementPath.java | 231 float magnitude = (float) Math.sqrt(Math.pow(rotation[X], 2) + in calculateRectangleHitbox() local 233 float lengthScaleFactor = 0.02f / magnitude; in calculateRectangleHitbox() 234 float widthScaleFactor = 0.17f / magnitude; in calculateRectangleHitbox()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | StepSensorPermissionTestActivity.java | 248 float magnitude = sensorEvent.values[0] * sensorEvent.values[0] + in onSensorChanged() local 251 mMagnitudes.add((float)Math.sqrt(magnitude)); in onSensorChanged()
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | Boid.cpp | 72 float d = desired.magnitude(); in flock()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 167 double magnitude = Math.sqrt(sumOfSquares); in getMagnitude() local 168 return magnitude; in getMagnitude()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 417 static private Target.Floaty copysign(double magnitude, double sign, Target t) { in copysign() argument 418 return t.newFloaty(Math.copySign(magnitude, sign)); in copysign()
|