/frameworks/support/v4/api21/android/support/v4/media/ |
D | MediaMetadataCompatApi21.java | 20 import android.media.MediaMetadata; 27 return ((MediaMetadata)metadataObj).keySet(); in keySet() 31 return ((MediaMetadata)metadataObj).getBitmap(key); in getBitmap() 35 return ((MediaMetadata)metadataObj).getLong(key); in getLong() 39 return ((MediaMetadata)metadataObj).getRating(key); in getRating() 43 return ((MediaMetadata) metadataObj).getText(key); in getText() 48 return new MediaMetadata.Builder(); in newInstance() 52 ((MediaMetadata.Builder)builderObj).putBitmap(key, value); in putBitmap() 56 ((MediaMetadata.Builder)builderObj).putLong(key, value); in putLong() 60 ((MediaMetadata.Builder)builderObj).putRating(key, (Rating)ratingObj); in putRating() [all …]
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 29 import android.media.MediaMetadata; 83 public static Bundle getOldMetadata(MediaMetadata metadata, int artworkWidth, in getOldMetadata() 87 if (metadata.containsKey(MediaMetadata.METADATA_KEY_ALBUM)) { in getOldMetadata() 89 metadata.getString(MediaMetadata.METADATA_KEY_ALBUM)); in getOldMetadata() 91 if (includeArtwork && metadata.containsKey(MediaMetadata.METADATA_KEY_ART)) { in getOldMetadata() 92 Bitmap art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART); in getOldMetadata() 95 } else if (includeArtwork && metadata.containsKey(MediaMetadata.METADATA_KEY_ALBUM_ART)) { in getOldMetadata() 97 Bitmap art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); in getOldMetadata() 101 if (metadata.containsKey(MediaMetadata.METADATA_KEY_ALBUM_ARTIST)) { in getOldMetadata() 103 metadata.getString(MediaMetadata.METADATA_KEY_ALBUM_ARTIST)); in getOldMetadata() [all …]
|
D | ISessionControllerCallback.aidl | 19 import android.media.MediaMetadata; 34 void onMetadataChanged(in MediaMetadata metadata); in onMetadataChanged()
|
D | ISession.aidl | 21 import android.media.MediaMetadata; 42 void setMetadata(in MediaMetadata metadata); in setMetadata()
|
D | ISessionController.aidl | 21 import android.media.MediaMetadata; 66 MediaMetadata getMetadata(); in getMetadata()
|
D | MediaController.java | 26 import android.media.MediaMetadata; 162 public @Nullable MediaMetadata getMetadata() { in getMetadata() 541 public void onMetadataChanged(@Nullable MediaMetadata metadata) { in onMetadataChanged() 912 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged() 975 mCallback.onMetadataChanged((MediaMetadata) msg.obj); in handleMessage()
|
D | MediaSession.java | 29 import android.media.MediaMetadata; 409 public void setMetadata(@Nullable MediaMetadata metadata) { in setMetadata()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadata.java | 43 public final class MediaMetadata implements Parcelable { class 307 private MediaMetadata(Bundle bundle) { in MediaMetadata() method in MediaMetadata 311 private MediaMetadata(Parcel in) { in MediaMetadata() method in MediaMetadata 508 public static final Parcelable.Creator<MediaMetadata> CREATOR = 509 new Parcelable.Creator<MediaMetadata>() { 511 public MediaMetadata createFromParcel(Parcel in) { 512 return new MediaMetadata(in); 516 public MediaMetadata[] newArray(int size) { 517 return new MediaMetadata[size]; 543 public Builder(MediaMetadata source) { in Builder() [all …]
|
D | RemoteControlClient.java | 474 String metadataKey = MediaMetadata.getKeyFromMetadataEditorKey(key); in putString() 504 String metadataKey = MediaMetadata.getKeyFromMetadataEditorKey(key); in putLong() 529 String metadataKey = MediaMetadata.getKeyFromMetadataEditorKey(key); in putBitmap() 545 String metadataKey = MediaMetadata.getKeyFromMetadataEditorKey(key); in putObject() 620 editor.mMetadataBuilder = new MediaMetadata.Builder(); in editMetadata() 622 editor.mMetadataBuilder = new MediaMetadata.Builder(mMediaMetadata); in editMetadata() 973 private MediaMetadata mMediaMetadata;
|
D | MediaMetadata.aidl | 18 parcelable MediaMetadata;
|
D | MediaMetadataEditor.java | 115 protected MediaMetadata.Builder mMetadataBuilder; 130 mMetadataBuilder = new MediaMetadata.Builder(); in clear()
|
D | RemoteController.java | 704 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged() 778 onNewMediaMetadata((MediaMetadata) msg.obj); in handleMessage() 1003 MediaMetadata metadata = controller.getMetadata(); in updateController() 1032 private void onNewMediaMetadata(MediaMetadata metadata) { in onNewMediaMetadata()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | MediaItem.java | 18 import android.media.MediaMetadata; 38 return mBundle.getString(MediaMetadata.METADATA_KEY_TITLE); in getTitle() 42 return mBundle.getString(MediaMetadata.METADATA_KEY_ALBUM_ARTIST); in getArtist()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerSession.java | 21 import android.media.MediaMetadata; 47 protected MediaMetadata.Builder mMetadataBuilder; 120 mMetadataBuilder.putBitmap(MediaMetadata.METADATA_KEY_DISPLAY_ICON, icon); in setIcon() 149 mMetadataBuilder = new MediaMetadata.Builder(); in initMetadata() 150 mMetadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_TITLE, in initMetadata() 152 mMetadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE, in initMetadata()
|
D | NotificationHelper.java | 16 import android.media.MediaMetadata; 42 private MediaMetadata mMetadata; 137 public void onMetadataChanged(MediaMetadata metadata) { 207 .getLong(MediaMetadata.METADATA_KEY_DURATION); in updateNotification()
|
D | PlayerController.java | 19 import android.media.MediaMetadata; 217 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged() 230 public void onMetadataChange(MediaMetadata metadata); in onMetadataChange()
|
D | OnePlayerActivity.java | 27 import android.media.MediaMetadata; 174 public MediaMetadata mMetadata; 230 public void onMetadataChange(MediaMetadata metadata) {
|
/frameworks/base/docs/html/training/tv/playback/ |
D | now-playing.jd | 122 <p>For the track currently playing, set the {@link android.media.MediaMetadata} with the 123 {@link android.media.session.MediaSession#setMetadata(android.media.MediaMetadata) setMetadata()} 130 MediaMetadata.Builder metadataBuilder = new MediaMetadata.Builder(); 133 metadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_TITLE, 135 metadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE, 137 metadataBuilder.putString(MediaMetadata.METADATA_KEY_DISPLAY_ICON_URI, 140 metadataBuilder.putString(MediaMetadata.METADATA_KEY_TITLE, 142 metadataBuilder.putString(MediaMetadata.METADATA_KEY_ARTIST, 145 metadataBuilder.putString(MediaMetadata.METADATA_KEY_ART,
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
D | MediaSessionCompatApi21.java | 22 import android.media.MediaMetadata; 92 ((MediaSession)sessionObj).setMetadata((MediaMetadata)metadataObj); in setMetadata()
|
D | MediaControllerCompatApi21.java | 22 import android.media.MediaMetadata; 220 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 28 import android.media.MediaMetadata; 105 private MediaMetadata mMetadata; 631 if (mMetadata != null && mMetadata.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in getStateWithUpdatedPosition() 632 duration = mMetadata.getLong(MediaMetadata.METADATA_KEY_DURATION); in getStateWithUpdatedPosition() 727 public void setMetadata(MediaMetadata metadata) { in setMetadata() 729 MediaMetadata temp = metadata == null ? null : new MediaMetadata.Builder(metadata) in setMetadata() 1149 public MediaMetadata getMetadata() { in getMetadata()
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 23 import android.media.MediaMetadata; 199 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBar.java | 62 import android.media.MediaMetadata; 448 private MediaMetadata mMediaMetadata; 458 public void onMetadataChanged(MediaMetadata metadata) { 1851 artworkBitmap = mMediaMetadata.getBitmap(MediaMetadata.METADATA_KEY_ART); 1853 artworkBitmap = mMediaMetadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); 2891 pw.print(" title=" + mMediaMetadata.getText(MediaMetadata.METADATA_KEY_TITLE));
|
/frameworks/base/docs/html/sdk/api_diff/preview-21/ |
D | missingSinces.txt | 228 NO DOC BLOCK: android.media.MediaMetadata Method getDescription() 350 NO DOC BLOCK: android.media.MediaMetadata Method getText(java.lang.String) 500 NO DOC BLOCK: android.media.MediaMetadata.Builder Method putText(java.lang.String, java.lang.CharSe… 1030 NO DOC BLOCK: android.media.MediaMetadata Field METADATA_KEY_DISPLAY_DESCRIPTION 1031 NO DOC BLOCK: android.media.MediaMetadata Field METADATA_KEY_DISPLAY_ICON 1032 NO DOC BLOCK: android.media.MediaMetadata Field METADATA_KEY_DISPLAY_ICON_URI 1033 NO DOC BLOCK: android.media.MediaMetadata Field METADATA_KEY_DISPLAY_SUBTITLE 1034 NO DOC BLOCK: android.media.MediaMetadata Field METADATA_KEY_DISPLAY_TITLE 1035 NO DOC BLOCK: android.media.MediaMetadata Field METADATA_KEY_MEDIA_ID
|
/frameworks/base/ |
D | Android.mk | 433 frameworks/base/media/java/android/media/MediaMetadata.aidl \
|