Home
last modified time | relevance | path

Searched refs:sound (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java274 public Builder setSound(Uri sound) { in setSound() argument
275 mNotification.sound = sound; in setSound()
286 public Builder setSound(Uri sound, int streamType) { in setSound() argument
287 mNotification.sound = sound; in setSound()
/frameworks/base/core/java/android/app/
DNotification.java215 public Uri sound; field in Notification
573 sound = Uri.CREATOR.createFromParcel(parcel); in Notification()
627 that.sound = this.sound; // android.net.Uri is immutable in clone()
723 if (sound != null) { in writeToParcel()
725 sound.writeToParcel(parcel, 0); in writeToParcel()
865 if (this.sound != null) { in toString()
866 sb.append(this.sound.toString()); in toString()
1202 public Builder setSound(Uri sound) { in setSound() argument
1203 mSound = sound; in setSound()
1215 public Builder setSound(Uri sound, int streamType) { in setSound() argument
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java100 n.sound = Uri.parse("file://" + Environment.getExternalStorageDirectory() +
102 Log.d(TAG, "n.sound=" + n.sound);
456 n.sound = Uri.parse(
467 n.sound = Uri.parse(
470 Log.d(TAG, "n.sound=" + n.sound);
480 n.sound = Uri.parse(
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd24 <li><a href="#Sound">Adding a sound</a></li>
51 You can also configure the notification to alert the user with a sound, a vibration, and flashing
92 such as a sound to play. The {@link android.app.NotificationManager} is an Android system service
313 <li>An alert sound</li>
366 <h3 id="Sound">Adding a sound</h3>
368 <p>You can alert the user with the default notification sound
369 (which is defined by the user) or with a sound specified by your application.</p>
371 <p>To use the user's default sound, add "DEFAULT_SOUND" to the <var>defaults</var> field:</p>
376 <p>To use a different sound with your notifications, pass a Uri reference to the
377 <var>sound</var> field.
[all …]
Dindex.jd61 You can also configure the notification to alert the user with a sound, a vibration, and flashing
/frameworks/support/v4/honeycomb/android/support/v4/app/
DNotificationCompatHoneycomb.java35 .setSound(n.sound, n.audioStreamType) in add()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java279 boolean sound, boolean visible, PendingIntent pi) { in setUsbStorageNotification() argument
303 if (sound) { in setUsbStorageNotification()
/frameworks/native/opengl/tests/angeles/
DREADME.txt20 cleaned up and the sound is removed. Also detail level is lowered,
/frameworks/base/services/java/com/android/server/usb/
DUsbDeviceManager.java650 notification.sound = null; in updateUsbNotification()
684 notification.sound = null; in updateAdbNotification()
/frameworks/base/services/java/com/android/server/
DNotificationManagerService.java345 pw.println(prefix + " sound=" + notification.sound); in dump()
1024 if (useDefaultSound || notification.sound != null) { in enqueueNotificationInternal()
1029 uri = notification.sound; in enqueueNotificationInternal()
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd62 device. Currently, that is the mobile device speaker or a Bluetooth headset. You cannot play sound
66 <p>The following classes are used to play sound and video in the Android framework:</p>
70 <dd>This class is the primary API for playing sound and video.</dd>
478 you should always request audio focus. Once it has focus, it can use the sound output freely, but it
/frameworks/base/docs/html/about/versions/
Dandroid-1.6-highlights.jd177 such as making a sound when a new window is shown, vibrating when navigating to the top of
Dandroid-2.2-highlights.jd253 database. Also provides APIs to let applications detect completion of sound loading and auto-pause
Dandroid-2.2.jd148 <li>New APIs in {@link android.media.SoundPool} to detect completion of sound-loading.</li>
Dandroid-4.1.jd373 the appropriate sound when building a custom still or video camera.</p>
375 <p>To play a sound, simply instantiate a {@link android.media.MediaActionSound} object, call
376 {@link android.media.MediaActionSound#load load()} to pre-load the desired sound, then at the
Dandroid-1.6.jd273 sound file.</li>
Dandroid-2.3.jd653 audio pipeline on the device and is sensitive to delays or lag in sound input or
/frameworks/base/docs/html/design/get-started/
Dprinciples.jd14 <p>A beautiful surface, a carefully-placed animation, or a well-timed sound effect is a joy to
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd336 <li><code>Alarms/</code> - Media scanner classifies all media found here as an alarm sound.</li>
338 sound.</li>
/frameworks/base/docs/html/tools/adk/
Dadk2.jd191 <li>Play a song or sound and listen to it on the ADK speaker!</li>
208 <li>Play a song or sound and listen to it on the ADK speaker!</li>
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java8362 int sound = keyCodeToSoundsEffect(event.getKeyCode()); in sendKeyEvent() local
8363 if (sound != 0) { in sendKeyEvent()
8364 mWebView.playSoundEffect(sound); in sendKeyEvent()
/frameworks/base/docs/html/guide/topics/resources/
Dlocalization.jd588 example, create recordings of sound files for each language, as needed.</td>
/frameworks/base/docs/html/guide/practices/app-design/
Djni.jd688 include manipulation of bitmaps or sound samples. There are two
/frameworks/base/docs/html/guide/practices/
Djni.jd688 include manipulation of bitmaps or sound samples. There are two
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd27 be sure that the playback will sound exactly the same in both the JET Creator

12