Home
last modified time | relevance | path

Searched refs:PlaylistItem (Results 1 – 14 of 14) 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/Support7Demos/src/com/example/android/supportv7/media/
DSessionManager.java47 private List<PlaylistItem> mPlaylist = new ArrayList<PlaylistItem>();
65 public PlaylistItem getCurrentItem() { in getCurrentItem()
70 public List<PlaylistItem> getPlaylist() { in getPlaylist()
92 PlaylistItem item = mPlaylist.get(i); in updateStatus()
102 public PlaylistItem add(Uri uri, String mime) { in add()
106 public PlaylistItem add(Uri uri, String mime, PendingIntent receiver) { in add()
115 PlaylistItem item = new PlaylistItem( in add()
128 public PlaylistItem remove(String iid) { in remove()
136 public PlaylistItem seek(String iid, long pos) { in seek()
144 PlaylistItem item = getCurrentItem(); in seek()
[all …]
DPlayer.java57 public abstract void play(final PlaylistItem item); in play()
58 public abstract void seek(final PlaylistItem item); in seek()
59 public abstract void getStatus(final PlaylistItem item, final boolean update); in getStatus()
66 public abstract void enqueue(final PlaylistItem item); in enqueue()
67 public abstract PlaylistItem remove(String iid); in remove()
DRemotePlayer.java53 private List<PlaylistItem> mTempQueue = new ArrayList<PlaylistItem>();
128 public void play(final PlaylistItem item) { in play()
160 public void seek(final PlaylistItem item) { in seek()
165 public void getStatus(final PlaylistItem item, final boolean update) { in getStatus()
287 public void enqueue(final PlaylistItem item) { in enqueue()
305 public PlaylistItem remove(String itemId) { in remove()
371 private void enqueueInternal(final PlaylistItem item) { in enqueueInternal()
391 for (PlaylistItem item : mTempQueue) { in enqueueInternal()
411 private void seekInternal(final PlaylistItem item) { in seekInternal()
434 private void startSession(final PlaylistItem item) { in startSession()
DPlaylistItem.java27 final class PlaylistItem { class
41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { in PlaylistItem() method in PlaylistItem
DSampleMediaRouterActivity.java144 PlaylistItem item = getCheckedPlaylistItem();
335 PlaylistItem item = getCheckedPlaylistItem(); in onCreate()
381 public void onItemChanged(PlaylistItem item) { in onCreate()
534 PlaylistItem item = getCheckedPlaylistItem(); in updateProgress()
564 for (PlaylistItem item : mSessionManager.getPlaylist()) { in updatePlaylist()
584 PlaylistItem item = getCheckedPlaylistItem(); in updateButtons()
588 private PlaylistItem getCheckedPlaylistItem() { in getCheckedPlaylistItem()
685 private final class PlaylistAdapter extends ArrayAdapter<PlaylistItem> {
699 final PlaylistItem item = getItem(position); in getView()
DSampleMediaRouteProvider.java259 public void onItemChanged(PlaylistItem item) { in SampleRouteController()
337 PlaylistItem item = mSessionManager.getCurrentItem(); in onControlRequest()
402 PlaylistItem item = mSessionManager.add(uri, mime, receiver); in handleEnqueue()
426 PlaylistItem item = mSessionManager.remove(iid); in handleRemove()
450 PlaylistItem item = mSessionManager.seek(iid, pos); in handleSeek()
469 PlaylistItem item = mSessionManager.getStatus(iid); in handleGetStatus()
586 private void handleStatusChange(PlaylistItem item) { in handleStatusChange()
DLocalPlayer.java114 public void play(final PlaylistItem item) { in play()
140 public void seek(final PlaylistItem item) { in seek()
156 public void getStatus(final PlaylistItem item, final boolean update) { in getStatus()
206 public void enqueue(final PlaylistItem item) { in enqueue()
211 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()