Searched defs:sound (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
H A DMediaActionSound.java31 * camera operation sound when implementing a custom still or video recording mechanism (through the
64 * The sound used by
72 * A sound to indicate that focusing has completed. Because deciding
73 * when this occurs is application-dependent, this sound is not used by
80 * The sound used by
88 * The sound used by
120 * needed for playing any platform media action sound; you do not need a
121 * separate instance for each sound type.
139 private int loadSound(SoundState sound) { argument
140 final String soundFileName = SOUND_FILES[sound
[all...]
/frameworks/base/core/java/android/app/
H A DNotificationChannel.java73 private static final String ATT_SOUND = "sound";
366 * Sets the sound that should be played for notifications posted to this channel and its
368 * least {@link NotificationManager#IMPORTANCE_DEFAULT} should have a sound.
373 public void setSound(Uri sound, AudioAttributes audioAttributes) { argument
374 this.mSound = sound;
501 * Returns the notification sound for this channel.
508 * Returns the audio attributes for sound played by notifications posted to this channel.
630 Uri sound = safeUri(parser, ATT_SOUND);
631 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttribute
[all...]
H A DNotification.java156 * Use the default notification sound. This will ignore any given
157 * {@link #sound}.
391 * The sound to play.
398 * To play the default notification sound, see {@link #defaults}.
403 public Uri sound; field in class:Notification
416 * The audio stream type to use when playing the sound.
434 * The {@link AudioAttributes audio attributes} to use when playing the sound.
543 * set if you would only like the sound, vibrate and ticker to be played
1218 * the audio contents are a complete sound sample that contains the contents/body of the
1273 * group with sound o
3789 setSound(Uri sound) argument
3803 setSound(Uri sound, int streamType) argument
3818 setSound(Uri sound, AudioAttributes audioAttributes) argument
[all...]
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompat.java81 * Use the default notification sound. This will ignore any sound set using
143 * Bit set in the Notification flags field if the notification's sound,
421 * the audio contents are a complete sound sample that contains the contents/body of the
595 * group with sound or vibration ought to make sound or vibrate (respectively), so this
602 * notification in a group should be silenced (no sound or vibration) even if they would
603 * otherwise make sound or vibrate. Use this constant to mute this notification if this
615 * notification in a group should be silenced (no sound or vibration) even if they would
616 * otherwise make sound o
1010 setSound(Uri sound) argument
1033 setSound(Uri sound, @StreamType int streamType) argument
[all...]

Completed in 86 milliseconds