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

/frameworks/base/media/java/android/media/
H A DMediaActionSound.java28 * camera2 API does not play any sounds on its own for any capture or video recording actions.</p>
30 * <p>With the older {@link android.hardware.Camera} API, use this class to play an appropriate
37 * <p>There is no need to play sounds when using
40 * as the Android framework will play the appropriate sounds when needed for
63 * @see #play
71 * @see #play
79 * @see #play
87 * @see #play
111 * played later by {@link #play}.
115 * @see #play
162 public synchronized void play(int soundName) { method in class:MediaActionSound
[all...]
H A DAsyncPlayer.java157 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
163 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer
205 * We want to hold a wake lock while we do the prepare and play. The stop probably is
208 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
213 * This must be called before the first time play is called.
H A DRingtone.java243 public void play() { method in class:Ringtone
245 // do not play ringtones if stream volume is 0
254 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes);
H A DSoundPool.java66 * a value of 3 causes the sound to play a total of 4 times.</p>
69 * the sound to play at its original frequency (resampled, if necessary,
71 * sound to play at twice its original frequency, and a playback rate of
72 * 0.5 causes it to play at half its original frequency. The playback
76 * Priority is used when a call to play() would cause the number of active
82 * streams, the new sound will not play and the play() function will return
86 * play. For each level, there is a set of unique sounds that are used only
95 * <p>Once the sounds are loaded and play has started, the application can
96 * trigger sounds by calling SoundPool.play()
300 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool
488 public int play( method in interface:SoundPool.SoundPoolDelegate
601 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool.SoundPoolImpl
748 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>
248 public boolean play() { method in class:JetPlayer
269 * only play once. -1 means the segment will repeat indefinitely.
297 * only play once. -1 means the segment will repeat indefinitely.
H A DAudioTrack.java57 * <li>too big to fit in memory because of the duration of the sound to play,</li>
70 * can play before running out of data.<br>
200 * Indicates the play state of the AudioTrack instance.
234 * The type of the audio stream to play. See
795 * the expected frequency at which the buffer will be refilled with additional data to play.
1138 public void play() method in class:AudioTrack
1141 throw new IllegalStateException("play() called on uninitialized AudioTrack.");
1186 * back will not be discarded. Subsequent calls to {@link #play} will play
1232 * @param audioData the array that holds the data to play
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DViewPropertyAnimatorCompatSet.java47 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { method in class:ViewPropertyAnimatorCompatSet
/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.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
557 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, function in class:android::SoundChannel
567 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
689 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java235 // if there are no more sounds to play, end the Looper to listen for media completion
281 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
286 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead.
289 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:NotificationPlayer
310 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
316 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { method in class:NotificationPlayer
358 * We want to hold a wake lock while we do the prepare and play. The stop probably is
361 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
366 * This must be called before the first time play is called.
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java104 public void play() { method in class:PlayerController
106 mTransportControls.play();
/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]);
182 play(item
290 public Builder play(Animator anim) { method in class:AnimatorSet
[all...]
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java81 public static void play(Object controlsObj) { method in class:MediaControllerCompatApi21.TransportControls
82 ((MediaController.TransportControls)controlsObj).play();
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java33 * receive updates from the session, such as metadata and play state changes.
307 public abstract void play(); method in class:MediaControllerCompat.TransportControls
594 public void play() { method in class:MediaControllerCompat.TransportControlsApi21
595 MediaControllerCompatApi21.TransportControls.play(mControlsObj);
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp42 // play event logic depends on the initial time being zero not ANDROID_UNKNOWN_TIME
74 void AudioSfDecoder::play() { function in class:android::AudioSfDecoder
75 SL_LOGD("AudioSfDecoder::play");
77 GenericPlayer::play();
453 // application set play state to paused which failed, then set play state to playing
H A Dandroid_GenericPlayer.cpp145 void GenericPlayer::play() { function in class:android::GenericPlayer
146 SL_LOGD("GenericPlayer::play()");
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java723 private void play(final int resId) { method in class:SearchBar
728 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY,
735 play(R.raw.lb_voice_open);
739 play(R.raw.lb_voice_failure);
743 play(R.raw.lb_voice_no_input);
747 play(R.raw.lb_voice_success);
/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.cpp440 status_t WifiDisplaySource::PlaybackSession::play() { function in class:android::WifiDisplaySource::PlaybackSession
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java526 speechItem.play();
722 public void play() { method in class:TextToSpeechService.SpeechItem
725 throw new IllegalStateException("play() called twice");
/frameworks/base/media/java/android/media/session/
H A DMediaController.java47 * receive updates from the session, such as metadata and play state changes.
172 * Get the current play queue for this session if one is set. If you only
175 * @return The current play queue or null.
547 * @param queue A list of items in the current play queue. It should
558 * @param title The title that should be displayed along with the play queue such as
595 public void play() { method in class:MediaController.TransportControls
597 mSessionBinder.play();
599 Log.wtf(TAG, "Error calling play.", e);
618 Log.wtf(TAG, "Error calling play(" + mediaId + ").", e);
624 * An empty or null query should be treated as a request to play an
[all...]
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp909 status_t AwesomePlayer::play() { function in class:android::AwesomePlayer
1022 // is started again, we play from the start...
2245 ALOGE("Attempt to play media from http URI without HTTP service.");
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java856 public void play() { method in class:MediaSessionRecord.SessionCb
860 Slog.e(TAG, "Remote failure in play.", e);
1081 public void play() throws RemoteException { method in class:MediaSessionRecord.ControllerStub
1082 mSessionCb.play();

Completed in 1398 milliseconds