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

/frameworks/base/media/java/android/media/
H A DIAudioService.aidl57 oneway void playSoundEffect(int effectType);
59 oneway void playSoundEffectVolume(int effectType, float volume);
H A DAudioManager.java1155 * @param effectType The type of sound effect. One of
1168 public void playSoundEffect(int effectType) { argument
1169 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) {
1179 service.playSoundEffect(effectType);
1187 * @param effectType The type of sound effect. One of
1203 public void playSoundEffect(int effectType, float volume) { argument
1204 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) {
1210 service.playSoundEffectVolume(effectType, volum
[all...]
H A DAudioService.java771 public void playSoundEffect(int effectType) { argument
773 effectType, -1, null, 0);
777 public void playSoundEffectVolume(int effectType, float volume) { argument
780 effectType, (int) (volume * 1000), null, 0);
1547 private void playSoundEffect(int effectType, int volume) { argument
1564 if (SOUND_EFFECT_FILES_MAP[effectType][1] > 0) {
1565 mSoundPool.play(SOUND_EFFECT_FILES_MAP[effectType][1], volFloat, volFloat, 0, 0, 1.0f);
1570 String filePath = Environment.getRootDirectory() + SOUND_EFFECTS_PATH + SOUND_EFFECT_FILES[SOUND_EFFECT_FILES_MAP[effectType][0]];

Completed in 42 milliseconds