Searched refs:waveform (Results 1 – 3 of 3) sorted by relevance
114 VibrationEffect waveform = VibrationEffect.createWaveform(timings, amplitudes, -1); in testVibrateWaveform() local115 mVibrator.vibrate(waveform); in testVibrateWaveform()118 waveform = VibrationEffect.createWaveform(timings, amplitudes, 0); in testVibrateWaveform()119 mVibrator.vibrate(waveform, AUDIO_ATTRIBUTES); in testVibrateWaveform()
509 Visualizer visualizer, byte[] waveform, int samplingRate) { in createListenerLooper()513 mWaveform = waveform; in createListenerLooper()
535 byte[] waveform, int samplingRate) { in OutputListener()537 for (int i = 0; i < waveform.length; i++) { in OutputListener()540 if (waveform[i] != -128) { in OutputListener()