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

  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
QueueHelper.java 39 public static List<MediaSession.QueueItem> getPlayingQueue(String mediaId,
70 public static List<MediaSession.QueueItem> getPlayingQueueFromSearch(String query,
79 public static int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue,
82 for (MediaSession.QueueItem item : queue) {
91 public static int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue,
94 for (MediaSession.QueueItem item : queue) {
103 private static List<MediaSession.QueueItem> convertToQueue(
105 List<MediaSession.QueueItem> queue = new ArrayList<>();
110 // at the QueueItem media IDs.
120 MediaSession.QueueItem item = new MediaSession.QueueItem
    [all...]
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
QueueAdapter.java 32 public class QueueAdapter extends ArrayAdapter<MediaSession.QueueItem> {
35 private long mActiveQueueItemId = MediaSession.QueueItem.UNKNOWN_ID;
38 super(context, R.layout.media_list_item, new ArrayList<MediaSession.QueueItem>());
66 MediaSession.QueueItem item = getItem(position);
QueueFragment.java 72 List<MediaSession.QueueItem> queue = mMediaController.getQueue();
117 public void onQueueChanged(List<MediaSession.QueueItem> queue) {
157 MediaSession.QueueItem item = mQueueAdapter.getItem(position);
MusicService.java 131 private List<MediaSession.QueueItem> mPlayingQueue;
542 MediaSession.QueueItem queueItem = mPlayingQueue.get(mCurrentIndexOnQueue);
544 queueItem.getDescription().getMediaId());
551 " mediaId from queueItem=", queueItem.getDescription().getMediaId(),
552 " title from queueItem=", queueItem.getDescription().getTitle(),
571 MediaSession.QueueItem queueItem = mPlayingQueue.get(mCurrentIndexOnQueue)
    [all...]
Playback.java 40 import static android.media.session.MediaSession.QueueItem;
145 public void play(QueueItem item) {
  /cts/tests/tests/media/src/android/media/cts/
MediaSessionTest.java 36 import android.media.session.MediaSession.QueueItem;
194 List<QueueItem> queue = new ArrayList<>();
195 QueueItem item = new QueueItem(new MediaDescription.Builder()
504 * Tests {@link MediaSession.QueueItem}.
511 QueueItem item = new QueueItem(descriptionBuilder.build(), TEST_QUEUE_ID);
517 QueueItem sameItem = new QueueItem(descriptionBuilder.build(), TEST_QUEUE_ID);
520 QueueItem differentQueueId = new QueueItem
    [all...]
PlaybackStateTest.java 66 assertEquals(MediaSession.QueueItem.UNKNOWN_ID, state.getActiveQueueItemId());
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
MusicService.java 99 private final List<MediaSessionCompat.QueueItem> mPlaylist = new ArrayList<>();
105 mPlaylist.add(new MediaSessionCompat.QueueItem(description, description.hashCode()));
112 mPlaylist.remove(new MediaSessionCompat.QueueItem(description, description.hashCode()));
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
MusicService.java 131 private final List<MediaSessionCompat.QueueItem> mPlaylist = new ArrayList<>();
137 mPlaylist.add(new MediaSessionCompat.QueueItem(description, description.hashCode()));
144 mPlaylist.remove(new MediaSessionCompat.QueueItem(description, description.hashCode()));
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/ui/
MainActivity.java 147 * {@code onQueueChanged(List<MediaSessionCompat.QueueItem> queue)} to get informed when items
179 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) {
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/ui/
MainActivity.java 147 * {@code onQueueChanged(List<MediaSessionCompat.QueueItem> queue)} to get informed when items
179 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) {
  /external/clang/lib/Format/
UnwrappedLineFormatter.cpp 670 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
673 typedef std::priority_queue<QueueItem, std::vector<QueueItem>,
674 std::greater<QueueItem>> QueueType;
695 Queue.push(QueueItem(OrderedPenalty(0, Count), Node));
761 Queue->push(QueueItem(OrderedPenalty(Penalty, *Count), Node));
    [all...]

Completed in 552 milliseconds