HomeSort by relevance Sort by last modified time
    Searched full:ringtone (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /frameworks/base/core/java/android/preference/
RingtonePreference.java 30 * A {@link Preference} that allows the user to choose a ringtone from those on the device.
31 * The chosen ringtone's URI will be persisted as a string.
97 * Returns whether to a show an item for the default sound/ringtone.
99 * @return Whether to show an item for the default sound/ringtone.
106 * Sets whether to show an item for the default sound/ringtone. The default
137 // Launch the ringtone picker
144 * Prepares the intent to launch the ringtone picker. This can be modified
145 * to adjust the parameters of the ringtone picker.
147 * @param ringtonePickerIntent The ringtone picker intent that can be
166 * Called when a ringtone is chosen
    [all...]
VolumePreference.java 24 import android.media.Ringtone;
224 private Ringtone mRingtone;
  /frameworks/base/media/java/android/media/
RingtoneManager.java 42 * results into a single cursor. It also provides a {@link Ringtone} for each
43 * ringtone. We generically call these sounds ringtones, however the
47 * To show a ringtone picker to the user, use the
50 * @see Ringtone
82 * Activity Action: Shows a ringtone picker.
96 * Given to the ringtone picker as a boolean. Whether to show an item for
102 "android.intent.extra.ringtone.SHOW_DEFAULT";
105 * Given to the ringtone picker as a boolean. Whether to show an item for
112 "android.intent.extra.ringtone.SHOW_SILENT";
115 * Given to the ringtone picker as a boolean. Whether to include DRM ringtones
    [all...]
Ringtone.java 35 * Ringtone provides a quick method for playing a ringtone, notification, or
38 * For ways of retrieving {@link Ringtone} objects or to show a ringtone
43 public class Ringtone {
44 private static String TAG = "Ringtone";
70 Ringtone(Context context) {
76 * Sets the stream type where this ringtone will be played.
97 * Gets the stream type where this ringtone will be played.
106 * Returns a human-presentable title for ringtone. Looks in media and DR
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactOptionsActivity.java 23 import android.media.Ringtone;
34 * An activity for selecting options for a given contact: custom ringtone and send-to-voicemail.
47 /** The launch code when picking a ringtone */
65 View ringtoneLayout = findViewById(R.id.ringtone);
97 Ringtone ringtone = RingtoneManager.getRingtone(this, ringtoneUri); local
98 if (ringtone == null) {
99 Log.w(TAG, "ringtone's URI doesn't resolve to a Ringtone");
102 mRingtoneTitle.setText(ringtone.getTitle(this))
    [all...]
  /packages/apps/Phone/src/com/android/phone/
Ringer.java 21 import android.media.Ringtone;
50 // Uri for the ringtone.
53 Ringtone mRingtone;
82 * @return true if we're playing a ringtone and/or vibrating
85 * need to know if we're playing a ringtone or vibrating, use
98 * @return true if the ringtone is playing
121 * Starts the ringtone and/or vibrator
183 * Stops the ringtone and/or vibrator if any of these are actually
265 * Sets the ringtone uri in preparation for ringtone creatio
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmPreference.java 20 import android.media.Ringtone;
27 * The RingtonePreference does not have a way to get/set the current ringtone so
54 final Ringtone r = RingtoneManager.getRingtone(getContext(), alert);
AlarmKlaxon.java 200 Log.v("Using the fallback ringtone");
202 // now. Use the fallback ringtone.
211 Log.e("Failed to play fallback ringtone", ex2);
  /frameworks/base/core/java/com/android/internal/app/
RingtonePickerActivity.java 25 import android.media.Ringtone;
39 * available ringtones. The chosen ringtone's URI will be persisted as a string.
65 /** The position in the list of the ringtone to sample. */
84 * A Ringtone for the default ringtone. In most cases, the RingtoneManager
85 * will stop the previous ringtone. However, the RingtoneManager doesn't
86 * manage the default ringtone for us, so we should stop this one manually.
88 private Ringtone mDefaultRingtone;
143 // The volume keys will control the stream that we are choosing a ringtone for
228 // Stop playing the previous ringtone
292 Ringtone ringtone; local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
RingtoneManagerTest.java 30 import android.media.Ringtone;
216 Ringtone r = mRingtoneManager.getRingtone(0);
244 Ringtone ringtone = RingtoneManager.getRingtone(mContext, uri); local
245 ringtone.play();
246 assertTrue(ringtone.isPlaying());
247 ringtone.stop();
248 assertFalse(ringtone.isPlaying());
249 Ringtone newRingtone = mRingtoneManager.getRingtone(0);
250 assertFalse(ringtone.isPlaying())
    [all...]
RingtoneTest.java 26 import android.media.Ringtone;
31 @TestTargetClass(Ringtone.class)
35 private Ringtone mRingtone;
  /packages/apps/AlarmClock/src/com/android/alarmclock/
AlarmPreference.java 20 import android.media.Ringtone;
28 * The RingtonePreference does not have a way to get/set the current ringtone so
62 final Ringtone r = RingtoneManager.getRingtone(getContext(), alert);
SettingsActivity.java 55 final AlarmPreference ringtone = local
60 ringtone.setAlert(alert);
62 ringtone.setChangeDefault();
AlarmKlaxon.java 200 Log.v("Using the fallback ringtone");
202 // now. Use the fallback ringtone.
211 Log.e("Failed to play fallback ringtone", ex2);
  /hardware/libhardware_legacy/include/hardware_legacy/
AudioHardwareBase.h 39 * standard audio playback, RINGTONE when a ringtone is playing, and IN_CALL
  /packages/apps/Contacts/res/layout-finger/
contact_options.xml 23 <include layout="@layout/preference_with_more_button" android:id="@+id/ringtone" />
  /packages/apps/Settings/src/com/android/settings/
DefaultRingtonePreference.java 41 * Since this preference is for choosing the default ringtone, it
  /packages/apps/Settings/res/xml/
sound_settings.xml 52 android:key="ringtone"
57 android:ringtoneType="ringtone" />
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
MediaAudioManagerTest.java 59 // Test case 1: Simple test case to validate the set ringtone mode
  /packages/apps/AlarmClock/res/values/
strings.xml 58 <!-- Setting labels on Set alarm screen: Select alarm ringtone -->
59 <string name="alert">Ringtone</string>
208 <!-- Title of the ringtone setting. -->
209 <string name="default_ringtone_setting_title">Set default ringtone</string>
  /packages/apps/IM/res/xml/
preferences.xml 60 android:key="notification-ringtone"
  /packages/apps/IM/src/com/android/im/app/
ImRingtonePreference.java 33 * RingtonePreference subclass to save/restore ringtone value from ImProvider.
  /frameworks/base/services/java/com/android/server/
DockObserver.java 25 import android.media.Ringtone;
179 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri);
  /external/opencore/pvmi/pvmf/include/
pvmi_drm_kvp.h 31 #define PVMF_DRM_INFO_CAN_USE_AS_RINGTONE_QUERY "drm/can-use-as-ringtone"
32 #define PVMF_DRM_INFO_CAN_USE_AS_RINGTONE_VALUE "drm/can-use-as-ringtone;valtype=bool"
  /packages/apps/Music/tests/src/com/android/music/functional/
TestSongs.java 146 * Test case 2: Set a song as ringtone
156 //This only check if there only 1 ringtone set in music player

Completed in 82 milliseconds

1 2 3 4