Searched refs:soundName (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/media/java/android/media/
H A DMediaActionSound.java112 * @param soundName The type of sound to preload, selected from
121 public synchronized void load(int soundName) { argument
122 if (soundName < 0 || soundName >= SOUND_FILES.length) {
123 throw new RuntimeException("Unknown sound requested: " + soundName);
125 if (mSoundIds[soundName] == SOUND_NOT_LOADED) {
126 mSoundIds[soundName] =
127 mSoundPool.load(SOUND_FILES[soundName], 1);
152 * @param soundName The type of sound to play, selected from
162 public synchronized void play(int soundName) { argument
[all...]

Completed in 22 milliseconds