Searched refs:MediaItem (Results 1 – 5 of 5) sorted by relevance
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | BrowseFragment.java | 55 void onMediaItemSelected(MediaBrowser.MediaItem item); in onMediaItemSelected() 67 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { 70 for (MediaBrowser.MediaItem item : children) { 136 MediaBrowser.MediaItem item = mBrowserAdapter.getItem(position); in onCreateView() 169 private static class BrowseAdapter extends ArrayAdapter<MediaBrowser.MediaItem> { 172 super(context, R.layout.media_list_item, new ArrayList<MediaBrowser.MediaItem>()); in BrowseAdapter() 199 MediaBrowser.MediaItem item = getItem(position); in getView()
|
D | MusicService.java | 25 import android.media.browse.MediaBrowser.MediaItem; 239 public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) { in onLoadChildren() 251 result.sendResult(Collections.<MediaItem>emptyList()); in onLoadChildren() 267 final Result<List<MediaItem>> result) { in loadChildrenImpl() 270 List<MediaItem> mediaItems = new ArrayList<>(); in loadChildrenImpl() 274 mediaItems.add(new MediaItem( in loadChildrenImpl() 281 .build(), MediaItem.FLAG_BROWSABLE in loadChildrenImpl() 287 MediaItem item = new MediaItem( in loadChildrenImpl() 292 .build(), MediaItem.FLAG_BROWSABLE in loadChildrenImpl() 310 MediaItem bItem = new MediaItem( in loadChildrenImpl() [all …]
|
D | MusicPlayerActivity.java | 40 public void onMediaItemSelected(MediaBrowser.MediaItem item) { in onMediaItemSelected()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | MainActivity.java | 239 mLibraryItems.add(new MediaItem( in onCreate() 251 mLibraryItems.add(new MediaItem( in onCreate() 634 private static final class MediaItem { class in MainActivity 639 public MediaItem(String name, Uri uri, String mime) { in MediaItem() method in MainActivity.MediaItem 651 private final class LibraryAdapter extends ArrayAdapter<MediaItem> { 665 final MediaItem item = getItem(position); in getView()
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 106102 …ake_FYaAfloTSlO51Dwt4ZOxiw@fakeemail.com,MediaBrowser: Supplement JavaDoc of MediaItem.getMediaId() 113002 …ks/support,fake_FYaAfloTSlO51Dwt4ZOxiw@fakeemail.com,Land CTS tests to MediaBrowserCompat.MediaItem 113011 …lO51Dwt4ZOxiw@fakeemail.com,Add fromMediaItem()/fromMediaItemList() in MediaBrowserCompat.MediaItem 113653 …aAfloTSlO51Dwt4ZOxiw@fakeemail.com,MediaBrowserCompat: Supplement JavaDoc of MediaItem.getMediaId()
|