Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueFragment.java48 private MediaController.TransportControls mTransportControls; field in QueueFragment
66 mTransportControls = mMediaController.getTransportControls();
91 mTransportControls = null;
158 mTransportControls.skipToQueueItem(item.getQueueId()); in onCreateView()
273 if (mTransportControls != null) { in playMedia()
274 mTransportControls.play(); in playMedia()
279 if (mTransportControls != null) { in pauseMedia()
280 mTransportControls.pause(); in pauseMedia()
285 if (mTransportControls != null) { in skipToPrevious()
286 mTransportControls.skipToPrevious(); in skipToPrevious()
[all …]
DMediaNotificationManager.java57 private MediaController.TransportControls mTransportControls; field in MediaNotificationManager
149 mTransportControls.pause(); in onReceive()
152 mTransportControls.play(); in onReceive()
155 mTransportControls.skipToNext(); in onReceive()
158 mTransportControls.skipToPrevious(); in onReceive()
178 mTransportControls = mController.getTransportControls(); in updateSessionToken()