Home
last modified time | relevance | path

Searched refs:soundId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DSoundPlayer.java50 int soundId = mSoundPool.load(mAppContext, resourceId, 1/* priority */); in loadSound() local
51 mResourceToSoundId.put(resourceId, soundId); in loadSound()
59 Integer soundId = mResourceToSoundId.get(resourceId); in play() local
60 if (soundId == null) { in play()
63 mSoundPool.play(soundId, volume, volume, 0 /* priority */, 0 /* loop */, 1 /* rate */); in play()
70 Integer soundId = mResourceToSoundId.get(resourceId); in unloadSound() local
71 if (soundId == null) { in unloadSound()
74 mSoundPool.unload(soundId); in unloadSound()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DFocusSound.java31 public FocusSound(SoundPlayer player, int soundId) { in FocusSound() argument
33 mSoundId = soundId; in FocusSound()
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java84 public void playSound(int soundId); in playSound() argument
DCamera.java1068 public void playSound(int soundId) { in playSound() argument
1069 mCameraSound.play(soundId); in playSound()