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

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

Completed in 351 milliseconds