HomeSort by relevance Sort by last modified time
    Searched refs:mMediaController (Results 1 - 25 of 25) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
MediaControllerTest.java 47 private MediaController mMediaController;
84 mMediaController = new MediaController(mActivity);
86 mMediaController.setMediaPlayer(mediaPlayerControl);
88 assertFalse(mMediaController.isShowing());
89 mMediaController.show();
92 assertFalse(mMediaController.isShowing());
95 mMediaController.setAnchorView(videoview);
97 mMediaController.show();
98 assertTrue(mMediaController.isShowing());
103 mMediaController = new MediaController(mActivity, false)
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
MediaControllerGlue.java 22 private MediaControllerCompat mMediaController;
38 mMediaController = null;
90 if (mediaController != mMediaController) {
93 mMediaController = mediaController;
94 if (mMediaController != null) {
95 mMediaController.registerCallback(mCallback);
107 if (mMediaController != null) {
108 mMediaController.unregisterCallback(mCallback);
110 mMediaController = null;
117 return mMediaController;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
PipControlsView.java 55 private MediaController mMediaController;
143 if (mMediaController == null || mMediaController.getPlaybackState() == null) {
146 long actions = mMediaController.getPlaybackState().getActions();
147 int state = mMediaController.getPlaybackState().getState();
149 mMediaController.getTransportControls().play();
151 mMediaController.getTransportControls().pause();
169 if (mMediaController != null) {
170 mMediaController.unregisterCallback(mMediaControllerCallback);
176 if (mMediaController == newController)
    [all...]
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
QueueFragment.java 49 private MediaController mMediaController;
64 mMediaController = new MediaController(getActivity(),
66 mTransportControls = mMediaController.getTransportControls();
67 mMediaController.registerCallback(mSessionCallback);
69 getActivity().setMediaController(mMediaController);
70 mPlaybackState = mMediaController.getPlaybackState();
72 List<MediaSession.QueueItem> queue = mMediaController.getQueue();
90 mMediaController.unregisterCallback(mSessionCallback);
92 mMediaController = null;
180 if (mMediaController != null)
    [all...]
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
QueueFragment.java 49 private MediaController mMediaController;
64 mMediaController = new MediaController(getActivity(),
66 mTransportControls = mMediaController.getTransportControls();
67 mMediaController.registerCallback(mSessionCallback);
69 getActivity().setMediaController(mMediaController);
70 mPlaybackState = mMediaController.getPlaybackState();
72 List<MediaSession.QueueItem> queue = mMediaController.getQueue();
90 mMediaController.unregisterCallback(mSessionCallback);
92 mMediaController = null;
180 if (mMediaController != null)
    [all...]
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
QueueFragment.java 49 private MediaController mMediaController;
64 mMediaController = new MediaController(getActivity(),
66 mTransportControls = mMediaController.getTransportControls();
67 mMediaController.registerCallback(mSessionCallback);
69 getActivity().setMediaController(mMediaController);
70 mPlaybackState = mMediaController.getPlaybackState();
72 List<MediaSession.QueueItem> queue = mMediaController.getQueue();
90 mMediaController.unregisterCallback(mSessionCallback);
92 mMediaController = null;
180 if (mMediaController != null)
    [all...]
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
MediaBrowserSupport.java 29 private MediaControllerCompat mMediaController;
45 mMediaController.getTransportControls().playFromMediaId(item.getMediaId(), null);
60 mMediaController = mediaController;
TransportControllerActivity.java 45 private MediaController mMediaController;
112 MediaController mMediaController;
127 mMediaController.updateProgress();
147 mMediaController = mediaController;
198 mMediaController.setEnabled(true);
219 mMediaController.refresh();
228 mMediaController.refresh();
268 mMediaController.setVisibility(visible ? VISIBLE : INVISIBLE);
286 mMediaController = (MediaController) findViewById(R.id.media_controller);
287 mMediaController.setMediaPlayer(mTransportMediator)
    [all...]
QueueFragment.java 52 private MediaControllerCompat mMediaController;
68 mMediaController = new MediaControllerCompat(getActivity(),
73 mTransportControls = mMediaController.getTransportControls();
74 mMediaController.registerCallback(mSessionCallback);
76 ((MediaBrowserSupport) getActivity()).setMediaController(mMediaController);
77 mPlaybackState = mMediaController.getPlaybackState();
79 List<MediaSessionCompat.QueueItem> queue = mMediaController.getQueue();
97 mMediaController.unregisterCallback(mSessionCallback);
99 mMediaController = null;
187 if (mMediaController != null)
    [all...]
  /frameworks/base/core/java/android/widget/
VideoView.java 103 private MediaController mMediaController;
385 if (mMediaController != null) {
386 mMediaController.hide();
388 mMediaController = controller;
393 if (mMediaPlayer != null && mMediaController != null) {
394 mMediaController.setMediaPlayer(this);
397 mMediaController.setAnchorView(anchorView);
398 mMediaController.setEnabled(isInPlaybackState());
436 if (mMediaController != null) {
437 mMediaController.setEnabled(true)
    [all...]
  /frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
RgbPlayerActivity.java 83 private MediaController mMediaController;
150 mMediaController = new MediaController(context);
156 if (mMediaController != null) {
158 mMediaController.setMediaPlayer(this);
161 mMediaController.setAnchorView(anchorView);
162 mMediaController.setEnabled(true);
166 mMediaController.show();
VideoDumpView.java 69 private MediaController mMediaController;
196 if (mMediaController != null) {
197 mMediaController.hide();
199 mMediaController = controller;
203 if (mMediaPlayer != null && mMediaController != null) {
205 mMediaController.setMediaPlayer(this);
208 mMediaController.setAnchorView(anchorView);
209 mMediaController.setEnabled(true);
212 mMediaController.show();
  /packages/apps/Gallery/src/com/android/camera/
MovieViewControl.java 65 private MediaController mMediaController;
99 mMediaController = new MediaController(context);
100 mVideoView.setMediaController(mMediaController);
225 mMediaController.show(0);
  /packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
Avrcp.java 76 private MediaController mMediaController;
268 if (mMediaController != null) {
269 mMediaController.unregisterCallback(mMediaControllerCb);
271 mMediaController = controller;
272 if (mMediaController == null) {
276 mMediaController.registerCallback(mMediaControllerCb, mHandler);
277 updateMetadata(mMediaController.getMetadata());
557 mMediaController.dispatchMediaButtonEvent(keyEvent);
566 mMediaController.dispatchMediaButtonEvent(keyEvent);
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteControllerDialog.java 157 private MediaControllerCompat mMediaController;
286 if (mMediaController != null) {
287 mMediaController.unregisterCallback(mControllerCallback);
288 mMediaController = null;
297 mMediaController = new MediaControllerCompat(mContext, sessionToken);
301 if (mMediaController != null) {
302 mMediaController.registerCallback(mControllerCallback);
304 MediaMetadataCompat metadata = mMediaController == null ? null
305 : mMediaController.getMetadata();
307 mState = mMediaController == null ? null : mMediaController.getPlaybackState()
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaFrameworkTest.java 56 private MediaController mMediaController;
  /frameworks/support/fragment/java/android/support/v4/app/
FragmentActivity.java 138 MediaControllerCompat mMediaController;
200 mMediaController = mediaController;
214 return mMediaController;
    [all...]
  /frameworks/base/core/java/com/android/internal/policy/
PhoneWindow.java 249 private MediaController mMediaController;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBar.java 496 private MediaController mMediaController;
    [all...]
  /prebuilts/sdk/current/support/v7/mediarouter/libs/
android-support-v7-mediarouter.jar 
  /prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar 
  /external/robolectric/v3/runtime/
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /prebuilts/sdk/current/support/v13/
android-support-v13.jar 
  /prebuilts/sdk/current/support/v4/
android-support-v4.jar 

Completed in 2315 milliseconds