Searched refs:mRingtone (Results 1 – 2 of 2) sorted by relevance
73 private final Ringtone mRingtone; field in RingtonePlayer.Client78 mRingtone = new Ringtone(getContextForUser(user), false); in Client()79 mRingtone.setAudioAttributes(aa); in Client()80 mRingtone.setUri(uri); in Client()89 mRingtone.stop(); in binderDied()111 client.mRingtone.setLooping(looping);112 client.mRingtone.setVolume(volume);113 client.mRingtone.play();125 client.mRingtone.stop();137 return client.mRingtone.isPlaying();[all …]
70 private Ringtone mRingtone; field in SeekBarVolumizer177 mRingtone = RingtoneManager.getRingtone(mContext, mDefaultUri); in onInitSample()178 if (mRingtone != null) { in onInitSample()179 mRingtone.setStreamType(mStreamType); in onInitSample()195 if (mRingtone != null) { in onStartSample()197 mRingtone.setAudioAttributes(new AudioAttributes.Builder(mRingtone in onStartSample()202 mRingtone.play(); in onStartSample()219 if (mRingtone != null) { in onStopSample()220 mRingtone.stop(); in onStopSample()277 return mRingtone != null && mRingtone.isPlaying(); in isSamplePlaying()