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

  /cts/tests/tests/media/src/android/media/cts/
RingtoneManagerTest.java 26 import android.media.Ringtone;
113 Ringtone r = mRingtoneManager.getRingtone(0);
124 Ringtone ringtone = RingtoneManager.getRingtone(mContext, uri); local
125 ringtone.play();
126 assertTrue(ringtone.isPlaying());
127 ringtone.stop();
128 assertFalse(ringtone.isPlaying());
129 Ringtone newRingtone = mRingtoneManager.getRingtone(0);
130 assertFalse(ringtone.isPlaying())
    [all...]
  /build/target/product/
full_base.mk 46 ro.config.ringtone=Ring_Synth_04.ogg \
  /packages/providers/MediaProvider/src/com/android/providers/media/
RingtonePickerActivity.java 22 import android.media.Ringtone;
40 * available ringtones. The chosen ringtone's URI will be persisted as a string.
71 /** The position in the list of the ringtone to sample. */
90 * A Ringtone for the default ringtone. In most cases, the RingtoneManager
91 * will stop the previous ringtone. However, the RingtoneManager doesn't
92 * manage the default ringtone for us, so we should stop this one manually.
94 private Ringtone mDefaultRingtone;
97 * The ringtone that's currently playing, unless the currently playing one is the default
98 * ringtone
309 Ringtone ringtone; local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertService.java 876 String ringtone = NotificationPrefs.EMPTY_RINGTONE; local
969 private String ringtone = null; field in class:AlertService.NotificationPrefs
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
GeneralPreferences.java 27 import android.media.Ringtone;
172 // the Ringtone dialog will open up with the correct value.
330 String ringtone = getRingtoneTitleFromUri(activity, (String) newValue); local
331 mRingtone.setSummary(ringtone == null ? "" : ringtone);
348 Ringtone ring = RingtoneManager.getRingtone(getActivity(), Uri.parse(uri));
Utils.java 408 // default value when the ringtone dialog opens up.
412 // ringtone.
416 String ringtone = prefs.getString(GeneralPreferences.KEY_ALERTS_RINGTONE, null); local
421 if (ringtone == null) {
423 ringtone = getSharedPreference(context, GeneralPreferences.KEY_ALERTS_RINGTONE,
427 setRingTonePreference(context, ringtone);
430 return ringtone;
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmClockFragment.java 37 import android.media.Ringtone;
121 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
    [all...]
  /device/generic/armv7-a-neon/
mini_common.mk 100 ro.config.ringtone=Ring_Synth_04.ogg \
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsFragment.java 26 import android.media.Ringtone;
142 private Ringtone mRingtone;
316 * Sets the current ringtone.
318 private void setRingtone(Uri ringtone) {
319 if (ringtone != null) {
320 mInboxFolderPreferences.setNotificationRingtoneUri(ringtone.toString());
321 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone);
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java 5119 String ringtone = c.getString(c.getColumnIndex(Contacts.CUSTOM_RINGTONE)); local
    [all...]

Completed in 390 milliseconds