OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MediaItem
(Results
1 - 19
of
19
) sorted by null
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
MediaItem.java
26
public class
MediaItem
implements Parcelable {
29
public
MediaItem
() {
33
private
MediaItem
(Parcel in) {
63
public static final Parcelable.Creator<
MediaItem
> CREATOR
64
= new Parcelable.Creator<
MediaItem
>() {
65
public
MediaItem
createFromParcel(Parcel in) {
66
return new
MediaItem
(in);
69
public
MediaItem
[] newArray(int size) {
70
return new
MediaItem
[size];
/frameworks/support/media-compat/api21/android/support/v4/media/
MediaBrowserCompatApi21.java
131
List<MediaBrowser.
MediaItem
> children) {
141
static class
MediaItem
{
144
return ((MediaBrowser.
MediaItem
) itemObj).getFlags();
148
return ((MediaBrowser.
MediaItem
) itemObj).getDescription();
MediaBrowserServiceCompatApi21.java
73
mResultObj.sendResult(MediaBrowser.
MediaItem
.CREATOR.createFromParcel(parcel));
85
List<MediaBrowser.
MediaItem
> parcelListToItemList(List<Parcel> parcelList) {
89
List<MediaBrowser.
MediaItem
> items = new ArrayList<>();
92
items.add(MediaBrowser.
MediaItem
.CREATOR.createFromParcel(parcel));
127
public void onLoadChildren(String parentId, Result<List<MediaBrowser.
MediaItem
>> result) {
/frameworks/support/media-compat/api26/android/support/v4/media/
MediaBrowserServiceCompatApi26.java
81
List<MediaBrowser.
MediaItem
> parcelListToItemList(List<Parcel> parcelList) {
85
List<MediaBrowser.
MediaItem
> items = new ArrayList<>();
88
items.add(MediaBrowser.
MediaItem
.CREATOR.createFromParcel(parcel));
102
public void onLoadChildren(String parentId, Result<List<MediaBrowser.
MediaItem
>> result,
/packages/apps/Gallery2/src/com/android/gallery3d/data/
MediaItem.java
26
//
MediaItem
represents an image or a video item.
27
public abstract class
MediaItem
extends MediaObject {
56
public
MediaItem
(Path path, long version) {
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
MainActivity.java
240
mLibraryItems.add(new
MediaItem
(
252
mLibraryItems.add(new
MediaItem
(
631
private static final class
MediaItem
{
636
public
MediaItem
(String name, Uri uri, String mime) {
648
private final class LibraryAdapter extends ArrayAdapter<
MediaItem
> {
662
final
MediaItem
item = getItem(position);
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
MainActivity.java
240
mLibraryItems.add(new
MediaItem
(
252
mLibraryItems.add(new
MediaItem
(
631
private static final class
MediaItem
{
636
public
MediaItem
(String name, Uri uri, String mime) {
648
private final class LibraryAdapter extends ArrayAdapter<
MediaItem
> {
662
final
MediaItem
item = getItem(position);
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
MainActivity.java
239
mLibraryItems.add(new
MediaItem
(
251
mLibraryItems.add(new
MediaItem
(
634
private static final class
MediaItem
{
639
public
MediaItem
(String name, Uri uri, String mime) {
651
private final class LibraryAdapter extends ArrayAdapter<
MediaItem
> {
665
final
MediaItem
item = getItem(position);
/frameworks/base/media/java/android/media/browse/
MediaBrowser.java
427
* Retrieves a specific {@link
MediaItem
} from the connected service. Not
442
Log.i(TAG, "Not connected, unable to retrieve the
MediaItem
.");
463
if (item != null && !(item instanceof
MediaItem
)) {
467
cb.onItemLoaded((
MediaItem
)item);
676
List<
MediaItem
> data = list == null ? null : list.getList();
741
public static class
MediaItem
implements Parcelable {
766
* Create a new
MediaItem
for use in browsing media.
771
public
MediaItem
(@NonNull MediaDescription description, @Flags int flags) {
785
private
MediaItem
(Parcel in) {
803
final StringBuilder sb = new StringBuilder("
MediaItem
{");
[
all
...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
SampleMediaRouterActivity.java
258
mLibraryItems.add(new
MediaItem
(
270
mLibraryItems.add(new
MediaItem
("[local] " + filename,
668
private static final class
MediaItem
{
673
public
MediaItem
(String name, Uri uri, String mime) {
685
private final class LibraryAdapter extends ArrayAdapter<
MediaItem
> {
699
final
MediaItem
item = getItem(position);
/frameworks/support/media-compat/java/android/support/v4/media/
MediaBrowserCompat.java
124
* Used as a string extra field to denote the target {@link
MediaItem
}.
143
* {@link
MediaItem
} for offline playback. The id of the media item must be passed in an extra
155
* {@link
MediaItem
} by the {@link #CUSTOM_ACTION_DOWNLOAD download} action. The id of the
374
* Retrieves a specific {@link
MediaItem
} from the connected service. Not
386
* Searches {@link
MediaItem
media items} from the connected service. Not all services may
431
public static class
MediaItem
implements Parcelable {
457
* Creates an instance from a framework {@link android.media.browse.MediaBrowser.
MediaItem
}
463
* @param itemObj A {@link android.media.browse.MediaBrowser.
MediaItem
} object.
464
* @return An equivalent {@link
MediaItem
} object, or null if none.
466
public static
MediaItem
fromMediaItem(Object itemObj)
[
all
...]
/prebuilts/sdk/current/support/media-compat/libs/
android-support-media-compat.jar
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/22/
android.jar
/prebuilts/sdk/24/
android.jar
/prebuilts/sdk/27/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_23/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 322 milliseconds