Home
last modified time | relevance | path

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

/frameworks/base/media/jni/audioeffect/
DVisualizer.cpp273 status_t Visualizer::getWaveForm(uint8_t *waveform) in getWaveForm() argument
275 if (waveform == NULL) { in getWaveForm()
285 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
292 memset(waveform, 0x80, mCaptureSize); in getWaveForm()
319 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) in doFft() argument
326 ((waveform[i] ^ 0x80) << 24) | ((waveform[i + 1] ^ 0x80) << 8); in doFft()
355 uint8_t waveform[mCaptureSize]; in periodicCapture() local
356 status_t status = getWaveForm(waveform); in periodicCapture()
362 status = doFft(fft, waveform); in periodicCapture()
372 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/
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.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/core/tests/coretests/src/android/os/
DVibrationEffectTest.java223 VibrationEffect.Waveform waveform = new VibrationEffect.Waveform(
231 waveform.scale(2f, 128).getAmplitudes()[0]);
/frameworks/base/core/proto/android/server/
Dvibratorservice.proto41 optional WaveformProto waveform = 1; field
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java942 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) vib.effect; in startVibrationInnerLocked() local
943 mThread = new VibrateThread(waveform, vib.uid, vib.attrs); in startVibrationInnerLocked()
1034 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) vib.effect; in applyVibrationIntensityScalingLocked() local
1035 waveform = waveform.resolve(mDefaultVibrationAmplitude); in applyVibrationIntensityScalingLocked()
1036 scaledEffect = waveform.scale(scale.gamma, scale.maxAmplitude); in applyVibrationIntensityScalingLocked()
1584 VibrateThread(VibrationEffect.Waveform waveform, int uid, VibrationAttributes attrs) { in VibrateThread() argument
1585 mWaveform = waveform; in VibrateThread()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java1307 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) effect; in vibrate() local
1308 pattern = waveform.getTimings(); in vibrate()
1309 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/ ...