HomeSort by relevance Sort by last modified time
    Searched refs:mRingtone (Results 1 - 10 of 10) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
RingtoneTest.java 31 private Ringtone mRingtone;
43 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI);
47 mOriginalStreamType = mRingtone.getStreamType();
62 if (mRingtone != null) {
63 if (mRingtone.isPlaying()) mRingtone.stop();
64 mRingtone.setStreamType(mOriginalStreamType);
78 assertNotNull(mRingtone.getTitle(mContext));
81 mRingtone.setStreamType(AudioManager.STREAM_MUSIC);
82 assertEquals(AudioManager.STREAM_MUSIC, mRingtone.getStreamType())
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/media/
RingtonePlayer.java 72 private final Ringtone mRingtone;
77 mRingtone = new Ringtone(getContextForUser(user), false);
78 mRingtone.setStreamType(streamType);
79 mRingtone.setUri(uri);
88 mRingtone.stop();
109 client.mRingtone.play();
121 client.mRingtone.stop();
133 return client.mRingtone.isPlaying();
175 pw.println(client.mRingtone.getUri());
  /packages/services/Telephony/src/com/android/phone/
Ringer.java 59 Ringtone mRingtone;
131 return (mRingtone != null && mRingtone.isPlaying()) ||
231 msg.obj = mRingtone;
236 mRingtone = null;
317 if (mRingtone == null && !hasMessages(STOP_RING)) {
323 mRingtone = r;
327 r = mRingtone;
  /frameworks/base/core/java/android/preference/
VolumePreference.java 234 private Ringtone mRingtone;
293 mRingtone = RingtoneManager.getRingtone(mContext, defaultUri);
295 if (mRingtone != null) {
296 mRingtone.setStreamType(mStreamType);
327 if (mRingtone != null) {
328 mRingtone.play();
341 if (mRingtone != null) {
342 mRingtone.stop();
380 return mRingtone != null && mRingtone.isPlaying()
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
AlarmInstance.java 109 if (instance.mRingtone == null) {
114 values.put(RINGTONE, instance.mRingtone.toString());
253 public Uri mRingtone;
267 mRingtone = null;
283 mRingtone = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM);
285 mRingtone = Uri.parse(c.getString(RINGTONE_INDEX));
400 ", mRingtone=" + mRingtone +
Alarm.java 324 result.mRingtone = alert;
  /packages/apps/Calendar/src/com/android/calendar/
GeneralPreferences.java 121 RingtonePreference mRingtone;
168 mRingtone = (RingtonePreference) preferenceScreen.findPreference(KEY_ALERTS_RINGTONE);
177 mRingtone.setSummary(ringtoneDisplayString == null ? "" : ringtoneDisplayString);
266 mRingtone.setOnPreferenceChangeListener(listener);
327 } else if (preference == mRingtone) {
331 mRingtone.setSummary(ringtone == null ? "" : ringtone);
394 mRingtone.setEnabled(true);
398 mRingtone.setEnabled(false);
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmKlaxon.java 71 if (!AlarmInstance.NO_RINGTONE_URI.equals(instance.mRingtone)) {
72 Uri alarmNoise = instance.mRingtone;
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsFragment.java 142 private Ringtone mRingtone;
321 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone);
325 mRingtone = null;
332 final String summary = mRingtone != null ? mRingtone.getTitle(mContext)
593 mRingtone = RingtoneManager.getRingtone(getActivity(), Uri.parse(ringtoneUri));
    [all...]
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 50 private String mRingtone;
68 mRingtone = "/some/cool/ringtone";
109 if (mRingtone == null) {
113 String val = mRingtone;
115 mRingtone = null;
    [all...]

Completed in 1715 milliseconds