Searched defs:play (Results 1 - 18 of 18) 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.java220 public void play() { method in class:Ringtone
222 // do not play ringtones if stream volume is 0
230 mRemotePlayer.play(mRemoteToken, canonicalUri, mStreamType);
H A DSoundPool.java57 * a value of 3 causes the sound to play a total of 4 times.</p>
60 * the sound to play at its original frequency (resampled, if necessary,
62 * sound to play at twice its original frequency, and a playback rate of
63 * 0.5 causes it to play at half its original frequency. The playback
67 * Priority is used when a call to play() would cause the number of active
73 * streams, the new sound will not play and the play() function will return
77 * play. For each level, there is a set of unique sounds that are used only
86 * <p>Once the sounds are loaded and play has started, the application can
87 * trigger sounds by calling SoundPool.play()
282 public native final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool
[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.java43 * <li>too big to fit in memory because of the duration of the sound to play,</li>
56 * can play before running out of data.<br>
152 * Indicates the play state of the AudioTrack instance.
195 * The type of the audio stream to play. See
647 * the expected frequency at which the buffer will be refilled with additional data to play.
880 public void play() method in class:AudioTrack
883 throw(new IllegalStateException("play() called on uninitialized AudioTrack."));
915 * back will not be discarded. Subsequent calls to {@link #play} will play
958 * @param audioData the array that holds the data to play
[all...]
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp383 int JetPlayer::play() function in class:android::JetPlayer
385 ALOGV("JetPlayer::play(): entering");
399 ALOGV("JetPlayer::play(): wakeup render thread");
H A DSoundPool.cpp241 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, function in class:android::SoundPool
244 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
275 ALOGV("play channel %p state = %d", channel, channel->state());
276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
417 // if "stolen", play next event
547 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, function in class:android::SoundChannel
557 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
682 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java213 // if there are no more sounds to play, end the Looper to listen for media completion
258 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
264 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:NotificationPlayer
306 * We want to hold a wake lock while we do the prepare and play. The stop probably is
309 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
314 * 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
125 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
132 Builder builder = play(items[0]);
140 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
150 builder = play(anim);
159 * Sets up this AnimatorSet to play each of the supplied animations when the
168 play(items[0]);
171 play(items[i]).before(items[i+1]);
178 * Sets up this AnimatorSet to play eac
272 public Builder play(Animator anim) { method in class:AnimatorSet
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java175 play();
274 private void play() { method in class:HTML5Audio
H A DHTML5VideoViewProxy.java189 // When native tell Java to play, we need to check whether or not it is
191 public static void play(String url, int time, HTML5VideoViewProxy proxy, method in class:HTML5VideoViewProxy.VideoPlayer
200 // javascript will switch the src and call play.
202 // and play the video after prepared.
377 VideoPlayer.play(url, mSeekPosition, this, client, videoLayerID);
678 public void play(String url, int position, int videoLayerID) { method in class:HTML5VideoViewProxy
/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/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp378 status_t WifiDisplaySource::PlaybackSession::play() { function in class:android::WifiDisplaySource::PlaybackSession
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java323 speechItem.play();
429 public int play() { method in class:TextToSpeechService.SpeechItem
432 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.cpp849 status_t AwesomePlayer::play() { function in class:android::AwesomePlayer
952 // is started again, we play from the start...

Completed in 367 milliseconds