Searched refs:mRingtone (Results 1 – 2 of 2) sorted by relevance
80 private final Ringtone mRingtone; field in RingtonePlayer.Client85 mRingtone = new Ringtone(getContextForUser(user), false); in Client()86 mRingtone.setAudioAttributes(aa); in Client()87 mRingtone.setUri(uri); in Client()96 mRingtone.stop(); in binderDied()118 client.mRingtone.setLooping(looping);119 client.mRingtone.setVolume(volume);120 client.mRingtone.play();132 client.mRingtone.stop();144 return client.mRingtone.isPlaying();[all …]
76 private Ringtone mRingtone; field in SeekBarVolumizer184 mRingtone = RingtoneManager.getRingtone(mContext, mDefaultUri); in onInitSample()185 if (mRingtone != null) { in onInitSample()186 mRingtone.setStreamType(mStreamType); in onInitSample()205 if (mRingtone != null) { in onStartSample()207 mRingtone.setAudioAttributes(new AudioAttributes.Builder(mRingtone in onStartSample()212 mRingtone.play(); in onStartSample()231 if (mRingtone != null) { in onStopSample()232 mRingtone.stop(); in onStopSample()291 return mRingtone != null && mRingtone.isPlaying(); in isSamplePlaying()