/frameworks/base/media/java/android/media/session/ |
MediaSession.aidl | 19 parcelable MediaSession.QueueItem
|
MediaSession.java | 436 public void setQueue(@Nullable List<QueueItem> queue) { 438 mBinder.setQueue(queue == null ? null : new ParceledListSlice<QueueItem>(queue)); [all...] |
MediaController.java | 177 public @Nullable List<MediaSession.QueueItem> getQueue() { 552 * @see MediaSession.QueueItem 554 public void onQueueChanged(@Nullable List<MediaSession.QueueItem> queue) { 923 List<MediaSession.QueueItem> queue = parceledQueue == null ? null : parceledQueue [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
MediaSessionCompat.aidl | 19 parcelable MediaSessionCompat.QueueItem;
|
IMediaControllerCallback.aidl | 36 void onQueueChanged(in List<MediaSessionCompat.QueueItem> queue);
|
MediaSessionCompat.java | 337 public void setQueue(List<QueueItem> queue) { 737 public static final class QueueItem implements Parcelable { 749 * Create a new {@link MediaSessionCompat.QueueItem}. 755 public QueueItem(MediaDescriptionCompat description, long id) { 759 private QueueItem(Object queueItem, MediaDescriptionCompat description, long id) { 764 throw new IllegalArgumentException("Id cannot be QueueItem.UNKNOWN_ID"); 768 mItem = queueItem; 771 private QueueItem(Parcel in) { 803 * {@link android.media.session.MediaSession.QueueItem} [all...] |
IMediaSession.aidl | 65 List<MediaSessionCompat.QueueItem> getQueue();
|
MediaControllerCompat.java | 33 import android.support.v4.media.session.MediaSessionCompat.QueueItem; 147 public List<MediaSessionCompat.QueueItem> getQueue() { 389 * @see MediaSessionCompat.QueueItem 394 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { 483 public void onQueueChanged(List<QueueItem> queue) throws RemoteException { 538 onQueueChanged((List<MediaSessionCompat.QueueItem>) msg.obj); 771 List<MediaSessionCompat.QueueItem> getQueue(); 871 public List<MediaSessionCompat.QueueItem> getQueue() { [all...] |
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/ |
QueueHelper.java | 37 public static final List<MediaSession.QueueItem> getPlayingQueue(String mediaId, 52 List<MediaSession.QueueItem> queue = convertToQueue( 58 public static final List<MediaSession.QueueItem> getPlayingQueueFromSearch(String query, 67 public static final int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, 70 for (MediaSession.QueueItem item: queue) { 79 public static final int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, 82 for (MediaSession.QueueItem item: queue) { 91 private static final List<MediaSession.QueueItem> convertToQueue( 93 List<MediaSession.QueueItem> queue = new ArrayList<>(); 98 MediaSession.QueueItem item = new MediaSession.QueueItem [all...] |
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/ |
QueueHelper.java | 37 public static final List<MediaSession.QueueItem> getPlayingQueue(String mediaId, 52 List<MediaSession.QueueItem> queue = convertToQueue( 58 public static final List<MediaSession.QueueItem> getPlayingQueueFromSearch(String query, 67 public static final int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, 70 for (MediaSession.QueueItem item: queue) { 79 public static final int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, 82 for (MediaSession.QueueItem item: queue) { 91 private static final List<MediaSession.QueueItem> convertToQueue( 93 List<MediaSession.QueueItem> queue = new ArrayList<>(); 98 MediaSession.QueueItem item = new MediaSession.QueueItem [all...] |
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
QueueHelper.java | 37 public static final List<MediaSession.QueueItem> getPlayingQueue(String mediaId, 52 List<MediaSession.QueueItem> queue = convertToQueue( 58 public static final List<MediaSession.QueueItem> getPlayingQueueFromSearch(String query, 67 public static final int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, 70 for (MediaSession.QueueItem item: queue) { 79 public static final int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, 82 for (MediaSession.QueueItem item: queue) { 91 private static final List<MediaSession.QueueItem> convertToQueue( 93 List<MediaSession.QueueItem> queue = new ArrayList<>(); 98 MediaSession.QueueItem item = new MediaSession.QueueItem [all...] |
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/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 | 139 private List<MediaSession.QueueItem> mPlayingQueue; [all...] |
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/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 | 139 private List<MediaSession.QueueItem> mPlayingQueue; [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 | 139 private List<MediaSession.QueueItem> mPlayingQueue; [all...] |
/frameworks/support/v4/api21/android/support/v4/media/session/ |
MediaSessionCompatApi21.java | 120 ArrayList<MediaSession.QueueItem> queue = new ArrayList<MediaSession.QueueItem>(); 122 queue.add((MediaSession.QueueItem) itemObj); 216 static class QueueItem { 219 return new MediaSession.QueueItem((MediaDescription) mediaDescription, id); 222 public static Object getDescription(Object queueItem) { 223 return ((MediaSession.QueueItem) queueItem).getDescription(); 226 public static long getQueueId(Object queueItem) { 227 return ((MediaSession.QueueItem) queueItem).getQueueId() [all...] |
/frameworks/av/media/libstagefright/include/ |
TimedEventQueue.h | 118 struct QueueItem { 131 List<QueueItem> mQueue;
|
/frameworks/av/media/libstagefright/ |
TimedEventQueue.cpp | 123 List<QueueItem>::iterator it = mQueue.begin(); 128 QueueItem item; 181 List<QueueItem>::iterator it = mQueue.begin(); 242 List<QueueItem>::iterator it = mQueue.begin(); 286 // Otherwise, the QueueItem will be removed 304 for (List<QueueItem>::iterator it = mQueue.begin();
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
PlayerSession.java | 23 import android.media.session.MediaSession.QueueItem; 48 protected ArrayList<MediaSession.QueueItem> mQueue; 64 mQueue = new ArrayList<MediaSession.QueueItem>(); 122 mQueue.add(new QueueItem(mMetadataBuilder.build().getDescription(), 11)); 155 mQueue.add(new QueueItem(mMetadataBuilder.build().getDescription(), 11));
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaSessionTest.java | 127 ArrayList<MediaSession.QueueItem> queue = new ArrayList<MediaSession.QueueItem>(); 128 MediaSession.QueueItem item = new MediaSession.QueueItem(new MediaDescription.Builder()
|