Searched refs:mCurrentRingtone (Results 1 – 2 of 2) sorted by relevance
50 private Ringtone mCurrentRingtone; field in VolumeSettingsRingtoneManager89 if (mCurrentRingtone != null && mCurrentRingtone != nextRingtone in playAudioFeedback()90 && mCurrentRingtone.isPlaying()) { in playAudioFeedback()91 mCurrentRingtone.stop(); in playAudioFeedback()95 mCurrentRingtone = nextRingtone; in playAudioFeedback()96 mCurrentRingtone.play(); in playAudioFeedback()98 if (mCurrentRingtone.isPlaying()) { in playAudioFeedback()99 mCurrentRingtone.stop(); in playAudioFeedback()100 mCurrentRingtone = null; in playAudioFeedback()107 if (mCurrentRingtone != null) { in stopCurrentRingtone()[all …]
74 private Ringtone mCurrentRingtone; field in RingtonePickerPreferenceController240 mCurrentRingtone = mRingtoneManager.getRingtone(mCurrentlySelectedPos); in run()243 if (mCurrentRingtone != null) { in run()245 mCurrentRingtone.setAudioAttributes( in run()246 new AudioAttributes.Builder(mCurrentRingtone.getAudioAttributes()) in run()250 mCurrentRingtone.play(); in run()257 if (mCurrentRingtone != null && mCurrentRingtone.isPlaying()) { in stopAnyPlayingRingtone()258 mCurrentRingtone.stop(); in stopAnyPlayingRingtone()