Searched refs:mediaSession (Results 1 – 2 of 2) sorted by relevance
41 private final MediaSessionCompat mediaSession; field in TimelineQueueNavigator54 public TimelineQueueNavigator(MediaSessionCompat mediaSession) { in TimelineQueueNavigator() argument55 this(mediaSession, DEFAULT_MAX_QUEUE_SIZE); in TimelineQueueNavigator()68 public TimelineQueueNavigator(MediaSessionCompat mediaSession, int maxQueueSize) { in TimelineQueueNavigator() argument70 this.mediaSession = mediaSession; in TimelineQueueNavigator()175 mediaSession.setQueue(Collections.emptyList()); in publishFloatingQueueWindow()216 mediaSession.setQueue(new ArrayList<>(queue)); in publishFloatingQueueWindow()
409 public final MediaSessionCompat mediaSession; field in MediaSessionConnector438 public MediaSessionConnector(MediaSessionCompat mediaSession) { in MediaSessionConnector() argument439 this.mediaSession = mediaSession; in MediaSessionConnector()449 mediaSession.getController(), /* metadataExtrasPrefix= */ null); in MediaSessionConnector()451 mediaSession.setFlags(BASE_MEDIA_SESSION_FLAGS); in MediaSessionConnector()452 mediaSession.setCallback(componentListener, new Handler(looper)); in MediaSessionConnector()600 mediaSession.setFlags( in setQueueEditor()710 mediaSession.setMetadata(metadata); in invalidateMediaSessionMetadata()731 mediaSession.setRepeatMode(PlaybackStateCompat.REPEAT_MODE_NONE); in invalidateMediaSessionPlaybackState()732 mediaSession.setShuffleMode(PlaybackStateCompat.SHUFFLE_MODE_NONE); in invalidateMediaSessionPlaybackState()[all …]