Searched refs:mSoundPlayer (Results 1 – 4 of 4) sorted by relevance
53 private final SoundPlayer mSoundPlayer; field in ResourceCaptureToolsImpl101 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()
56 private final SoundPlayer mSoundPlayer; field in ResourceConstructedImpl118 mSoundPlayer = new SoundPlayer(mContext); in ResourceConstructedImpl()203 return mSoundPlayer; in getSoundPlayer()
313 private SoundPlayer mSoundPlayer; field in CaptureModule426 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 …]
273 private SoundPlayer mSoundPlayer; field in CameraActivity1439 mSoundPlayer = new SoundPlayer(mAppContext); in onCreateTasks()2189 if (mSoundPlayer != null) { in onDestroyTasks()2190 mSoundPlayer.release(); in onDestroyTasks()2549 return mSoundPlayer; in getSoundPlayer()