Searched refs:mRingtone (Results 1 – 10 of 10) sorted by relevance
47 private Ringtone mRingtone; field in AsyncRingtonePlayer127 mRingtone = null;134 if (mRingtone == null) {135 mRingtone = factory.getRingtone(incomingCall);136 if (mRingtone == null) {150 if (mRingtone == null) {154 if (mRingtone.isPlaying()) {157 mRingtone.play();176 if (mRingtone != null) {178 mRingtone.stop();[all …]
446 private Ringtone mRingtone;493 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri);495 if (mRingtone == null) {498 mRingtone = RingtoneManager.getRingtone(context, defaultUri);503 mSetLoopingMethod.invoke(mRingtone, true);509 mRingtone = null;513 if (mRingtone == null) {516 mRingtone = RingtoneManager.getRingtone(context, getFallbackRingtoneUri(context));520 mRingtone.setAudioAttributes(new AudioAttributes.Builder()542 mRingtone.play();[all …]
110 if (instance.mRingtone == null) { in createContentValues()115 values.put(RINGTONE, instance.mRingtone.toString()); in createContentValues()293 public Uri mRingtone; field in AlarmInstance307 mRingtone = null; in AlarmInstance()320 this.mRingtone = instance.mRingtone; in AlarmInstance()348 mRingtone = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM); in AlarmInstance()350 mRingtone = Uri.parse(c.getString(RINGTONE_INDEX)); in AlarmInstance()465 ", mRingtone=" + mRingtone + in toString()
346 result.mRingtone = alert; in createInstanceAfter()
121 RingtonePreference mRingtone; field in GeneralPreferences168 mRingtone = (RingtonePreference) preferenceScreen.findPreference(KEY_ALERTS_RINGTONE); in onCreate()177 mRingtone.setSummary(ringtoneDisplayString == null ? "" : ringtoneDisplayString); in onCreate()266 mRingtone.setOnPreferenceChangeListener(listener); in setPreferenceListeners()327 } else if (preference == mRingtone) { in onPreferenceChange()331 mRingtone.setSummary(ringtone == null ? "" : ringtone); in onPreferenceChange()394 mRingtone.setEnabled(true); in updateChildPreferences()398 mRingtone.setEnabled(false); in updateChildPreferences()
56 if (!AlarmInstance.NO_RINGTONE_URI.equals(instance.mRingtone)) { in start()57 getAsyncRingtonePlayer(context).play(instance.mRingtone); in start()
124 newInstance.mRingtone = alarm.alert; in asyncUpdateAlarm()
137 private Ringtone mRingtone; field in AccountSettingsFragment259 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone); in setRingtone()263 mRingtone = null; in setRingtone()270 final String summary = mRingtone != null ? mRingtone.getTitle(mContext) in setRingtoneSummary()798 mRingtone = RingtoneManager.getRingtone(getActivity(), Uri.parse(ringtoneUri)); in loadSettings()
50 private String mRingtone; field in AlertServiceTest.MockSharedPreferences68 mRingtone = "/some/cool/ringtone"; in init()109 if (mRingtone == null) { in getString()113 String val = mRingtone; in getString()115 mRingtone = null; in getString()
94 private Uri mRingtone; field in StatusBarNotifier398 || contentTitleChanged || !Objects.equals(mRingtone, ringtone); in checkForChangeAndSaveData()414 mRingtone = ringtone; in checkForChangeAndSaveData()