Home
last modified time | relevance | path

Searched refs:MediaDescriptionCompat (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
DMediaItemTest.java25 import android.support.v4.media.MediaDescriptionCompat;
41 MediaDescriptionCompat description = in testBrowsableMediaItem()
42 new MediaDescriptionCompat.Builder() in testBrowsableMediaItem()
64 MediaDescriptionCompat.CREATOR.createFromParcel(p).toString()); in testBrowsableMediaItem()
71 MediaDescriptionCompat description = new MediaDescriptionCompat.Builder() in testPlayableMediaItem()
93 MediaDescriptionCompat.CREATOR.createFromParcel(p).toString()); in testPlayableMediaItem()
DClientBroadcastReceiver.java64 import android.support.v4.media.MediaDescriptionCompat;
98 (MediaDescriptionCompat) extras.getParcelable(KEY_ARGUMENT)); in onReceive()
103 (MediaDescriptionCompat) arguments.getParcelable("description"), in onReceive()
108 (MediaDescriptionCompat) extras.getParcelable(KEY_ARGUMENT)); in onReceive()
DMediaControllerCompatCallbackTest.java79 import android.support.v4.media.MediaDescriptionCompat;
324 MediaDescriptionCompat description1 = in testSetQueueAndSetQueueTitle()
325 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_1).build(); in testSetQueueAndSetQueueTitle()
326 MediaDescriptionCompat description2 = in testSetQueueAndSetQueueTitle()
327 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_2).build(); in testSetQueueAndSetQueueTitle()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/
DMediaItemTest.java25 import android.support.v4.media.MediaDescriptionCompat;
41 MediaDescriptionCompat description = in testBrowsableMediaItem()
42 new MediaDescriptionCompat.Builder() in testBrowsableMediaItem()
64 MediaDescriptionCompat.CREATOR.createFromParcel(p).toString()); in testBrowsableMediaItem()
71 MediaDescriptionCompat description = new MediaDescriptionCompat.Builder() in testPlayableMediaItem()
93 MediaDescriptionCompat.CREATOR.createFromParcel(p).toString()); in testPlayableMediaItem()
DClientBroadcastReceiver.java64 import android.support.v4.media.MediaDescriptionCompat;
98 (MediaDescriptionCompat) extras.getParcelable(KEY_ARGUMENT)); in onReceive()
103 (MediaDescriptionCompat) arguments.getParcelable("description"), in onReceive()
108 (MediaDescriptionCompat) extras.getParcelable(KEY_ARGUMENT)); in onReceive()
DMediaControllerCompatCallbackTest.java79 import android.support.v4.media.MediaDescriptionCompat;
325 MediaDescriptionCompat description1 = in testSetQueueAndSetQueueTitle()
326 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_1).build(); in testSetQueueAndSetQueueTitle()
327 MediaDescriptionCompat description2 = in testSetQueueAndSetQueueTitle()
328 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_2).build(); in testSetQueueAndSetQueueTitle()
/frameworks/support/media/src/main/java/android/support/v4/media/
DMediaDescriptionCompat.java36 public final class MediaDescriptionCompat implements Parcelable { class
188 MediaDescriptionCompat(String mediaId, CharSequence title, CharSequence subtitle, in MediaDescriptionCompat() method in MediaDescriptionCompat
200 MediaDescriptionCompat(Parcel in) { in MediaDescriptionCompat() method in MediaDescriptionCompat
371 public static MediaDescriptionCompat fromMediaDescription(Object descriptionObj) { in fromMediaDescription()
403 MediaDescriptionCompat descriptionCompat = bob.build(); in fromMediaDescription()
412 public static final Parcelable.Creator<MediaDescriptionCompat> CREATOR =
413 new Parcelable.Creator<MediaDescriptionCompat>() {
415 public MediaDescriptionCompat createFromParcel(Parcel in) {
417 return new MediaDescriptionCompat(in);
424 public MediaDescriptionCompat[] newArray(int size) {
[all …]
DMediaMetadataCompat.java365 private MediaDescriptionCompat mDescription;
473 public MediaDescriptionCompat getDescription() { in getDescription()
529 MediaDescriptionCompat.Builder bob = new MediaDescriptionCompat.Builder(); in getDescription()
540 bundle.putLong(MediaDescriptionCompat.EXTRA_BT_FOLDER_TYPE, in getDescription()
544 bundle.putLong(MediaDescriptionCompat.EXTRA_DOWNLOAD_STATUS, in getDescription()
/frameworks/support/media/src/main/aidl/android/support/v4/media/session/
DIMediaSession.aidl20 import android.support.v4.media.MediaDescriptionCompat;
60 void addQueueItem(in MediaDescriptionCompat description) = 40;
61 void addQueueItemAt(in MediaDescriptionCompat description, int index) = 41; in addQueueItemAt()
62 void removeQueueItem(in MediaDescriptionCompat description) = 42;
/frameworks/support/media/src/main/java/androidx/media/
DMediaUtils2.java34 import android.support.v4.media.MediaDescriptionCompat;
60 MediaDescriptionCompat descCompat; in createMediaItem()
64 descCompat = new MediaDescriptionCompat.Builder() in createMediaItem()
68 MediaDescriptionCompat.Builder builder = new MediaDescriptionCompat.Builder() in createMediaItem()
143 static MediaMetadata2 createMediaMetadata2(MediaDescriptionCompat descCompat) { in createMediaMetadata2()
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DMediaSessionCompat.java51 import android.support.v4.media.MediaDescriptionCompat;
1230 public void onAddQueueItem(MediaDescriptionCompat description) { in onAddQueueItem()
1242 public void onAddQueueItem(MediaDescriptionCompat description, int index) { in onAddQueueItem()
1253 public void onRemoveQueueItem(MediaDescriptionCompat description) { in onRemoveQueueItem()
1301 extras.setClassLoader(MediaDescriptionCompat.class.getClassLoader()); in onCommand()
1303 (MediaDescriptionCompat) extras.getParcelable( in onCommand()
1306 extras.setClassLoader(MediaDescriptionCompat.class.getClassLoader()); in onCommand()
1308 (MediaDescriptionCompat) extras.getParcelable( in onCommand()
1312 extras.setClassLoader(MediaDescriptionCompat.class.getClassLoader()); in onCommand()
1314 (MediaDescriptionCompat) extras.getParcelable( in onCommand()
[all …]
DMediaControllerCompat.java35 import android.support.v4.media.MediaDescriptionCompat;
348 public void addQueueItem(MediaDescriptionCompat description) { in addQueueItem()
368 public void addQueueItem(MediaDescriptionCompat description, int index) { in addQueueItem()
385 public void removeQueueItem(MediaDescriptionCompat description) { in removeQueueItem()
1412 void addQueueItem(MediaDescriptionCompat description); in addQueueItem()
1413 void addQueueItem(MediaDescriptionCompat description, int index); in addQueueItem()
1414 void removeQueueItem(MediaDescriptionCompat description); in removeQueueItem()
1523 public void addQueueItem(MediaDescriptionCompat description) { in addQueueItem()
1537 public void addQueueItem(MediaDescriptionCompat description, int index) { in addQueueItem()
1551 public void removeQueueItem(MediaDescriptionCompat description) { in removeQueueItem()
[all …]
/frameworks/support/media/src/main/aidl/android/support/v4/media/
DMediaDescriptionCompat.aidl18 parcelable MediaDescriptionCompat;
/frameworks/support/media/api_legacy/
D26.0.0.txt91 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
95 method public android.support.v4.media.MediaDescriptionCompat getDescription();
155 public final class MediaDescriptionCompat implements android.os.Parcelable {
157 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
175 …tatic final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
183 public static final class MediaDescriptionCompat.Builder {
184 ctor public MediaDescriptionCompat.Builder();
185 method public android.support.v4.media.MediaDescriptionCompat build();
186 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
187 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
[all …]
D26.1.0.txt91 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
95 method public android.support.v4.media.MediaDescriptionCompat getDescription();
155 public final class MediaDescriptionCompat implements android.os.Parcelable {
157 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
175 …tatic final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
183 public static final class MediaDescriptionCompat.Builder {
184 ctor public MediaDescriptionCompat.Builder();
185 method public android.support.v4.media.MediaDescriptionCompat build();
186 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
187 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
[all …]
D28.0.0-alpha1.txt91 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
95 method public android.support.v4.media.MediaDescriptionCompat getDescription();
155 public final class MediaDescriptionCompat implements android.os.Parcelable {
157 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
175 …tatic final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
183 public static final class MediaDescriptionCompat.Builder {
184 ctor public MediaDescriptionCompat.Builder();
185 method public android.support.v4.media.MediaDescriptionCompat build();
186 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
187 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
[all …]
Dcurrent.txt91 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
95 method public android.support.v4.media.MediaDescriptionCompat getDescription();
155 public final class MediaDescriptionCompat implements android.os.Parcelable {
157 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
175 …tatic final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
183 public static final class MediaDescriptionCompat.Builder {
184 ctor public MediaDescriptionCompat.Builder();
185 method public android.support.v4.media.MediaDescriptionCompat build();
186 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
187 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
[all …]
D27.1.0.txt91 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
95 method public android.support.v4.media.MediaDescriptionCompat getDescription();
155 public final class MediaDescriptionCompat implements android.os.Parcelable {
157 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
175 …tatic final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
183 public static final class MediaDescriptionCompat.Builder {
184 ctor public MediaDescriptionCompat.Builder();
185 method public android.support.v4.media.MediaDescriptionCompat build();
186 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
187 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
[all …]
D27.0.0.txt91 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
95 method public android.support.v4.media.MediaDescriptionCompat getDescription();
155 public final class MediaDescriptionCompat implements android.os.Parcelable {
157 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
175 …tatic final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
183 public static final class MediaDescriptionCompat.Builder {
184 ctor public MediaDescriptionCompat.Builder();
185 method public android.support.v4.media.MediaDescriptionCompat build();
186 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
187 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
[all …]
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java39 import android.support.v4.media.MediaDescriptionCompat;
185 mPendingLoadItemResult.sendResult(new MediaItem(new MediaDescriptionCompat.Builder() in sendDelayedItemLoaded()
194 return new MediaItem(new MediaDescriptionCompat.Builder().setMediaId(id).build(), in createMediaItem()
DMediaSessionCompatCallbackTest.java91 import android.support.v4.media.MediaDescriptionCompat;
245 new MediaDescriptionCompat.Builder() in testQueueItem()
348 MediaDescriptionCompat itemDescription1 = new MediaDescriptionCompat.Builder() in testAddRemoveQueueItems()
351 MediaDescriptionCompat itemDescription2 = new MediaDescriptionCompat.Builder() in testAddRemoveQueueItems()
825 private MediaDescriptionCompat mQueueDescription;
1052 public void onAddQueueItem(MediaDescriptionCompat description) { in onAddQueueItem()
1061 public void onAddQueueItem(MediaDescriptionCompat description, int index) { in onAddQueueItem()
1071 public void onRemoveQueueItem(MediaDescriptionCompat description) { in onRemoveQueueItem()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java37 import android.support.v4.media.MediaDescriptionCompat;
186 mPendingLoadItemResult.sendResult(new MediaItem(new MediaDescriptionCompat.Builder() in sendDelayedItemLoaded()
195 return new MediaItem(new MediaDescriptionCompat.Builder().setMediaId(id).build(), in createMediaItem()
DMediaSessionCompatCallbackTest.java92 import android.support.v4.media.MediaDescriptionCompat;
247 new MediaDescriptionCompat.Builder() in testQueueItem()
350 MediaDescriptionCompat itemDescription1 = new MediaDescriptionCompat.Builder() in testAddRemoveQueueItems()
353 MediaDescriptionCompat itemDescription2 = new MediaDescriptionCompat.Builder() in testAddRemoveQueueItems()
900 private MediaDescriptionCompat mQueueDescription;
1127 public void onAddQueueItem(MediaDescriptionCompat description) { in onAddQueueItem()
1136 public void onAddQueueItem(MediaDescriptionCompat description, int index) { in onAddQueueItem()
1146 public void onRemoveQueueItem(MediaDescriptionCompat description) { in onRemoveQueueItem()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DMediaNotificationManager.java29 import android.support.v4.media.MediaDescriptionCompat;
255 MediaDescriptionCompat description = mMetadata.getDescription(); in createNotification()
/frameworks/support/media/api/
Dcurrent.txt48 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
52 method public android.support.v4.media.MediaDescriptionCompat getDescription();
77 public final class MediaDescriptionCompat implements android.os.Parcelable {
79 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
97 …tatic final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
105 public static final class MediaDescriptionCompat.Builder {
106 ctor public MediaDescriptionCompat.Builder();
107 method public android.support.v4.media.MediaDescriptionCompat build();
108 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
109 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
[all …]

123