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

  /packages/services/Telecomm/src/com/android/server/telecom/
AsyncRingtonePlayer.java 21 import android.media.Ringtone;
32 * Plays the default ringtone. Uses {@link Ringtone} in a separate thread so that this class can be
36 // Message codes used with the ringtone thread.
44 /** Handler running on the ringtone thread. */
47 /** The current ringtone. Only used by the ringtone thread. */
48 private Ringtone mRingtone;
59 /** Plays the ringtone. */
60 void play(Uri ringtone) {
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
RingtoneManagerTest.java 27 import android.media.Ringtone;
125 Ringtone r = mRingtoneManager.getRingtone(0);
141 Ringtone ringtone = RingtoneManager.getRingtone(mContext, uri); local
142 ringtone.play();
143 assertTrue(ringtone.isPlaying());
144 ringtone.stop();
145 assertFalse(ringtone.isPlaying());
146 Ringtone newRingtone = mRingtoneManager.getRingtone(0);
147 assertFalse(ringtone.isPlaying())
    [all...]
  /build/target/product/
full_base.mk 44 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 39 import android.media.Ringtone;
127 private Bundle mRingtoneTitleCache; // Key: ringtone uri, value: ringtone title
473 // Save the last selected ringtone as the default for new alarms
541 TextView ringtone; field in class:AlarmClockFragment.AlarmItemAdapter.ItemHolder
677 holder.ringtone = (TextView) view.findViewById(R.id.choose_ringtone);
977 final String ringtone; local
    [all...]
  /device/generic/armv7-a-neon/
mini_common.mk 78 ro.config.ringtone=Ring_Synth_04.ogg \
  /device/moto/shamu/self-extractors/moto/staging/
device-partial.mk 59 vendor/moto/shamu/proprietary/left.boost.ringtone.eq:system/vendor/firmware/left.boost.ringtone.eq:moto \
68 vendor/moto/shamu/proprietary/right.boost.ringtone.eq:system/vendor/firmware/right.boost.ringtone.eq:moto \
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsFragment.java 28 import android.media.Ringtone;
137 private Ringtone mRingtone;
254 * Sets the current ringtone.
256 private void setRingtone(Uri ringtone) {
257 if (ringtone != null) {
258 mInboxFolderPreferences.setNotificationRingtoneUri(ringtone.toString());
259 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone);
    [all...]
  /device/moto/shamu/
device.mk 352 ro.config.ringtone \
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java 5632 String ringtone = c.getString(c.getColumnIndex(Contacts.CUSTOM_RINGTONE)); local
    [all...]

Completed in 634 milliseconds