Searched refs:mSounds (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | MediaActionSound.java | 48 private SoundState[] mSounds; field in MediaActionSound 128 mSounds = new SoundState[SOUND_FILES.length]; in MediaActionSound() 129 for (int i = 0; i < mSounds.length; i++) { in MediaActionSound() 130 mSounds[i] = new SoundState(i); in MediaActionSound() 159 SoundState sound = mSounds[soundName]; in load() 209 SoundState sound = mSounds[soundName]; in play() 237 for (SoundState sound : mSounds) { 279 for (SoundState sound : mSounds) { in release()
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 73 private int[] mSounds; field in SoundPoolTest.TestThread 117 mSounds = new int[numSounds]; in initSoundPool() 122 mSounds[index] = loadSound(mTestFiles[index], NORMAL_PRIORITY); in initSoundPool() 123 mLastSample = mSounds[index]; in initSoundPool() 132 int count = mSounds.length; in TestSounds() 134 int id = mSoundPool.play(mSounds[index], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestSounds() 156 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestScales() 177 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestRates() 202 int normalId = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestPriority() 212 int id = mSoundPool.play(mSounds[1], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestPriority() [all …]
|