Home
last modified time | relevance | path

Searched refs:mReal (Results 1 – 8 of 8) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspBufferMath.java77 ((DspBufferComplex) r).mReal[i] = in add()
84 ((DspBufferComplex) r).mReal[i] = in add()
85 ((DspBufferComplex) x).mReal[i] + ((DspBufferComplex) y).mReal[i]; in add()
92 ((DspBufferComplex) r).mReal[i] = in add()
93 ((DspBufferComplex) x).mReal[i] + ((DspBufferDouble) y).mData[i]; in add()
109 ((DspBufferComplex) x).mReal[i] + ((DspBufferComplex) y).mReal[i]; in add()
115 ((DspBufferComplex) x).mReal[i] + ((DspBufferDouble) y).mData[i]; in add()
149 ((DspBufferComplex) r).mReal[i] = in mult()
156 double A = ((DspBufferComplex) x).mReal[i]; in mult()
158 double C = ((DspBufferComplex) y).mReal[i]; in mult()
[all …]
DDspFftServer.java68 t1 = r.mReal[ii]; in fft()
69 r.mReal[ii] = r.mReal[jj]; in fft()
70 r.mReal[jj] = t1; in fft()
90 t1 = cc * r.mReal[kk + n1] - ss * r.mImag[kk + n1]; in fft()
91 t2 = ss * r.mReal[kk + n1] + cc * r.mImag[kk + n1]; in fft()
92 r.mReal[kk + n1] = r.mReal[kk] - t1; in fft()
94 r.mReal[kk] = r.mReal[kk] + t1; in fft()
DDspBufferComplex.java20 public double[] mReal; field in DspBufferComplex
32 mReal = new double[size]; in setSize()
40 mReal[index] = values[0]; in setValues()
46 mReal[index] = value; in setValue()
56 sb.append(String.format("(%.3f, %3f) ", mReal[i], mImag[i])); in toString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencySpeakerActivity.java676 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()
DAudioFrequencyLineActivity.java660 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()
DAudioFrequencyMicActivity.java887 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()
DAudioFrequencyVoiceRecognitionActivity.java191 magnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + in onCreate()
DAudioFrequencyUnprocessedActivity.java1121 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()