Searched refs:MediaItem (Results 1 – 4 of 4) sorted by relevance
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()
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 …]
40 public void onMediaItemSelected(MediaBrowser.MediaItem item) { in onMediaItemSelected()
239 mLibraryItems.add(new MediaItem( in onCreate()251 mLibraryItems.add(new MediaItem( in onCreate()634 private static final class MediaItem { class in MainActivity639 public MediaItem(String name, Uri uri, String mime) { in MediaItem() method in MainActivity.MediaItem651 private final class LibraryAdapter extends ArrayAdapter<MediaItem> {665 final MediaItem item = getItem(position); in getView()