Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DSoundPlayer.java57 int soundId = mSoundPool.load(mAppContext, resourceId, 1/* priority */); in loadSound() local
58 mResourceToSoundId.put(resourceId, soundId); in loadSound()
66 Integer soundId = mResourceToSoundId.get(resourceId); in play() local
67 if (soundId == null) { in play()
70 mSoundPool.play(soundId, volume, volume, 0 /* priority */, 0 /* loop */, 1 /* rate */); in play()
77 Integer soundId = mResourceToSoundId.get(resourceId); in unloadSound() local
78 if (soundId == null) { in unloadSound()
81 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/TvSettings/Settings/src/com/android/tv/settings/
DSystemSoundsPlayer.java185 int soundId = msg.arg1; in handleMessage() local
186 soundPool.play(soundId, mVolumeAttenuation, mVolumeAttenuation, /* priority= */ in handleMessage()
/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()