Home
last modified time | relevance | path

Searched refs:PlaylistItem (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java49 private List<PlaylistItem> mPlaylist = new ArrayList<PlaylistItem>();
63 public PlaylistItem getCurrentItem() { in getCurrentItem()
74 public List<PlaylistItem> getPlaylist() { in getPlaylist()
96 PlaylistItem item = mPlaylist.get(i); in updateStatus()
106 public PlaylistItem add(Uri uri, String mime) { in add()
110 public PlaylistItem add(Uri uri, String mime, PendingIntent receiver) { in add()
119 PlaylistItem item = new PlaylistItem( in add()
132 public PlaylistItem remove(String iid) { in remove()
140 public PlaylistItem seek(String iid, long pos) { in seek()
148 PlaylistItem item = getCurrentItem(); in seek()
[all …]
DPlayer.java38 public abstract void play(final PlaylistItem item); in play()
39 public abstract void seek(final PlaylistItem item); in seek()
40 public abstract void getStatus(final PlaylistItem item, final boolean update); in getStatus()
47 public abstract void enqueue(final PlaylistItem item); in enqueue()
48 public abstract PlaylistItem remove(String iid); in remove()
DRemotePlayer.java33 import com.example.android.mediarouter.player.PlaylistItem;
53 private List<PlaylistItem> mTempQueue = new ArrayList<PlaylistItem>();
128 public void play(final PlaylistItem item) { in play()
157 public void seek(final PlaylistItem item) { in seek()
162 public void getStatus(final PlaylistItem item, final boolean update) { in getStatus()
281 public void enqueue(final PlaylistItem item) { in enqueue()
299 public PlaylistItem remove(String itemId) { in remove()
359 private void enqueueInternal(final PlaylistItem item) { in enqueueInternal()
379 for (PlaylistItem item : mTempQueue) { in enqueueInternal()
399 private void seekInternal(final PlaylistItem item) { in seekInternal()
[all …]
DPlaylistItem.java27 public final class PlaylistItem { class
41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { in PlaylistItem() method in PlaylistItem
DMainActivity.java150 PlaylistItem item = getCheckedPlaylistItem();
338 PlaylistItem item = getCheckedPlaylistItem(); in onCreate()
383 public void onItemChanged(PlaylistItem item) { in onCreate()
530 PlaylistItem item = getCheckedPlaylistItem(); in updateProgress()
557 for (PlaylistItem item : mSessionManager.getPlaylist()) { in updatePlaylist()
582 PlaylistItem item = getCheckedPlaylistItem(); in updateButtons()
590 private PlaylistItem getCheckedPlaylistItem() { in getCheckedPlaylistItem()
688 private final class PlaylistAdapter extends ArrayAdapter<PlaylistItem> {
702 final PlaylistItem item = getItem(position); in getView()
DLocalPlayer.java111 public void play(final PlaylistItem item) { in play()
137 public void seek(final PlaylistItem item) { in seek()
153 public void getStatus(final PlaylistItem item, final boolean update) { in getStatus()
203 public void enqueue(final PlaylistItem item) { in enqueue()
208 public PlaylistItem remove(String iid) { in remove()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java38 import com.example.android.mediarouter.player.PlaylistItem;
243 public void onItemChanged(PlaylistItem item) { in SampleRouteController()
381 PlaylistItem item = mSessionManager.add(uri, mime, receiver); in handleEnqueue()
405 PlaylistItem item = mSessionManager.remove(iid); in handleRemove()
429 PlaylistItem item = mSessionManager.seek(iid, pos); in handleSeek()
448 PlaylistItem item = mSessionManager.getStatus(iid); in handleGetStatus()
565 private void handleStatusChange(PlaylistItem item) { in handleStatusChange()