Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DVisualizer.cpp268 status_t Visualizer::getWaveForm(uint8_t *waveform) in getWaveForm() argument
270 if (waveform == NULL) { in getWaveForm()
280 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
287 memset(waveform, 0x80, mCaptureSize); in getWaveForm()
314 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) in doFft() argument
321 ((waveform[i] ^ 0x80) << 24) | ((waveform[i + 1] ^ 0x80) << 8); in doFft()
350 uint8_t waveform[mCaptureSize]; in periodicCapture() local
351 status_t status = getWaveForm(waveform); in periodicCapture()
357 status = doFft(fft, waveform); in periodicCapture()
367 wavePtr = waveform; in periodicCapture()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java148 … public void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate) {
150 if (waveform.length > 0) {
151 … Log.d(TAG, "onWaveFormDataCapture(): "+waveform[0]+" smp rate: "+samplingRate/1000);
152 displayVal(R.id.waveformMin, waveform[0]);
153 displayVal(R.id.waveformMax, waveform[waveform.length - 1]);
154 displayVal(R.id.waveformCenter, waveform[waveform.length/2]);
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java436 public int getWaveForm(byte[] waveform) in getWaveForm() argument
442 return native_getWaveForm(waveform); in getWaveForm()
572 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture() argument
603 int rate, boolean waveform, boolean fft) { in setDataCaptureListener() argument
609 waveform = false; in setDataCaptureListener()
612 int status = native_setPeriodicCapture(rate, waveform, fft); in setDataCaptureListener()
766 private native final int native_getWaveForm(byte[] waveform); in native_getWaveForm() argument
/frameworks/av/media/libmedia/include/media/
DVisualizer.h91 uint8_t *waveform,
128 status_t getWaveForm(uint8_t *waveform);
160 status_t doFft(uint8_t *fft, uint8_t *waveform);
/frameworks/av/include/media/
DVisualizer.h91 uint8_t *waveform,
128 status_t getWaveForm(uint8_t *waveform);
160 status_t doFft(uint8_t *fft, uint8_t *waveform);
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java769 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) vib.effect; in startVibrationInnerLocked() local
770 mThread = new VibrateThread(waveform, vib.uid, vib.usageHint); in startVibrationInnerLocked()
860 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) vib.effect; in applyVibrationIntensityScalingLocked() local
861 waveform = waveform.resolve(mDefaultVibrationAmplitude); in applyVibrationIntensityScalingLocked()
862 scaledEffect = waveform.scale(scale.gamma, scale.maxAmplitude); in applyVibrationIntensityScalingLocked()
1220 VibrateThread(VibrationEffect.Waveform waveform, int uid, int usageHint) { in VibrateThread() argument
1221 mWaveform = waveform; in VibrateThread()
/frameworks/base/media/jni/audioeffect/
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/core/java/android/hardware/input/
DInputManager.java1204 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) effect; in vibrate() local
1205 pattern = waveform.getTimings(); in vibrate()
1206 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[],
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...