Searched refs:halfMagnitude (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencySpeakerActivity.java | 677 double[] halfMagnitude = new double[mBlockSizeSamples / 2]; in onPeriodicNotification() local 679 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification() 682 mFreqAverageMain.setData(halfMagnitude, false); //average all of them! in onPeriodicNotification() 686 mFreqAverageBase.setData(halfMagnitude, false); in onPeriodicNotification() 689 mFreqAverageLeft.setData(halfMagnitude, false); in onPeriodicNotification() 692 mFreqAverageRight.setData(halfMagnitude, false); in onPeriodicNotification()
|
D | AudioFrequencyMicActivity.java | 785 double[] halfMagnitude = new double[mBlockSizeSamples / 2]; in onPeriodicNotification() local 787 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification() 790 mFreqAverageMain.setData(halfMagnitude, false); //average all of them! in onPeriodicNotification() 794 mFreqAverageBase.setData(halfMagnitude, false); in onPeriodicNotification() 797 mFreqAverageBuiltIn.setData(halfMagnitude, false); in onPeriodicNotification() 800 mFreqAverageReference.setData(halfMagnitude, false); in onPeriodicNotification()
|
D | AudioFrequencyLineActivity.java | 628 double[] halfMagnitude = new double[mBlockSizeSamples / 2]; in onPeriodicNotification() local 630 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification() 633 mFreqAverageMain.setData(halfMagnitude, false); //average all of them! in onPeriodicNotification() 637 mFreqAverage0.setData(halfMagnitude, false); in onPeriodicNotification() 640 mFreqAverage1.setData(halfMagnitude, false); in onPeriodicNotification()
|