Home
last modified time | relevance | path

Searched refs:mTransportControls (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DQueueFragment.java51 private MediaControllerCompat.TransportControls mTransportControls; field in QueueFragment
73 mTransportControls = mMediaController.getTransportControls();
98 mTransportControls = null;
165 mTransportControls.skipToQueueItem(item.getQueueId()); in onCreateView()
282 if (mTransportControls != null) { in playMedia()
283 mTransportControls.play(); in playMedia()
288 if (mTransportControls != null) { in pauseMedia()
289 mTransportControls.pause(); in pauseMedia()
294 if (mTransportControls != null) { in skipToPrevious()
295 mTransportControls.skipToPrevious(); in skipToPrevious()
[all …]
DMediaNotificationManager.java60 private MediaControllerCompat.TransportControls mTransportControls; field in MediaNotificationManager
151 mTransportControls.pause(); in onReceive()
154 mTransportControls.play(); in onReceive()
157 mTransportControls.skipToNext(); in onReceive()
160 mTransportControls.skipToPrevious(); in onReceive()
184 mTransportControls = mController.getTransportControls(); in updateSessionToken()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java46 protected MediaController.TransportControls mTransportControls; field in PlayerController
105 if (mTransportControls != null) { in play()
106 mTransportControls.play(); in play()
111 if (mTransportControls != null) { in pause()
112 mTransportControls.pause(); in pause()
166 mTransportControls = null;
189 mTransportControls = mController.getTransportControls();
197 if (mTransportControls != null) {
DNotificationHelper.java38 private final MediaController.TransportControls mTransportControls; field in NotificationHelper
50 mTransportControls = mController.getTransportControls(); in NotificationHelper()
113 mTransportControls.pause(); in onReceive()
115 mTransportControls.play(); in onReceive()
117 mTransportControls.skipToNext(); in onReceive()
119 mTransportControls.skipToPrevious(); in onReceive()
121 mTransportControls.rewind(); in onReceive()
123 mTransportControls.fastForward(); in onReceive()
/frameworks/base/media/java/android/media/session/
DMediaController.java80 private final TransportControls mTransportControls; field in MediaController
96 mTransportControls = new TransportControls(); in MediaController()
118 return mTransportControls; in getTransportControls()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaControllerCompat.java891 private TransportControls mTransportControls; field in MediaControllerCompat.MediaControllerImplBase
944 if (mTransportControls == null) { in getTransportControls()
945 mTransportControls = new TransportControlsBase(mBinder); in getTransportControls()
948 return mTransportControls; in getTransportControls()