Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 17 of 17) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/
DMagnitudeAnalyzer.java45 float magnitude = Math.abs(value); in analyzeBuffer() local
46 if (magnitude > mMaxMagnitude) { in analyzeBuffer()
47 mMaxMagnitude = magnitude; in analyzeBuffer()
DBaseSineAnalyzer.java144 void setMagnitude(double magnitude) { in setMagnitude() argument
145 mMagnitude = magnitude; in setMagnitude()
203 double magnitude = 2.0 * Math.sqrt((sinMean * sinMean) + (cosMean * cosMean)); in calculateMagnitudePhase() local
205 return magphase.mMagnitude = magnitude; in calculateMagnitudePhase()
254 double magnitude = calculateMagnitudePhase(mMagPhase); in transformSample() local
257 setMagnitude((mMagnitude * (1.0 - coefficient)) + (magnitude * coefficient)); in transformSample()
/cts/tests/openglperf2/jni/graphics/
DVector2D.cpp53 float m = magnitude(); in normalize()
60 if (magnitude() > max) { in limit()
66 float Vector2D::magnitude() { in magnitude() function in Vector2D
DVector2D.h28 float magnitude();
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DGlitchAnalyzer.h54 void setMagnitude(double magnitude) { in setMagnitude() argument
55 mMagnitude = magnitude; in setMagnitude()
137 double magnitude = 2.0 * sqrt((sinMean * sinMean) + (cosMean * cosMean)); variable
142 return magnitude;
240 double magnitude = calculateMagnitude(&phaseOffset); in processInputFrame() local
242 … setMagnitude((mMagnitude * (1.0 - coefficient)) + (magnitude * coefficient)); in processInputFrame()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DMagnitudeVerificationTest.java52 …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/tests/location/location_privileged/src/android/location/cts/privileged/
DCorrelationVectorTest.java77 double frequencyOffsetMetersPerSecond, int[] magnitude) { in createTestCorrelationVector() argument
82 .setMagnitude(magnitude) in createTestCorrelationVector()
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DSignalObserver.java265 double magnitude = s2 * s2 + s1 * s1 - coeff * s1 * s2; in goertzel() local
266 return Math.sqrt(magnitude) / n / rms; in goertzel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepSensorPermissionTestActivity.java248 float magnitude = sensorEvent.values[0] * sensorEvent.values[0] + in onSensorChanged() local
251 mMagnitudes.add((float)Math.sqrt(magnitude)); in onSensorChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java231 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/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp72 float d = desired.magnitude(); in flock()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyVoiceRecognitionActivity.java190 double[] magnitude = new double[BLOCK_SIZE_SAMPLES / 2]; in onCreate()
192 magnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + in onCreate()
198 mFreqAverageTone.setData(magnitude, false); in onCreate()
206 mFreqAverageNoise.setData(magnitude, false); in onCreate()
209 mFreqAverageUsbBackground.setData(magnitude, false); in onCreate()
212 mFreqAverageUsbNoise.setData(magnitude, false); in onCreate()
DAudioDataPathsBaseActivity.java990 TestResults(int api, double magnitude, double maxMagnitude, double phase, in TestResults() argument
993 mMagnitude = magnitude; in TestResults()
/cts/tests/location/common/src/android/location/cts/common/
DTestMeasurementUtil.java360 int[] magnitude = correlationVector.getMagnitude(); in verifyCorrelationVectors() local
377 String.valueOf(magnitude.length), in verifyCorrelationVectors()
378 magnitude.length > 0); in verifyCorrelationVectors()
379 for (int value : magnitude) { in verifyCorrelationVectors()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java173 double magnitude = Math.sqrt(sumOfSquares); in getMagnitude() local
174 return magnitude; in getMagnitude()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java417 static private Target.Floaty copysign(double magnitude, double sign, Target t) { in copysign() argument
418 return t.newFloaty(Math.copySign(magnitude, sign)); in copysign()