Searched defs:mSoundPool (Results 1 - 6 of 6) sorted by relevance
/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/java/android/media/ |
H A D | MediaActionSound.java | 47 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 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 | 151 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 D | AudioService.java | 249 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