Searched defs:mSoundPool (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.h60 SoundPool* mSoundPool; member in class:android::SoundPoolThread
H A DSoundPool.h146 SoundPool* mSoundPool; member in class:android::SoundChannel
/frameworks/base/media/java/android/media/
H A DMediaActionSound.java47 private SoundPool mSoundPool; field in class:MediaActionSound
119 mSoundPool = new SoundPool.Builder()
127 mSoundPool.setOnLoadCompleteListener(mLoadCompleteListener);
135 int id = mSoundPool.load(SOUND_FILES[sound.name], 1);
224 mSoundPool.play(sound.id, 1.0f, 1.0f, 0, 0, 1.0f);
278 if (mSoundPool != null) {
285 mSoundPool.release();
286 mSoundPool = null;
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java69 private SoundPool mSoundPool = null; field in class:SoundPoolTest.TestThread
83 synchronized(mSoundPool) {
89 mSoundPool.notify();
96 int id = mSoundPool.load(getApplicationContext(), resId, priority);
105 if (mSoundPool != null) {
107 mSoundPool.release();
108 mSoundPool = null;
114 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0);
115 mSoundPool.setOnLoadCompleteListener(new LoadCompleteCallback());
120 synchronized(mSoundPool) {
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java151 private SoundPool mSoundPool; field in class:SearchBar
339 mSoundPool = new SoundPool(2, AudioManager.STREAM_SYSTEM, 0);
347 mSoundPool.release();
781 mSoundMap.put(sound, mSoundPool.load(context, sound, 1));
790 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY,
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java249 private SoundPool mSoundPool; field in class:AudioService
2565 if (mSoundPool != null) {
2567 mSoundPool.setOnLoadCompleteListener(mSoundPoolCallBack);
4328 if (mSoundPool != null) {
4334 mSoundPool = new SoundPool.Builder()
4361 mSoundPool.release();
4362 mSoundPool = null;
4391 int sampleId = mSoundPool.load(filePath, 0);
4436 mSoundPool.release();
4437 mSoundPool
[all...]

Completed in 171 milliseconds