Home
last modified time | relevance | path

Searched refs:ringtone (Results 1 – 14 of 14) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DAsyncRingtonePlayer.java60 void play(Uri ringtone) { in play() argument
62 postMessage(EVENT_PLAY, true /* shouldCreateHandler */, ringtone); in play()
78 private void postMessage(int messageCode, boolean shouldCreateHandler, Uri ringtone) { in postMessage() argument
87 mHandler.obtainMessage(messageCode, ringtone).sendToTarget(); in postMessage()
198 Ringtone ringtone = RingtoneManager.getRingtone(mContext, ringtoneUri);
199 if (ringtone != null) {
200 ringtone.setStreamType(AudioManager.STREAM_RING);
202 return ringtone;
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java316 Ringtone ringtone; in run() local
328 ringtone = mDefaultRingtone; in run()
331 ringtone = mRingtoneManager.getRingtone(getRingtoneManagerPosition(mSampleRingtonePos)); in run()
332 mCurrentRingtone = ringtone; in run()
335 if (ringtone != null) { in run()
337 ringtone.setAudioAttributes( in run()
338 new AudioAttributes.Builder(ringtone.getAudioAttributes()) in run()
342 ringtone.play(); in run()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java876 String ringtone = NotificationPrefs.EMPTY_RINGTONE; in postNotification() local
882 ringtone = prefs.getRingtoneAndSilence(); in postNotification()
885 prefs.getDefaultVibrate(), ringtone, in postNotification()
894 + (TextUtils.isEmpty(ringtone) ? ", quiet" : ", LOUD") in postNotification()
969 private String ringtone = null; field in AlertService.NotificationPrefs
998 if (ringtone == null) { in getRingtoneAndSilence()
1000 ringtone = EMPTY_RINGTONE; in getRingtoneAndSilence()
1002 ringtone = Utils.getRingTonePreference(context); in getRingtoneAndSilence()
1005 String retVal = ringtone; in getRingtoneAndSilence()
1006 ringtone = EMPTY_RINGTONE; in getRingtoneAndSilence()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java576 TextView ringtone; field in AlarmClockFragment.AlarmItemAdapter.ItemHolder
716 holder.ringtone = (TextView) view.findViewById(R.id.choose_ringtone); in setNewHolder()
1039 final String ringtone; in bindExpandArea() local
1041 ringtone = mContext.getResources().getString(R.string.silent_alarm_summary); in bindExpandArea()
1043 ringtone = getRingToneTitle(alarm.alert); in bindExpandArea()
1045 itemHolder.ringtone.setText(ringtone); in bindExpandArea()
1046 itemHolder.ringtone.setContentDescription( in bindExpandArea()
1048 + ringtone); in bindExpandArea()
1049 itemHolder.ringtone.setOnClickListener(new View.OnClickListener() { in bindExpandArea()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DSettingsUtil.java86 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in updateRingtoneName() local
87 if (ringtone != null) { in updateRingtoneName()
89 final String title = ringtone.getTitle(context); in updateRingtoneName()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java95 final Ringtone ringtone = RingtoneManager.getRingtone(mContext, ringtoneUri); in bind() local
96 if (ringtone != null) { in bind()
97 mSubtitle = ringtone.getTitle(mContext); in bind()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java330 String ringtone = getRingtoneTitleFromUri(activity, (String) newValue); in onPreferenceChange() local
331 mRingtone.setSummary(ringtone == null ? "" : ringtone); in onPreferenceChange()
DUtils.java416 String ringtone = prefs.getString(GeneralPreferences.KEY_ALERTS_RINGTONE, null); in getRingTonePreference() local
421 if (ringtone == null) { in getRingTonePreference()
423 ringtone = getSharedPreference(context, GeneralPreferences.KEY_ALERTS_RINGTONE, in getRingTonePreference()
427 setRingTonePreference(context, ringtone); in getRingTonePreference()
430 return ringtone; in getRingTonePreference()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java256 private void setRingtone(Uri ringtone) { in setRingtone() argument
257 if (ringtone != null) { in setRingtone()
258 mInboxFolderPreferences.setNotificationRingtoneUri(ringtone.toString()); in setRingtone()
259 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone); in setRingtone()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java5828 String ringtone) { in updateSendToVoicemailAndRingtone() argument
5831 if (ringtone != null) { in updateSendToVoicemailAndRingtone()
5832 values.put(Contacts.CUSTOM_RINGTONE, ringtone); in updateSendToVoicemailAndRingtone()
5841 boolean sendToVoicemail, String ringtone) { in updateSendToVoicemailAndRingtoneWithSelection() argument
5844 if (ringtone != null) { in updateSendToVoicemailAndRingtoneWithSelection()
5845 values.put(Contacts.CUSTOM_RINGTONE, ringtone); in updateSendToVoicemailAndRingtoneWithSelection()
5859 String ringtone = c.getString(c.getColumnIndex(Contacts.CUSTOM_RINGTONE)); in assertSendToVoicemailAndRingtone() local
5861 assertNull(ringtone); in assertSendToVoicemailAndRingtone()
5863 assertTrue(ArrayUtils.contains(expectedRingtone.split(","), ringtone)); in assertSendToVoicemailAndRingtone()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dpt_PT_wordlist.combined.gz