Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceCaptureToolsImpl.java53 private final SoundPlayer mSoundPlayer; field in ResourceCaptureToolsImpl
101 mSoundPlayer = soundPlayer; in ResourceCaptureToolsImpl()
102 mSoundPlayer.loadSound(R.raw.timer_final_second); // Will be balanced in close(). in ResourceCaptureToolsImpl()
103 mSoundPlayer.loadSound(R.raw.timer_increment); // Will be balanced in close(). in ResourceCaptureToolsImpl()
115 mSoundPlayer.unloadSound(R.raw.timer_increment); in close()
116 mSoundPlayer.unloadSound(R.raw.timer_final_second); in close()
209 mSoundPlayer.play(R.raw.timer_final_second, 0.6f); in playCountDownSound()
211 mSoundPlayer.play(R.raw.timer_increment, 0.6f); in playCountDownSound()
DResourceConstructedImpl.java56 private final SoundPlayer mSoundPlayer; field in ResourceConstructedImpl
118 mSoundPlayer = new SoundPlayer(mContext); in ResourceConstructedImpl()
203 return mSoundPlayer; in getSoundPlayer()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java313 private SoundPlayer mSoundPlayer; field in CaptureModule
426 mSoundPlayer = new SoundPlayer(mContext); in init()
428 FocusSound focusSound = new FocusSound(mSoundPlayer, R.raw.material_camera_focus); in init()
596 mSoundPlayer.play(R.raw.timer_final_second, 0.6f); in onRemainingSecondsChanged()
598 mSoundPlayer.play(R.raw.timer_increment, 0.6f); in onRemainingSecondsChanged()
716 mSoundPlayer.loadSound(R.raw.timer_final_second); in resume()
717 mSoundPlayer.loadSound(R.raw.timer_increment); in resume()
739 mSoundPlayer.unloadSound(R.raw.timer_final_second); in pause()
740 mSoundPlayer.unloadSound(R.raw.timer_increment); in pause()
745 mSoundPlayer.release(); in destroy()
[all …]
DCameraActivity.java273 private SoundPlayer mSoundPlayer; field in CameraActivity
1439 mSoundPlayer = new SoundPlayer(mAppContext); in onCreateTasks()
2189 if (mSoundPlayer != null) { in onDestroyTasks()
2190 mSoundPlayer.release(); in onDestroyTasks()
2549 return mSoundPlayer; in getSoundPlayer()