Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspWindow.java141 int twoOverlap = 2 * overlap; in fillHamming() local
146 value = 0.54 - 0.46 * Math.cos(TWOPI * i / (twoOverlap - 1)); in fillHamming()
161 value = 0.54 - 0.46 * Math.cos(TWOPI * k / (twoOverlap - 1)); in fillHamming()
176 int twoOverlap = 2*overlap; in fillHanning() local
181 value = 0.5 * (1.0 - Math.cos(TWOPI * i / (twoOverlap - 1))); in fillHanning()
195 value = 0.5 * (1.0 - Math.cos(TWOPI * k / (twoOverlap - 1))); in fillHanning()