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

123

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
H A DPlaybackBannerControlGlueTest.java48 public void play() { method in class:PlaybackBannerControlGlueTest.PlayerAdapterSample
192 mGlue.play();
193 Mockito.verify(impl, times(1)).play();
197 // one call for play() and one call for seekTo()
H A DPlaybackTransportControlGlueTest.java50 public void play() { method in class:PlaybackTransportControlGlueTest.PlayerAdapterSample
102 mGlue.play();
103 Mockito.verify(mAdapter, times(1)).play();
205 mGlue.play();
206 Mockito.verify(mAdapter, times(1)).play();
324 Mockito.verify(mAdapter, times(1)).play();
333 Mockito.verify(mAdapter, never()).play();
342 Mockito.verify(mAdapter, times(1)).play();
/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
67 * @see #play
75 * @see #play
83 * @see #play
91 * @see #play
154 * played later by {@link #play}.
158 * @see #play
214 public 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)})
164 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead
166 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer
167 PlayerBase.deprecateStreamTypeForPlayback(stream, "AsyncPlayer", "play()");
172 play(context, uri, looping,
175 Log.e(mTag, "Call to deprecated AsyncPlayer.play() method caused:", e);
186 * @param uri the non-null URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
193 public void play(@NonNull Context context, @NonNull Uri uri, boolean looping, method in class:AsyncPlayer
196 throw new IllegalArgumentException("Illegal null AsyncPlayer.play() argument");
239 * We want to hold a wake lock while we do the prepare and play
[all...]
H A DMediaPlayerBase.java82 * for this player to be able to play the content.
89 * for data, and cannot play.
102 public abstract void play(); method in class:MediaPlayerBase
108 * resources required to play, such as audio and video decoders.
202 * @return the current data source, or null if none is set, or none available to play.
239 * Sets the volume of the audio of the media to play, expressed as a linear multiplier
290 * Called when the player is <i>prepared</i>, i.e. it is ready to play the content
293 * @param dsd the data source that the player is prepared to play.
H A DRingtone.java345 public void play() { method in class:Ringtone
347 // do not play ringtones if stream volume is 0
362 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes, volume, looping);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DPlayerAdapter.java89 public void play() { method in class:PlayerAdapter
H A DPlaybackControlGlue.java224 play(PlaybackControlGlue.PLAYBACK_SPEED_NORMAL);
233 public void play(int speed) { method in class:PlaybackControlGlue
H A DPlaybackTransportControlGlueSample.java215 play();
272 public void play() { method in class:PlaybackTransportControlGlueSample
273 super.play();
310 play();
363 // Translate player adapter's state to play back state compat
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DPlayerAdapter.java89 public void play() { method in class:PlayerAdapter
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
H A DViewPropertyAnimatorCompatSet.java52 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { method in class:ViewPropertyAnimatorCompatSet
/frameworks/support/leanback/src/main/java/androidx/leanback/media/
H A DMediaControllerGlue.java196 public void play(int speed) { method in class:MediaControllerGlue
199 mMediaController.getTransportControls().play();
H A DPlaybackGlue.java27 * Base class for abstraction of media play/pause feature. A subclass of PlaybackGlue will contain
49 * Interface to allow clients to take action once the video is ready to play and start stop.
141 public void play() { method in class:PlaybackGlue
145 * Starts play when {@link #isPrepared()} becomes true.
149 play();
156 play();
H A DMediaControllerAdapter.java84 // play list is finished. And repeat mode is not enabled.
142 public void play() { method in class:MediaControllerAdapter
143 mController.getTransportControls().play();
H A DMediaPlayerAdapter.java297 public void play() { method in class:MediaPlayerAdapter
H A DPlayerAdapter.java136 public abstract void play(); method in class:PlayerAdapter
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp373 int JetPlayer::play() function in class:android::JetPlayer
375 ALOGV("JetPlayer::play(): entering");
389 ALOGV("JetPlayer::play(): wakeup render thread");
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java287 // if there are no more sounds to play, end the Looper to listen for media completion
350 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
355 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead.
358 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:NotificationPlayer
359 if (DEBUG) { Log.d(mTag, "play uri=" + uri.toString()); }
360 PlayerBase.deprecateStreamTypeForPlayback(stream, "NotificationPlayer", "play");
381 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
387 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { method in class:NotificationPlayer
388 if (DEBUG) { Log.d(mTag, "play uri=" + uri.toString()); }
432 * We want to hold a wake lock while we do the prepare and play
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java104 public void play() { method in class:PlayerController
106 mTransportControls.play();
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
H A DPlayer.java32 * Abstraction of common playback operations of media items, such as play,
63 public abstract void play(final PlaylistItem item); method in class:Player
H A DRemotePlayer.java126 public void play(final PlaylistItem item) { method in class:RemotePlayer
128 Log.d(TAG, "play: item=" + item);
130 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() {
134 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus);
151 logError("play: failed", error, code);
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaInterface2.java32 void play(); method in interface:MediaInterface2.SessionPlaybackControl
H A DMediaPlayerInterface.java90 * for this player to be able to play the content.
97 * for data, and cannot play.
110 public abstract void play(); method in class:MediaPlayerInterface
116 * allocate resources required to play, such as audio and video decoders.
216 * @return the current data source, or null if none is set, or none available to play.
257 * Sets the volume of the audio of the media to play, expressed as a linear multiplier
311 * Called when the player is <i>prepared</i>, i.e. it is ready to play the content
314 * @param dsd the data source that the player is prepared to play.
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
H A DPlayer.java32 * Abstraction of common playback operations of media items, such as play,
63 public abstract void play(final PlaylistItem item); method in class:Player
H A DRemotePlayer.java126 public void play(final PlaylistItem item) { method in class:RemotePlayer
128 Log.d(TAG, "play: item=" + item);
130 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() {
134 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus);
151 logError("play: failed", error, code);

Completed in 296 milliseconds

123