Home
last modified time | relevance | path

Searched refs:mRingtone (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java73 private final Ringtone mRingtone; field in RingtonePlayer.Client
78 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 …]
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java70 private Ringtone mRingtone; field in SeekBarVolumizer
177 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()