Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/
DMediaActionSound.java134 private int loadSound(SoundState sound) { in loadSound() argument
135 int id = mSoundPool.load(SOUND_FILES[sound.name], 1); in loadSound()
137 sound.state = STATE_LOADING; in loadSound()
138 sound.id = id; in loadSound()
159 SoundState sound = mSounds[soundName]; in load() local
160 synchronized (sound) { in load()
161 switch (sound.state) { in load()
163 if (loadSound(sound) <= 0) { in load()
168 Log.e(TAG, "load() called in wrong state: " + sound + " for sound: "+ soundName); in load()
209 SoundState sound = mSounds[soundName]; in play() local
[all …]
/frameworks/base/docs/html/training/wearables/
Dwearable-sounds.jd19 <p>Some Android Wear devices include speakers, enabling them to incorporate sound into their
22 entertaining by offering not just sight, but sound.</p>
57 <p>Once you've detected the speaker, the process for playing sound on Android Wear is the
/frameworks/base/docs/html/design/tv/
Dprinciples.jd25 content as possible on each screen. Use visual imagery, movement, and sound to inform and delight
27 and sound.</p>
/frameworks/base/tests/CoreTests/android/core/
DNsdServiceInfoTest.java121 String sound = new String(attributedInfo.getAttributes().get("sound"), "UTF-8"); in testParcel() local
122 assertTrue(sound.equals("にゃあ")); in testParcel()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java780 for (int sound : sounds) { in loadSounds()
781 mSoundMap.put(sound, mSoundPool.load(context, sound, 1)); in loadSounds()
789 int sound = mSoundMap.get(resId); in play()
790 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY, in play()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationIntrusivenessExtractor.java52 notification.sound != null || in process()
DNotificationRecord.java147 || n.sound != null in defaultImportance()
212 pw.println(prefix + " sound=" + notification.sound); in dump()
/frameworks/base/core/java/android/app/
DNotificationManager.java297 if (notification.sound != null) { in notifyAsUser()
298 notification.sound = notification.sound.getCanonicalUri(); in notifyAsUser()
300 notification.sound.checkFileUriExposed("Notification.sound"); in notifyAsUser()
DNotification.java339 public Uri sound; field in Notification
1636 sound = Uri.CREATOR.createFromParcel(parcel); in readFromParcelImpl()
1718 that.sound = this.sound; // android.net.Uri is immutable in cloneInto()
1969 if (sound != null) { in writeToParcelImpl()
1971 sound.writeToParcel(parcel, 0); in writeToParcelImpl()
2147 } else if (this.sound != null) { in toString()
2148 sb.append(this.sound.toString()); in toString()
2778 public Builder setSound(Uri sound) { in setSound() argument
2779 mN.sound = sound; in setSound()
2796 public Builder setSound(Uri sound, int streamType) { in setSound() argument
[all …]
/frameworks/support/compat/honeycomb/android/support/v4/app/
DNotificationCompatHoneycomb.java35 .setSound(n.sound, n.audioStreamType) in add()
/frameworks/base/data/sounds/
DREADME.txt6 For UI sound effects,
/frameworks/support/compat/ics/android/support/v4/app/
DNotificationCompatIceCreamSandwich.java40 .setSound(n.sound, n.audioStreamType) in Builder()
/frameworks/base/docs/html/training/auto/testing/
Dindex.jd219 <p>To use a pre-recorded sound file as input, enter this command: </p>
224 <p>For your convenience, we have provided the following sound files for common
225 voice commands. These sound files are installed in the
386 <td>Causes the DHU to treat <code>filename.wav</code> as voice input, as if it had heard that sound
387 through the microphone. You do not hear the sound file being played, but you do hear
398 again with the same sound file parameter.</td>
/frameworks/support/compat/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java53 .setSound(n.sound, n.audioStreamType) in Builder()
/frameworks/support/compat/api24/android/support/v4/app/
DNotificationCompatApi24.java68 .setSound(n.sound, n.audioStreamType) in Builder()
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompat.java1305 public Builder setSound(Uri sound) { in setSound() argument
1306 mNotification.sound = sound; in setSound()
1322 public Builder setSound(Uri sound, int streamType) { in setSound() argument
1323 mNotification.sound = sound; in setSound()
/frameworks/support/compat/api20/android/support/v4/app/
DNotificationCompatApi20.java52 .setSound(n.sound, n.audioStreamType) in Builder()
/frameworks/native/opengl/tests/angeles/
DREADME.txt20 cleaned up and the sound is removed. Also detail level is lowered,
/frameworks/support/compat/api21/android/support/v4/app/
DNotificationCompatApi21.java79 .setSound(n.sound, n.audioStreamType) in Builder()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java437 Log.d(TAG, "n.sound=" + n.sound);
815 Log.d(TAG, "n.sound=" + n.sound);
830 Log.d(TAG, "n.sound=" + n.sound);
/frameworks/support/compat/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java87 .setSound(n.sound, n.audioStreamType) in Builder()
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd61 device. Currently, that is the mobile device speaker or a Bluetooth headset. You cannot play sound
65 <p>The following classes are used to play sound and video in the Android framework:</p>
69 <dd>This class is the primary API for playing sound and video.</dd>
477 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.jd178 such as making a sound when a new window is shown, vibrating when navigating to the top of
Dandroid-2.2-highlights.jd254 database. Also provides APIs to let applications detect completion of sound loading and auto-pause
/frameworks/base/docs/html/design/get-started/
Dprinciples.jd21 <p>A beautiful surface, a carefully-placed animation, or a well-timed sound effect is a joy to

123