Home
last modified time | relevance | path

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

/frameworks/base/media/jni/audioeffect/
DVisualizer.cpp274 status_t Visualizer::getWaveForm(uint8_t *waveform) in getWaveForm() argument
276 if (waveform == NULL) { in getWaveForm()
286 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
293 memset(waveform, 0x80, mCaptureSize); in getWaveForm()
320 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) in doFft() argument
327 ((waveform[i] ^ 0x80) << 24) | ((waveform[i + 1] ^ 0x80) << 8); in doFft()
356 uint8_t waveform[mCaptureSize]; in periodicCapture() local
357 status_t status = getWaveForm(waveform); in periodicCapture()
363 status = doFft(fft, waveform); in periodicCapture()
373 wavePtr = waveform; in periodicCapture()
DVisualizer.h92 uint8_t *waveform,
129 status_t getWaveForm(uint8_t *waveform);
161 status_t doFft(uint8_t *fft, uint8_t *waveform);
Dandroid_media_Visualizer.cpp163 uint8_t *waveform, in captureCallback() argument
183 if (waveformSize != 0 && waveform != NULL) { in captureCallback()
191 memcpy(nArray, waveform, waveformSize); in captureCallback()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerInstanceSync.java149 public void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform,
151 if (visualizer == mVisualizer && waveform.length > 0) {
152 Log.d(TAG, "onWaveFormDataCapture(): " + waveform[0]
156 dataToMinMaxCenter(waveform, waveform.length)));
DVisualizerTest.java99 boolean waveform = msg.what == MSG_DISPLAY_WAVEFORM_VAL; in handleMessage()
100 displayVal(waveform ? R.id.waveformMin : R.id.fftMin, minMaxCenter[0]); in handleMessage()
101 displayVal(waveform ? R.id.waveformMax : R.id.fftMax, minMaxCenter[1]); in handleMessage()
102 displayVal(waveform ? R.id.waveformCenter : R.id.fftCenter, minMaxCenter[2]); in handleMessage()
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java446 public int getWaveForm(byte[] waveform) in getWaveForm() argument
452 return native_getWaveForm(waveform); in getWaveForm()
582 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture() argument
613 int rate, boolean waveform, boolean fft) { in setDataCaptureListener() argument
616 waveform = false; in setDataCaptureListener()
621 status = native_setPeriodicCapture(rate, waveform, fft); in setDataCaptureListener()
725 private native final int native_getWaveForm(byte[] waveform); in native_getWaveForm() argument
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java829 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) vib.effect; in startVibrationInnerLocked() local
830 mThread = new VibrateThread(waveform, vib.uid, vib.attrs); in startVibrationInnerLocked()
921 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) vib.effect; in applyVibrationIntensityScalingLocked() local
922 waveform = waveform.resolve(mDefaultVibrationAmplitude); in applyVibrationIntensityScalingLocked()
923 scaledEffect = waveform.scale(scale.gamma, scale.maxAmplitude); in applyVibrationIntensityScalingLocked()
1346 VibrateThread(VibrationEffect.Waveform waveform, int uid, AudioAttributes attrs) { in VibrateThread() argument
1347 mWaveform = waveform; in VibrateThread()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java1220 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) effect; in vibrate() local
1221 pattern = waveform.getTimings(); in vibrate()
1222 repeat = waveform.getRepeatIndex(); in vibrate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java584 Visualizer visualizer, byte[] waveform, int samplingRate) { in createListenerLooper()
588 mWaveform = waveform; in createListenerLooper()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h2523 const SLuint8 waveform[],