Searched defs:play (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/
H A DMediaActionSound.java27 * <p>Use this class to play an appropriate camera operation sound when
35 * <p>There is no need to play sounds when using
38 * as the Android framework will play the appropriate sounds when needed for
61 * @see #play
69 * @see #play
77 * @see #play
85 * @see #play
109 * played later by {@link #play}.
113 * @see #play
132 * <p>Use this method to play
158 public synchronized void play(int soundName) { method in class:MediaActionSound
[all...]
H A DAsyncPlayer.java159 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
165 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer
207 * We want to hold a wake lock while we do the prepare and play. The stop probably is
210 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
215 * This must be called before the first time play is called.
H A DRingtone.java213 public void play() { method in class:Ringtone
215 // do not play ringtones if stream volume is 0
223 mRemotePlayer.play(mRemoteToken, canonicalUri, mStreamType);
H A DSoundPool.java59 * a value of 3 causes the sound to play a total of 4 times.</p>
62 * the sound to play at its original frequency (resampled, if necessary,
64 * sound to play at twice its original frequency, and a playback rate of
65 * 0.5 causes it to play at half its original frequency. The playback
69 * Priority is used when a call to play() would cause the number of active
75 * streams, the new sound will not play and the play() function will return
79 * play. For each level, there is a set of unique sounds that are used only
88 * <p>Once the sounds are loaded and play has started, the application can
89 * trigger sounds by calling SoundPool.play()
230 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool
418 public int play( method in interface:SoundPool.SoundPoolDelegate
526 public native final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool.SoundPoolImpl
647 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool.SoundPoolStub
[all...]
H A DJetPlayer.java45 * the notion of "clips", which can be triggered at any time, but that will play only at the
52 * <li>the number of segments left to play in the queue,</li>
246 public boolean play() { method in class:JetPlayer
267 * only play once. -1 means the segment will repeat indefinitely.
295 * only play once. -1 means the segment will repeat indefinitely.
H A DAudioTrack.java40 * <li>too big to fit in memory because of the duration of the sound to play,</li>
53 * can play before running out of data.<br>
156 * Indicates the play state of the AudioTrack instance.
190 * The type of the audio stream to play. See
668 * the expected frequency at which the buffer will be refilled with additional data to play.
981 public void play() method in class:AudioTrack
984 throw new IllegalStateException("play() called on uninitialized AudioTrack.");
1016 * back will not be discarded. Subsequent calls to {@link #play} will play
1062 * @param audioData the array that holds the data to play
[all...]
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp379 int JetPlayer::play() function in class:android::JetPlayer
381 ALOGV("JetPlayer::play(): entering");
395 ALOGV("JetPlayer::play(): wakeup render thread");
H A DSoundPool.cpp237 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, function in class:android::SoundPool
240 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
271 ALOGV("play channel %p state = %d", channel, channel->state());
272 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
413 // if "stolen", play next event
545 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, function in class:android::SoundChannel
555 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
678 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java232 // if there are no more sounds to play, end the Looper to listen for media completion
278 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
284 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:NotificationPlayer
326 * We want to hold a wake lock while we do the prepare and play. The stop probably is
329 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
334 * This must be called before the first time play is called.
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java26 * can be set up to play together, in sequence, or after a specified delay.
31 * a set of animations all at once, or the {@link AnimatorSet#play(Animator)} can be
129 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
130 * This is equivalent to calling {@link #play(Animator)} with the first animator in the
142 Builder builder = play(items[0]);
150 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
160 builder = play(anim);
169 * Sets up this AnimatorSet to play each of the supplied animations when the
178 play(items[0]);
181 play(item
288 public Builder play(Animator anim) { method in class:AnimatorSet
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp41 // play event logic depends on the initial time being zero not ANDROID_UNKNOWN_TIME
73 void AudioSfDecoder::play() { function in class:android::AudioSfDecoder
74 SL_LOGD("AudioSfDecoder::play");
76 GenericPlayer::play();
451 // application set play state to paused which failed, then set play state to playing
H A Dandroid_GenericPlayer.cpp144 void GenericPlayer::play() { function in class:android::GenericPlayer
145 SL_LOGD("GenericPlayer::play()");
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java101 * actions: {@link MediaControlIntent#ACTION_PLAY play},
172 * {@link #play}, {@link #enqueue}, and {@link #startSession}.
207 * The callback should be set before the session is created or any play
218 * Sends a request to play a media item.
230 * @param contentUri The content Uri to play.
245 public void play(Uri contentUri, String mimeType, Bundle metadata, method in class:RemotePlaybackClient
254 * Enqueues a new item to play. If the queue was previously paused, then will
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp439 status_t WifiDisplaySource::PlaybackSession::play() { function in class:android::WifiDisplaySource::PlaybackSession
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java334 speechItem.play();
452 public int play() { method in class:TextToSpeechService.SpeechItem
455 throw new IllegalStateException("play() called twice");
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp347 status_t PreviewPlayer::play() { function in class:android::PreviewPlayer
348 ALOGV("play");
429 // Just set the new play duration for the existing source
496 * The two PreviewPlayer use the same AudioPlayer to play the audio,
633 // This resets the timestamping for image play
655 // is started again, we play from the start...
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp881 status_t AwesomePlayer::play() { function in class:android::AwesomePlayer
992 // is started again, we play from the start...

Completed in 462 milliseconds