Searched defs:mPlayer (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaPlayerInvokeTest.java37 private MediaPlayer mPlayer; field in class:MediaPlayerInvokeTest
48 mPlayer = new MediaPlayer();
53 mPlayer.release();
61 mPlayer.setDataSource("test:invoke_mock_media_player.so?url=ping");
63 Parcel request = mPlayer.newRequest();
68 mPlayer.invoke(request, reply);
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.h74 const wp<StreamPlayer> mPlayer; member in class:android::StreamSourceAppProxy
H A Dandroid_GenericMediaPlayer.h117 sp<IMediaPlayer> mPlayer; member in class:android::GenericMediaPlayer
118 // Receives Android MediaPlayer events from mPlayer
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java35 private MediaPlayer mPlayer; field in class:AudioPlaybackQueueItem
48 mPlayer = null;
58 mPlayer = MediaPlayer.create(
61 if (mPlayer == null) {
67 mPlayer.setOnErrorListener(new MediaPlayer.OnErrorListener() {
75 mPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
83 setupVolume(mPlayer, mAudioParams.mVolume, mAudioParams.mPan);
84 mPlayer.start();
118 mPlayer.stop();
122 mPlayer
[all...]
/frameworks/av/include/media/
H A DJetPlayer.h99 JetPlayerThread(JetPlayer *player) : mPlayer(player) {
106 JetPlayer *mPlayer; member in class:android::JetPlayer::JetPlayerThread
110 result = mPlayer->render();
H A Dmediaplayer.h287 sp<IMediaPlayer> mPlayer; member in class:android::MediaPlayer
/frameworks/av/media/libmedia/include/media/
H A DJetPlayer.h99 JetPlayerThread(JetPlayer *player) : mPlayer(player) {
106 JetPlayer *mPlayer; member in class:android::JetPlayer::JetPlayerThread
110 result = mPlayer->render();
H A Dmediaplayer.h287 sp<IMediaPlayer> mPlayer; member in class:android::MediaPlayer
/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.h79 // All the methods below wrap the mPlayer instance.
82 return mPlayer->setVideoSurfaceTexture(st);
84 virtual status_t prepare() {return mPlayer->prepare();}
85 virtual status_t prepareAsync() {return mPlayer->prepareAsync();}
86 virtual status_t start() {return mPlayer->start();}
87 virtual status_t stop() {return mPlayer->stop();}
88 virtual status_t pause() {return mPlayer->pause();}
89 virtual bool isPlaying() {return mPlayer->isPlaying();}
93 return mPlayer->seekTo(msec, mode);
96 return mPlayer
128 MediaPlayerBase *mPlayer; // wrapped player member in class:android::TestPlayerStub
[all...]
H A DMediaPlayerService.h421 sp<MediaPlayerBase> getPlayer() const { Mutex::Autolock lock(mLock); return mPlayer; }
441 sp<MediaPlayerBase> mPlayer; member in class:android::MediaPlayerService::Client
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h130 const sp<NuPlayer> mPlayer; member in struct:android::NuPlayerDriver
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java66 if (mPlayer != null) {
67 mPlayer.release();
69 mPlayer = player;
101 if (mPlayer != null) {
106 mPlayer.stop();
107 mPlayer.release();
108 mPlayer = null;
132 private MediaPlayer mPlayer; field in class:AsyncPlayer
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DOnePlayerActivity.java49 protected PlayerController mPlayer; field in class:OnePlayerActivity
68 mPlayer = new PlayerController(this, OnePlayerService.getServiceIntent(this));
99 mPlayer.onResume();
100 mPlayer.setListener(mListener);
105 mPlayer.setListener(null);
106 mPlayer.onPause();
130 mPlayer.setArt(mAlbumArtBitmap);
149 mPlayer.play();
151 mPlayer.pause();
156 mPlayer
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java132 if (mPlayer != null) {
133 mPlayer.release();
135 mPlayer = player;
202 if (mPlayer != null) {
207 mPlayer.stop();
208 mPlayer.release();
209 mPlayer = null;
275 private MediaPlayer mPlayer; field in class:NotificationPlayer
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSampleMediaRouteProvider.java232 private final Player mPlayer; field in class:SampleMediaRouteProvider.SampleRouteController
237 mPlayer = Player.create(getContext(), null, null);
238 mSessionManager.setPlayer(mPlayer);
256 mPlayer.release();
262 mPlayer.connect(null);
268 mPlayer.release();
324 data.putParcelable(EXTRA_SNAPSHOT, mPlayer.getSnapshot());
H A DSampleMediaRouterActivity.java111 private Player mPlayer; field in class:SampleMediaRouterActivity
135 mPlayer = Player.create(SampleMediaRouterActivity.this, route, mMediaSession);
137 mPlayer.updatePresentation();
139 mSessionManager.setPlayer(mPlayer);
157 mPlayer.updatePresentation();
159 mPlayer.release();
172 mPlayer.updatePresentation();
386 mPlayer = Player.create(SampleMediaRouterActivity.this,
389 mSessionManager.setPlayer(mPlayer);
497 if (!mPlayer
763 private Player mPlayer; field in class:SampleMediaRouterActivity.ControllerDialogFragment
[all...]
H A DSessionManager.java45 private Player mPlayer; field in class:SessionManager
82 mPlayer.takeSnapshot();
87 } else if (mPlayer.isQueuingSupported()) {
93 mPlayer.getStatus(item, (i == mPlaylist.size() - 1) /* update */);
98 mPlayer.getStatus(getCurrentItem(), true /* update */);
121 if (mPlayer.isQueuingSupported()) {
122 mPlayer.enqueue(item);
149 mPlayer.seek(item);
160 if (mPlayer.isRemotePlayback()) {
168 mPlayer
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSampleMediaRouteProvider.java232 private final Player mPlayer; field in class:SampleMediaRouteProvider.SampleRouteController
237 mPlayer = Player.create(getContext(), null, null);
238 mSessionManager.setPlayer(mPlayer);
256 mPlayer.release();
262 mPlayer.connect(null);
268 mPlayer.release();
324 data.putParcelable(EXTRA_SNAPSHOT, mPlayer.getSnapshot());
H A DSampleMediaRouterActivity.java111 private Player mPlayer; field in class:SampleMediaRouterActivity
135 mPlayer = Player.create(SampleMediaRouterActivity.this, route, mMediaSession);
137 mPlayer.updatePresentation();
139 mSessionManager.setPlayer(mPlayer);
157 mPlayer.updatePresentation();
159 mPlayer.release();
172 mPlayer.updatePresentation();
386 mPlayer = Player.create(SampleMediaRouterActivity.this,
389 mSessionManager.setPlayer(mPlayer);
497 if (!mPlayer
763 private Player mPlayer; field in class:SampleMediaRouterActivity.ControllerDialogFragment
[all...]
H A DSessionManager.java45 private Player mPlayer; field in class:SessionManager
82 mPlayer.takeSnapshot();
87 } else if (mPlayer.isQueuingSupported()) {
93 mPlayer.getStatus(item, (i == mPlaylist.size() - 1) /* update */);
98 mPlayer.getStatus(getCurrentItem(), true /* update */);
121 if (mPlayer.isQueuingSupported()) {
122 mPlayer.enqueue(item);
149 mPlayer.seek(item);
160 if (mPlayer.isRemotePlayback()) {
168 mPlayer
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
H A DMediaPlayerAdapter.java35 final MediaPlayer mPlayer = new MediaPlayer(); field in class:MediaPlayerAdapter
155 mPlayer.reset();
174 mPlayer.release();
254 mPlayer.setDisplay(surfaceHolder);
282 return mInitialized && mPlayer.isPlaying();
287 return mInitialized ? mPlayer.getDuration() : -1;
292 return mInitialized ? mPlayer.getCurrentPosition() : -1;
297 if (!mInitialized || mPlayer.isPlaying()) {
300 mPlayer.start();
308 mPlayer
[all...]
/frameworks/base/core/java/android/widget/
H A DMediaController.java71 private MediaPlayerControl mPlayer; field in class:MediaController
209 mPlayer = player;
323 if (mPauseButton != null && !mPlayer.canPause()) {
326 if (mRewButton != null && !mPlayer.canSeekBackward()) {
329 if (mFfwdButton != null && !mPlayer.canSeekForward()) {
339 if (mProgress != null && !mPlayer.canSeekBackward() && !mPlayer.canSeekForward()) {
413 if (!mDragging && mShowing && mPlayer.isPlaying()) {
435 if (mPlayer == null || mDragging) {
438 int position = mPlayer
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java192 private MediaPlayer mPlayer; field in class:LocalRenderer
297 if (mPlayer != null) {
298 mPlayer.release();
300 mPlayer = mNextPlayer;
396 Log.d(TAG, mDebugId + ": Settings new content. Have a player? " + (mPlayer != null)
407 mPlayer = newPlayer;
433 Log.d(TAG, mDebugId + ": Setting next content. Have player? " + (mPlayer != null)
437 if (mPlayer == null) {
445 mPlayer.setNextMediaPlayer(null);
470 mPlayer
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java64 private final MediaPlayer mPlayer = new MediaPlayer(); field in class:MediaPlayerGlue
101 mPlayer.reset();
124 mPlayer.setDisplay(surfaceHolder);
228 return mPlayer.isPlaying();
240 return mInitialized ? mPlayer.getDuration() : 0;
253 return mPlayer.isPlaying() ? 1 : 0;
257 return mInitialized ? mPlayer.getCurrentPosition() : 0;
261 mPlayer.start();
265 if (mPlayer.isPlaying()) {
266 mPlayer
[all...]
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java64 private final MediaPlayer mPlayer = new MediaPlayer(); field in class:MediaPlayerGlue
101 mPlayer.reset();
124 mPlayer.setDisplay(surfaceHolder);
228 return mPlayer.isPlaying();
240 return mInitialized ? mPlayer.getDuration() : 0;
253 return mPlayer.isPlaying() ? 1 : 0;
257 return mInitialized ? mPlayer.getCurrentPosition() : 0;
261 mPlayer.start();
265 if (mPlayer.isPlaying()) {
266 mPlayer
[all...]

Completed in 1991 milliseconds

12