Searched refs:mSoundPool (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | MediaActionSound.java | 47 private SoundPool mSoundPool; field in class:MediaActionSound 99 mSoundPool = new SoundPool(NUM_MEDIA_SOUND_STREAMS, 101 mSoundPool.setOnLoadCompleteListener(mLoadCompleteListener); 127 mSoundPool.load(SOUND_FILES[soundName], 1); 168 mSoundPool.load(SOUND_FILES[soundName], 1); 171 mSoundPool.play(mSoundIds[soundName], 1.0f, 1.0f, 0, 0, 1.0f); 197 if (mSoundPool != null) { 198 mSoundPool.release(); 199 mSoundPool = null;
|
H A D | SoundPool.java | 674 private SoundPool mSoundPool; field in class:SoundPool.SoundPoolImpl.EventHandler 678 mSoundPool = soundPool; 688 mOnLoadCompleteListener.onLoadComplete(mSoundPool, msg.arg1, msg.arg2);
|
H A D | AudioService.java | 232 private SoundPool mSoundPool; field in class:AudioService 2372 if (mSoundPool != null) { 2374 mSoundPool.setOnLoadCompleteListener(mSoundPoolCallBack); 3983 if (mSoundPool != null) { 3989 mSoundPool = new SoundPool.Builder() 4016 mSoundPool.release(); 4017 mSoundPool = null; 4046 int sampleId = mSoundPool.load(filePath, 0); 4091 mSoundPool.release(); 4092 mSoundPool [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 69 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/av/media/libmedia/ |
H A D | SoundPoolThread.cpp | 62 mSoundPool(soundPool) 106 sp <Sample> sample = mSoundPool->findSample(sampleID); 111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status));
|
H A D | SoundPoolThread.h | 60 SoundPool* mSoundPool; member in class:android::SoundPoolThread
|
H A D | SoundPool.cpp | 553 mSoundPool = soundPool; 583 audio_stream_type_t streamType = audio_attributes_to_stream_type(mSoundPool->attributes()); 764 mSoundPool->addToStopList(this); 792 mSoundPool->done_l(this); 806 mSoundPool->done_l(this);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchBar.java | 128 private SoundPool mSoundPool; field in class:SearchBar 315 mSoundPool = new SoundPool(2, AudioManager.STREAM_SYSTEM, 0); 322 mSoundPool.release(); 731 mSoundMap.put(sound, mSoundPool.load(context, sound, 1)); 740 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY,
|
/frameworks/av/include/media/ |
H A D | SoundPool.h | 153 SoundPool* mSoundPool; member in class:android::SoundChannel
|
Completed in 5280 milliseconds