Searched defs:play (Results 1 - 24 of 24) 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.java158 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
163 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead
165 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer
170 play(context, uri, looping,
173 Log.e(mTag, "Call to deprecated AsyncPlayer.play() method caused:", e);
184 * @param uri the non-null URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
191 public void play(@NonNull Context context, @NonNull Uri uri, boolean looping, method in class:AsyncPlayer
194 throw new IllegalArgumentException("Illegal null AsyncPlayer.play() argument");
237 * We want to hold a wake lock while we do the prepare and play. The stop probably is
240 * sound to play, bu
[all...]
H A DRingtone.java324 public void play() { method in class:Ringtone
326 // do not play ringtones if stream volume is 0
341 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes, volume, looping);
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()
332 public 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>
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.java60 * <li>too big to fit in memory because of the duration of the sound to play,</li>
73 * can play before running out of data.<br>
232 * Indicates the play state of the AudioTrack instance.
269 * The type of the audio stream to play. See
1118 * the expected frequency at which the buffer will be refilled with additional data to play.
1513 * a value of one means to play the region two times in total.
1554 * play().
1557 * calling play(), by writing up to <code>bufferSizeInBytes</code> (from constructor).
1559 * data, then the track will be in underrun state at play(). In this case,
1567 * This allows play() t
1571 public void play() method in class:AudioTrack
[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.cpp370 int JetPlayer::play() function in class:android::JetPlayer
372 ALOGV("JetPlayer::play(): entering");
386 ALOGV("JetPlayer::play(): wakeup render thread");
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java237 // if there are no more sounds to play, end the Looper to listen for media completion
290 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
295 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead.
298 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:NotificationPlayer
319 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
325 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { method in class:NotificationPlayer
367 * We want to hold a wake lock while we do the prepare and play. The stop probably is
370 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
375 * 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.java27 * can be set up to play together, in sequence, or after a specified delay.
32 * a set of animations all at once, or the {@link AnimatorSet#play(Animator)} can be
130 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
131 * This is equivalent to calling {@link #play(Animator)} with the first animator in the
143 Builder builder = play(items[0]);
151 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
161 builder = play(anim);
170 * Sets up this AnimatorSet to play each of the supplied animations when the
179 play(items[0]);
183 play(item
304 public Builder play(Animator anim) { method in class:AnimatorSet
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp43 // play event logic depends on the initial time being zero not ANDROID_UNKNOWN_TIME
75 void AudioSfDecoder::play() { function in class:android::AudioSfDecoder
76 SL_LOGD("AudioSfDecoder::play");
78 GenericPlayer::play();
454 // 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.java740 private void play(final int resId) { method in class:SearchBar
745 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY,
752 play(R.raw.lb_voice_open);
756 play(R.raw.lb_voice_failure);
760 play(R.raw.lb_voice_no_input);
764 play(R.raw.lb_voice_success);
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java122 public static void play(Object controlsObj) { method in class:MediaControllerCompatApi21.TransportControls
123 ((MediaController.TransportControls)controlsObj).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.cpp442 status_t WifiDisplaySource::PlaybackSession::play() { function in class:android::WifiDisplaySource::PlaybackSession
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java557 speechItem.play();
774 public void play() { method in class:TextToSpeechService.SpeechItem
777 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.
549 * @param queue A list of items in the current play queue. It should
560 * @param title The title that should be displayed along with the play queue such as
597 public void play() { method in class:MediaController.TransportControls
599 mSessionBinder.play();
601 Log.wtf(TAG, "Error calling play.", e);
620 Log.wtf(TAG, "Error calling play(" + mediaId + ").", e);
626 * An empty or null query should be treated as a request to play an
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp235 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, function in class:android::SoundPool
238 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
269 ALOGV("play channel %p state = %d", channel, channel->state());
270 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
423 // if "stolen", play next event
668 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, function in class:android::SoundChannel
678 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
816 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java45 * receive updates from the session, such as metadata and play state changes.
144 * Get the current play queue for this session if one is set. If you only
147 * @return The current play queue or null.
392 * @param queue A list of items in the current play queue. It should
402 * @param title The title that should be displayed along with the play
574 public abstract void play(); method in class:MediaControllerCompat.TransportControls
587 * An empty or null query should be treated as a request to play any
609 * Play an item with a specific id in the play queue. If you specify an
610 * id that is not in the play queue, the behavior is undefined.
1009 public void play() { method in class:MediaControllerCompat.TransportControlsBase
1272 public void play() { method in class:MediaControllerCompat.TransportControlsApi21
[all...]
H A DMediaSessionCompat.java346 * Update the list of items in the play queue. It is an ordered list and
348 * exist. Specify null if there is no current play queue.
350 * The queue should be of reasonable size. If the play queue is unbounded
354 * @param queue A list of items in the play queue.
361 * Set the title of the play queue. The UI should display this title along
362 * with the play queue itself. e.g. "Play Queue", "Now Playing", or an album
365 * @param title The title of the play queue.
512 * Override to handle requests to play a specific mediaId that was
520 * empty query indicates that the app may play any music. The
522 * play
1611 public void play() throws RemoteException { method in class:MediaSessionCompat.MediaSessionImplBase.MediaSessionStub
[all...]
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp918 status_t AwesomePlayer::play() { function in class:android::AwesomePlayer
1035 // is started again, we play from the start...
2262 ALOGE("Attempt to play media from http URI without HTTP service.");
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java871 public void play() { method in class:MediaSessionRecord.SessionCb
875 Slog.e(TAG, "Remote failure in play.", e);
1103 public void play() throws RemoteException { method in class:MediaSessionRecord.ControllerStub
1104 mSessionCb.play();

Completed in 765 milliseconds