Searched defs:ringtone (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertService.java876 String ringtone = NotificationPrefs.EMPTY_RINGTONE;
880 // If we've already played a ringtone, don't play any more sounds so only
882 ringtone = prefs.getRingtoneAndSilence();
885 prefs.getDefaultVibrate(), ringtone,
894 + (TextUtils.isEmpty(ringtone) ? ", quiet" : ", LOUD")
954 // Possibly generate a sound. If 'Silent' is chosen, the ringtone
969 private String ringtone = null; field in class:AlertService.NotificationPrefs
998 if (ringtone == null) {
1000 ringtone = EMPTY_RINGTONE;
1002 ringtone
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSettingsFragment.java316 * Sets the current ringtone.
318 private void setRingtone(Uri ringtone) { argument
319 if (ringtone != null) {
320 mInboxFolderPreferences.setNotificationRingtoneUri(ringtone.toString());
321 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone);
983 * Shows the system ringtone picker.
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmClockFragment.java121 private Bundle mRingtoneTitleCache; // Key: ringtone uri, value: ringtone title
651 // Save the last selected ringtone as the default for new alarms
724 TextView ringtone; field in class:AlarmClockFragment.AlarmItemAdapter.ItemHolder
1017 holder.ringtone = (TextView) view.findViewById(R.id.choose_ringtone);
1273 final String ringtone;
1275 ringtone = mContext.getResources().getString(R.string.silent_alarm_summary);
1277 ringtone = getRingToneTitle(alarm.alert);
1279 itemHolder.ringtone.setText(ringtone);
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsProvider2Test.java5088 String ringtone) {
5091 if (ringtone != null) {
5092 values.put(Contacts.CUSTOM_RINGTONE, ringtone);
5101 boolean sendToVoicemail, String ringtone) {
5104 if (ringtone != null) {
5105 values.put(Contacts.CUSTOM_RINGTONE, ringtone);
5119 String ringtone = c.getString(c.getColumnIndex(Contacts.CUSTOM_RINGTONE));
5121 assertNull(ringtone);
5123 assertTrue(ArrayUtils.contains(expectedRingtone.split(","), ringtone));
5087 updateSendToVoicemailAndRingtone(long contactId, boolean sendToVoicemail, String ringtone) argument
5100 updateSendToVoicemailAndRingtoneWithSelection(long contactId, boolean sendToVoicemail, String ringtone) argument

Completed in 91 milliseconds