Searched defs:mRingtone (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
H A DDefaultNotificationTonePreference.java41 private Uri mRingtone; field in class:DefaultNotificationTonePreference
49 return mRingtone;
56 mRingtone);
60 mRingtone = ringtone;
61 updateRingtoneName(mRingtone);
H A DNotificationSoundPreference.java32 private Uri mRingtone; field in class:NotificationSoundPreference
40 return mRingtone;
44 mRingtone = ringtone;
46 updateRingtoneName(mRingtone);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DAsyncRingtonePlayer.java48 private Ringtone mRingtone; field in class:AsyncRingtonePlayer
128 mRingtone = null;
135 if (mRingtone == null) {
136 mRingtone = factory.getRingtone(incomingCall);
137 if (mRingtone == null) {
151 if (mRingtone == null) {
155 if (mRingtone.isPlaying()) {
158 mRingtone.play();
177 if (mRingtone != null) {
179 mRingtone
[all...]
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
H A DVolumeLineItem.java45 private final Ringtone mRingtone; field in class:VolumeLineItem
59 mRingtone = RingtoneManager.getRingtone(context, getRingtoneUri(usage));
60 mRingtone.setAudioAttributes(new AudioAttributes.Builder().setUsage(usage).build());
106 mRingtone.stop();
122 mRingtone.play();
124 if (mRingtone.isPlaying()) {
125 mRingtone.stop();
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAsyncRingtonePlayer.java444 private Ringtone mRingtone; field in class:AsyncRingtonePlayer.RingtonePlaybackDelegate
492 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri);
494 if (mRingtone == null) {
497 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri);
502 mSetLoopingMethod.invoke(mRingtone, true);
508 mRingtone = null;
512 if (mRingtone == null) {
515 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri);
523 mRingtone = RingtoneManager.getRingtone(context, getFallbackRingtoneUri(context));
545 mRingtone
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DGeneralPreferences.java121 RingtonePreference mRingtone; field in class:GeneralPreferences
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/provider/
H A DAlarmInstance.java103 if (instance.mRingtone == null) {
108 values.put(RINGTONE, instance.mRingtone.toString());
295 public Uri mRingtone; field in class:AlarmInstance
309 mRingtone = null;
322 this.mRingtone = instance.mRingtone;
350 mRingtone = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM);
352 mRingtone = Uri.parse(c.getString(RINGTONE_INDEX));
471 ", mRingtone=" + mRingtone
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DAlertServiceTest.java50 private String mRingtone; field in class:AlertServiceTest.MockSharedPreferences
68 mRingtone = "/some/cool/ringtone";
109 if (mRingtone == null) {
113 String val = mRingtone;
115 mRingtone = null;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSettingsFragment.java137 private Ringtone mRingtone; field in class:AccountSettingsFragment
259 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone);
263 mRingtone = null;
270 final String summary = mRingtone != null ? mRingtone.getTitle(mContext)
798 mRingtone = RingtoneManager.getRingtone(getActivity(), Uri.parse(ringtoneUri));

Completed in 272 milliseconds