Searched refs:halfMagnitude (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencySpeakerActivity.java | 674 double[] halfMagnitude = new double[mBlockSizeSamples / 2]; in onPeriodicNotification() local 676 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification() 679 mFreqAverageMain.setData(halfMagnitude, false); //average all of them! in onPeriodicNotification() 683 mFreqAverageBase.setData(halfMagnitude, false); in onPeriodicNotification() 686 mFreqAverageLeft.setData(halfMagnitude, false); in onPeriodicNotification() 689 mFreqAverageRight.setData(halfMagnitude, false); in onPeriodicNotification()
|
D | AudioFrequencyLineActivity.java | 658 double[] halfMagnitude = new double[mBlockSizeSamples / 2]; in onPeriodicNotification() local 660 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification() 663 mFreqAverageMain.setData(halfMagnitude, false); //average all of them! in onPeriodicNotification() 667 mFreqAverage0.setData(halfMagnitude, false); in onPeriodicNotification() 670 mFreqAverage1.setData(halfMagnitude, false); in onPeriodicNotification()
|
D | AudioFrequencyMicActivity.java | 885 double[] halfMagnitude = new double[mBlockSizeSamples / 2]; in onPeriodicNotification() local 887 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification() 892 mFreqAverageNoise.setData(halfMagnitude, false); in onPeriodicNotification() 895 mFreqAverageUsbBackground.setData(halfMagnitude, false); in onPeriodicNotification() 898 mFreqAverageUsbNoise.setData(halfMagnitude, false); in onPeriodicNotification()
|
D | AudioFrequencyUnprocessedActivity.java | 1119 double[] halfMagnitude = new double[mBlockSizeSamples / 2]; in onPeriodicNotification() local 1121 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification() 1126 mFreqAverageTone.setData(halfMagnitude, false); in onPeriodicNotification() 1134 mFreqAverageNoise.setData(halfMagnitude, false); in onPeriodicNotification() 1137 mFreqAverageUsbBackground.setData(halfMagnitude, false); in onPeriodicNotification() 1140 mFreqAverageUsbNoise.setData(halfMagnitude, false); in onPeriodicNotification()
|