/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...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
MediaSessionCompat.aidl | 19 parcelable MediaSessionCompat.QueueItem;
|
IMediaControllerCallback.aidl | 36 void onQueueChanged(in List<MediaSessionCompat.QueueItem> queue);
|
MediaSessionCompat.java | 446 public void setQueue(List<QueueItem> queue) { [all...] |
MediaControllerCompat.java | 33 import android.support.v4.media.session.MediaSessionCompat.QueueItem; 154 public List<MediaSessionCompat.QueueItem> getQueue() { 396 * @see MediaSessionCompat.QueueItem 401 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { 467 Callback.this.onQueueChanged(QueueItem.fromQueueItemList(queue)); 511 public void onQueueChanged(List<QueueItem> queue) throws RemoteException { 566 onQueueChanged((List<MediaSessionCompat.QueueItem>) msg.obj); 866 List<MediaSessionCompat.QueueItem> getQueue(); [all...] |
IMediaSession.aidl | 66 List<MediaSessionCompat.QueueItem> getQueue();
|
/external/libweave/include/weave/provider/test/ |
fake_task_runner.h | 41 using QueueItem = std::pair<std::pair<base::Time, size_t>, base::Closure>; 44 bool operator()(const QueueItem& a, const QueueItem& b) const { 55 std::priority_queue<QueueItem, 56 std::vector<QueueItem>,
|
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/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...] |
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/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/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...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
QueueHelper.java | 40 public static List<MediaSessionCompat.QueueItem> getPlayingQueue(String mediaId, 71 public static List<MediaSessionCompat.QueueItem> getPlayingQueueFromSearch(String query, 80 public static int getMusicIndexOnQueue(Iterable<MediaSessionCompat.QueueItem> queue, 83 for (MediaSessionCompat.QueueItem item : queue) { 92 public static int getMusicIndexOnQueue(Iterable<MediaSessionCompat.QueueItem> queue, 95 for (MediaSessionCompat.QueueItem item : queue) { 104 private static List<MediaSessionCompat.QueueItem> convertToQueue( 106 List<MediaSessionCompat.QueueItem> queue = new ArrayList<>(); 111 // at the QueueItem media IDs. 121 MediaSessionCompat.QueueItem item = new MediaSessionCompat.QueueItem [all...] |
/external/libweave/examples/provider/ |
event_task_runner.h | 74 using QueueItem = std::pair<std::pair<base::Time, size_t>, base::Closure>; 77 bool operator()(const QueueItem& a, const QueueItem& b) const { 84 std::priority_queue<QueueItem, 85 std::vector<QueueItem>,
|
/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);
|
/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);
|
/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);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
QueueAdapter.java | 34 public class QueueAdapter extends ArrayAdapter<MediaSessionCompat.QueueItem> { 37 private long mActiveQueueItemId = MediaSessionCompat.QueueItem.UNKNOWN_ID; 40 super(context, R.layout.media_list_item, new ArrayList<MediaSessionCompat.QueueItem>()); 68 MediaSessionCompat.QueueItem item = getItem(position);
|
QueueFragment.java | 79 List<MediaSessionCompat.QueueItem> queue = mMediaController.getQueue(); 124 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { 164 MediaSessionCompat.QueueItem item = mQueueAdapter.getItem(position);
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
MediaSessionCompatApi21.java | 120 ArrayList<MediaSession.QueueItem> queue = new ArrayList<MediaSession.QueueItem>(); 122 queue.add((MediaSession.QueueItem) itemObj); 235 static class QueueItem { 238 return new MediaSession.QueueItem((MediaDescription) mediaDescription, id); 241 public static Object getDescription(Object queueItem) { 242 return ((MediaSession.QueueItem) queueItem).getDescription(); 245 public static long getQueueId(Object queueItem) { 246 return ((MediaSession.QueueItem) queueItem).getQueueId() [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaSessionTest.java | 29 import android.media.session.MediaSession.QueueItem; 169 List<QueueItem> queue = new ArrayList<>(); 170 QueueItem item = new QueueItem(new MediaDescription.Builder() 294 * Tests MediaSession.QueueItem. 297 QueueItem item = new QueueItem(new MediaDescription.Builder() 306 QueueItem other = QueueItem.CREATOR.createFromParcel(p); 355 private volatile List<QueueItem> mQueue [all...] |
/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));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
MediaSessions.java | 31 import android.media.session.MediaSession.QueueItem; 211 final List<QueueItem> queue = c.getQueue(); 234 for (QueueItem qi : queue) { 305 public void onQueueChanged(List<QueueItem> queue) {
|