Searched defs:mSoundPool (Results 1 - 6 of 6) 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;
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPoolThread.h | 60 SoundPool* mSoundPool; member in class:android::SoundPoolThread
|
H A D | SoundPool.h | 146 SoundPool* mSoundPool; member in class:android::SoundChannel
|
/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/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); 323 mSoundPool.release(); 736 mSoundMap.put(sound, mSoundPool.load(context, sound, 1)); 745 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY,
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 248 private SoundPool mSoundPool; field in class:AudioService 2415 if (mSoundPool != null) { 2417 mSoundPool.setOnLoadCompleteListener(mSoundPoolCallBack); 4116 if (mSoundPool != null) { 4122 mSoundPool = new SoundPool.Builder() 4149 mSoundPool.release(); 4150 mSoundPool = null; 4179 int sampleId = mSoundPool.load(filePath, 0); 4224 mSoundPool.release(); 4225 mSoundPool [all...] |
Completed in 192 milliseconds