HomeSort by relevance Sort by last modified time
    Searched full:ringtone (Results 1 - 25 of 90) 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...]
MediaScanner.java 312 /** Whether the scanner has set a default sound for the ringer ringtone. */
314 /** Whether the scanner has set a default sound for the notification ringtone. */
316 /** Whether the scanner has set a default sound for the alarm ringtone. */
318 /** The filename for the default sound for the ringer ringtone. */
320 /** The filename for the default sound for the notification ringtone. */
322 /** The filename for the default sound for the alarm ringtone. */
379 + Settings.System.RINGTONE);
726 // values so that custom ringtones still show up in the ringtone
    [all...]
AudioSystem.java 82 * param mode the requested audio mode (NORMAL, RINGTONE, or IN_CALL).
94 * return the current audio mode (NORMAL, RINGTONE, or IN_CALL).
  /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...]
CallNotifier.java 67 // before giving up and falling back to the default ringtone.
252 // use the correct custom ringtone.
257 // going to get the default ringtone, since we never got
494 // query a ringtone uri.
545 * configured the Ringer object to use the custom ringtone (if there
554 * default ringtone.)
566 // default ringtone is playing instead of the custom one.
567 Log.w(LOG_TAG, "CallerInfo query took too long; falling back to default ringtone");
590 // Ring, either with the queried ringtone or default one.
    [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;
214 Ringtone r = mRingtoneManager.getRingtone(0);
242 Ringtone ringtone = RingtoneManager.getRingtone(mContext, uri); local
243 ringtone.play();
244 assertTrue(ringtone.isPlaying());
245 ringtone.stop();
246 assertFalse(ringtone.isPlaying());
247 Ringtone newRingtone = mRingtoneManager.getRingtone(0);
248 assertFalse(ringtone.isPlaying())
    [all...]
RingtoneTest.java 26 import android.media.Ringtone;
31 @TestTargetClass(Ringtone.class)
35 private Ringtone mRingtone;
  /hardware/libhardware_legacy/include/hardware_legacy/
AudioHardwareBase.h 39 * standard audio playback, RINGTONE when a ringtone is playing, 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
  /frameworks/base/services/java/com/android/server/
DockObserver.java 25 import android.media.Ringtone;
179 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri);
  /packages/apps/Music/res/values-en-rGB/
strings.xml 97 <string name="ringtone_menu" msgid="2737472190159134599">"Use as phone ringtone"</string>
98 <string name="ringtone_menu_short" msgid="3367622038867238133">"Use as ringtone"</string>
99 <string name="ringtone_set" msgid="5325818347613843130">"\"<xliff:g id="NAME">%s</xliff:g>\" set as phone ringtone."</string>
  /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
  /packages/apps/Email/src/com/android/email/
Account.java 171 mRingtoneUri = preferences.mSharedPreferences.getString(mUuid + ".ringtone",
284 editor.remove(mUuid + ".ringtone");
352 editor.putString(mUuid + ".ringtone", mRingtoneUri);
  /packages/apps/Music/res/values-tl/
strings.xml 97 <string name="ringtone_menu" msgid="2737472190159134599">"Gamitin bilang ringtone ng telepono"</string>
98 <string name="ringtone_menu_short" msgid="3367622038867238133">"Gamitin bilang ringtone"</string>
99 <string name="ringtone_set" msgid="5325818347613843130">"I-set ang \"<xliff:g id="NAME">%s</xliff:g>\" bilang ringtone ng telepono."</string>
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 629 * When a client attempts to openFile the default ringtone or
631 * default ringtone's Uri (if it is in the DRM or media provider).
670 * When a client attempts to openFile the default ringtone or
672 * default ringtone's Uri (if it is in the DRM or media provider).
704 // fall through and open the fallback ringtone below
712 // fall back to the built-in ringtone.
    [all...]

Completed in 851 milliseconds

1 2 3 4