Lines Matching refs:RemoteController
42 * The RemoteController class is used to control media playback, display and update media metadata
45 * A RemoteController shall be registered through
46 * {@link AudioManager#registerRemoteController(RemoteController)} in order for the system to send
56 public final class RemoteController
60 private final static String TAG = "RemoteController";
93 public RemoteController(Context context, OnClientUpdateListener updateListener)
107 public RemoteController(Context context, OnClientUpdateListener updateListener, Looper looper)
276 Log.e(TAG, "Cannot use sendMediaKeyEvent() from an unregistered RemoteController");
280 Log.e(TAG, "Cannot use sendMediaKeyEvent() from a disabled RemoteController");
304 * This method can only be called on a registered RemoteController.
311 Log.e(TAG, "Cannot use seekTo() from a disabled RemoteController");
354 // RemoteController.getArtworkSize() when AudioManager.registerRemoteController()
373 * Prevents this RemoteController from receiving artwork images.
401 * Must be called on a registered RemoteController.
411 Log.e(TAG, "Cannot set synchronization mode on an unregistered RemoteController");
423 * This method can only be called on a registered RemoteController.
473 * instance was created with {@link RemoteController#editMetadata()}
477 // "applying" a metadata bundle in RemoteController is only for sending edited
499 // multiple times, whenever the user of a RemoteController needs to change the
511 private final WeakReference<RemoteController> mController;
513 RcDisplay(RemoteController rc) {
514 mController = new WeakReference<RemoteController>(rc);
519 final RemoteController rc = mController.get();
541 final RemoteController rc = mController.get();
551 final RemoteController rc = mController.get();
577 final RemoteController rc = mController.get();
592 final RemoteController rc = mController.get();
611 final RemoteController rc = mController.get();
629 final RemoteController rc = mController.get();
667 public EventHandler(RemoteController rc, Looper looper) {