Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java183 int smplIndex = chanIndex; in drawChannelFloat() local
184 float yCoord = zeroY - (samples[smplIndex] * yScale); in drawChannelFloat()
194 float smpl = samples[smplIndex]; in drawChannelFloat()
206 smplIndex += numChans; in drawChannelFloat()
219 yCoord = zeroY - (samples[smplIndex] * yScale); in drawChannelFloat()
224 smplIndex += numChans; in drawChannelFloat()
231 smplIndex = chanIndex; in drawChannelFloat()
233 if (samples[smplIndex] > mPersistentMaxMagnitude) { in drawChannelFloat()
234 mPersistentMaxMagnitude = samples[smplIndex]; in drawChannelFloat()
235 } else if (-samples[smplIndex] > mPersistentMaxMagnitude) { in drawChannelFloat()
[all …]