/frameworks/base/media/java/android/media/ |
D | MediaActionSound.java | 134 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/ |
D | wearable-sounds.jd | 19 <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/ |
D | principles.jd | 25 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/ |
D | NsdServiceInfoTest.java | 121 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/ |
D | SearchBar.java | 780 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/ |
D | NotificationIntrusivenessExtractor.java | 52 notification.sound != null || in process()
|
D | NotificationRecord.java | 147 || n.sound != null in defaultImportance() 212 pw.println(prefix + " sound=" + notification.sound); in dump()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 297 if (notification.sound != null) { in notifyAsUser() 298 notification.sound = notification.sound.getCanonicalUri(); in notifyAsUser() 300 notification.sound.checkFileUriExposed("Notification.sound"); in notifyAsUser()
|
D | Notification.java | 339 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/ |
D | NotificationCompatHoneycomb.java | 35 .setSound(n.sound, n.audioStreamType) in add()
|
/frameworks/base/data/sounds/ |
D | README.txt | 6 For UI sound effects,
|
/frameworks/support/compat/ics/android/support/v4/app/ |
D | NotificationCompatIceCreamSandwich.java | 40 .setSound(n.sound, n.audioStreamType) in Builder()
|
/frameworks/base/docs/html/training/auto/testing/ |
D | index.jd | 219 <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/ |
D | NotificationCompatKitKat.java | 53 .setSound(n.sound, n.audioStreamType) in Builder()
|
/frameworks/support/compat/api24/android/support/v4/app/ |
D | NotificationCompatApi24.java | 68 .setSound(n.sound, n.audioStreamType) in Builder()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationCompat.java | 1305 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/ |
D | NotificationCompatApi20.java | 52 .setSound(n.sound, n.audioStreamType) in Builder()
|
/frameworks/native/opengl/tests/angeles/ |
D | README.txt | 20 cleaned up and the sound is removed. Also detail level is lowered,
|
/frameworks/support/compat/api21/android/support/v4/app/ |
D | NotificationCompatApi21.java | 79 .setSound(n.sound, n.audioStreamType) in Builder()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 437 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/ |
D | NotificationCompatJellybean.java | 87 .setSound(n.sound, n.audioStreamType) in Builder()
|
/frameworks/base/docs/html/guide/topics/media/ |
D | mediaplayer.jd | 61 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/ |
D | android-1.6-highlights.jd | 178 such as making a sound when a new window is shown, vibrating when navigating to the top of
|
D | android-2.2-highlights.jd | 254 database. Also provides APIs to let applications detect completion of sound loading and auto-pause
|
/frameworks/base/docs/html/design/get-started/ |
D | principles.jd | 21 <p>A beautiful surface, a carefully-placed animation, or a well-timed sound effect is a joy to
|