/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 233 static sp<Visualizer> getVisualizer(JNIEnv* env, jobject thiz) in getVisualizer() 236 Visualizer* const v = in getVisualizer() 237 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in getVisualizer() 238 return sp<Visualizer>(v); in getVisualizer() 241 static sp<Visualizer> setVisualizer(JNIEnv* env, jobject thiz, in setVisualizer() 242 const sp<Visualizer>& v) in setVisualizer() 245 sp<Visualizer> old = in setVisualizer() 246 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in setVisualizer() 357 sp<Visualizer> lpVisualizer; in android_media_visualizer_native_setup() 387 lpVisualizer = new Visualizer(String16(opPackageNameStr.c_str()), in android_media_visualizer_native_setup() [all …]
|
/frameworks/av/media/libmedia/ |
D | Visualizer.cpp | 37 Visualizer::Visualizer (const String16& opPackageName, in Visualizer() function in android::Visualizer 54 Visualizer::~Visualizer() in ~Visualizer() 61 status_t Visualizer::setEnabled(bool enabled) in setEnabled() 97 status_t Visualizer::setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, in setCaptureCallBack() 129 status_t Visualizer::setCaptureSize(uint32_t size) in setCaptureSize() 163 status_t Visualizer::setScalingMode(uint32_t mode) { in setScalingMode() 192 status_t Visualizer::setMeasurementMode(uint32_t mode) { in setMeasurementMode() 221 status_t Visualizer::getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements) { in getIntMeasurements() 259 status_t Visualizer::getWaveForm(uint8_t *waveform) in getWaveForm() 283 status_t Visualizer::getFft(uint8_t *fft) in getFft() [all …]
|
D | Android.mk | 73 Visualizer.cpp \
|
/frameworks/av/include/media/ |
D | Visualizer.h | 55 class Visualizer: public AudioEffect { 68 Visualizer(const String16& opPackageName, 74 ~Visualizer(); 150 CaptureThread(Visualizer& receiver, uint32_t captureRate, bool bCanCallJava = false); 153 friend class Visualizer; 155 Visualizer& mReceiver;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 25 import android.media.audiofx.Visualizer; 55 private Visualizer mVisualizer = null; 106 Visualizer visualizer = null; in test0_0ConstructorAndRelease() 108 visualizer = new Visualizer(0); in test0_0ConstructorAndRelease() 198 int res = mVisualizer.setScalingMode(Visualizer.SCALING_MODE_AS_PLAYED); in test1_2ScalingMode() 200 res, Visualizer.SUCCESS); in test1_2ScalingMode() 203 mode, Visualizer.SCALING_MODE_AS_PLAYED); in test1_2ScalingMode() 205 res = mVisualizer.setScalingMode(Visualizer.SCALING_MODE_NORMALIZED); in test1_2ScalingMode() 207 res, Visualizer.SUCCESS); in test1_2ScalingMode() 210 mode, Visualizer.SCALING_MODE_NORMALIZED); in test1_2ScalingMode() [all …]
|
D | MediaBassBoostTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaVirtualizerTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaEqualizerTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaPresetReverbTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaEnvReverbTest.java | 27 import android.media.audiofx.Visualizer;
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VisualizerTest.java | 22 import android.media.audiofx.Visualizer; 50 private Visualizer mVisualizer; 60 private static HashMap<Integer, Visualizer> sInstances = new HashMap<Integer, Visualizer>(10); 124 if (mVisualizer.getWaveForm(data) == Visualizer.SUCCESS) { in handleMessage() 130 if (mVisualizer.getFft(data) == Visualizer.SUCCESS) { in handleMessage() 144 private class VisualizerListener implements Visualizer.OnDataCaptureListener { 148 … public void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate) { 158 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) { 257 mVisualizer = new Visualizer(session); in getEffect()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | Visualizer.java | 67 public class Visualizer { class 203 public Visualizer(int audioSession) in Visualizer() method in Visualizer 210 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id, in Visualizer() 555 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture() 566 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture() 651 private Visualizer mVisualizer; 653 public NativeEventHandler(Visualizer v, Looper looper) { in NativeEventHandler() 760 Visualizer visu = (Visualizer)((WeakReference)effect_ref).get(); in postEventFromNative()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | EnergyProbe.java | 19 import android.media.audiofx.Visualizer; 36 private Visualizer mVisualizer = null; 43 mVisualizer = new Visualizer(session); in EnergyProbe() 68 if (mVisualizer.getFft(mFft) == Visualizer.SUCCESS) { in capture()
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.4.jd | 305 …Visualizer} by creating a new instance of {@link android.media.audiofx.Visualizer.MeasurementPeakR… 309 …cially useful in conjunction with the new {@link android.media.audiofx.Visualizer#getMeasurementPe…
|
D | kitkat.jd | 711 "Visualizer showing loudness enhancer audio effect" width="360" height="252" 728 Apps can use new monitoring tools in the Visualizer effect to get updates on
|
/frameworks/base/ |
D | compiled-classes-phone | 2549 android.media.audiofx.Visualizer
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16092 public class Visualizer { 16093 …ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationExcep… 16100 method public int getMeasurementPeakRms(android.media.audiofx.Visualizer.MeasurementPeakRms); 16106 …method public int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener, i… 16127 public static final class Visualizer.MeasurementPeakRms { 16128 ctor public Visualizer.MeasurementPeakRms(); 16133 public static abstract interface Visualizer.OnDataCaptureListener { 16134 method public abstract void onFftDataCapture(android.media.audiofx.Visualizer, byte[], int); 16135 … method public abstract void onWaveFormDataCapture(android.media.audiofx.Visualizer, byte[], int);
|
/frameworks/base/api/ |
D | current.txt | 22121 public class Visualizer { 22122 …ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationExcep… 22129 method public int getMeasurementPeakRms(android.media.audiofx.Visualizer.MeasurementPeakRms); 22135 …method public int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener, i… 22156 public static final class Visualizer.MeasurementPeakRms { 22157 ctor public Visualizer.MeasurementPeakRms(); 22162 public static abstract interface Visualizer.OnDataCaptureListener { 22163 method public abstract void onFftDataCapture(android.media.audiofx.Visualizer, byte[], int); 22164 … method public abstract void onWaveFormDataCapture(android.media.audiofx.Visualizer, byte[], int);
|
D | test-current.txt | 22190 public class Visualizer { 22191 …ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationExcep… 22198 method public int getMeasurementPeakRms(android.media.audiofx.Visualizer.MeasurementPeakRms); 22204 …method public int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener, i… 22225 public static final class Visualizer.MeasurementPeakRms { 22226 ctor public Visualizer.MeasurementPeakRms(); 22231 public static abstract interface Visualizer.OnDataCaptureListener { 22232 method public abstract void onFftDataCapture(android.media.audiofx.Visualizer, byte[], int); 22233 … method public abstract void onWaveFormDataCapture(android.media.audiofx.Visualizer, byte[], int);
|
D | system-current.txt | 23643 public class Visualizer { 23644 …ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationExcep… 23651 method public int getMeasurementPeakRms(android.media.audiofx.Visualizer.MeasurementPeakRms); 23657 …method public int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener, i… 23678 public static final class Visualizer.MeasurementPeakRms { 23679 ctor public Visualizer.MeasurementPeakRms(); 23684 public static abstract interface Visualizer.OnDataCaptureListener { 23685 method public abstract void onFftDataCapture(android.media.audiofx.Visualizer, byte[], int); 23686 … method public abstract void onWaveFormDataCapture(android.media.audiofx.Visualizer, byte[], int);
|