Searched refs:Visualizer (Results 1 – 15 of 15) sorted by relevance
35 Visualizer::Visualizer (const String16& opPackageName, in Visualizer() function in android::Visualizer52 Visualizer::~Visualizer() in ~Visualizer()59 void Visualizer::release() in release()72 status_t Visualizer::setEnabled(bool enabled) in setEnabled()106 status_t Visualizer::setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, in setCaptureCallBack()138 status_t Visualizer::setCaptureSize(uint32_t size) in setCaptureSize()172 status_t Visualizer::setScalingMode(uint32_t mode) { in setScalingMode()201 status_t Visualizer::setMeasurementMode(uint32_t mode) { in setMeasurementMode()230 status_t Visualizer::getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements) { in getIntMeasurements()268 status_t Visualizer::getWaveForm(uint8_t *waveform) in getWaveForm()[all …]
259 "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 …]
55 class Visualizer: public AudioEffect {68 Visualizer(const String16& opPackageName,74 ~Visualizer();150 CaptureThread(Visualizer* visualizer, uint32_t captureRate, bool bCanCallJava = false);153 friend class Visualizer;155 wp<Visualizer> mReceiver;
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()
69 public class Visualizer { class206 public Visualizer(int audioSession) in Visualizer() method in Visualizer213 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id, in Visualizer()572 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture()586 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture()671 private Visualizer mVisualizer;673 public NativeEventHandler(Visualizer v, Looper looper) { in NativeEventHandler()780 Visualizer visu = (Visualizer)((WeakReference)effect_ref).get(); in postEventFromNative()
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 …]
27 import android.media.audiofx.Visualizer;
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()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...