/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItemTest.java | 70 String album = "The Best Protocol"; in buildAvrcpItem() local 88 builder.setAlbumName(album); in buildAvrcpItem() 106 Assert.assertEquals(album, item.getAlbumName()); in buildAvrcpItem() 117 String album = "The Best Protocol"; in buildAvrcpItemFromAvrcpAttributes() local 138 album, in buildAvrcpItemFromAvrcpAttributes() 158 Assert.assertEquals(album, item.getAlbumName()); in buildAvrcpItemFromAvrcpAttributes() 169 String album = "The Best Protocol"; in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() local 194 album, in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 218 Assert.assertEquals(album, item.getAlbumName()); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 229 String album = "The Best Protocol"; in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/ |
D | Metadata.java | 32 public String album; field in Metadata 45 data.album = album; in clone() 62 if (!Objects.equals(album, m.album)) return false; in equals() 72 + "\" album=\"" + album + "\" duration=" + duration in toString() 119 mMetadata.album = data.getString(MediaMetadata.METADATA_KEY_ALBUM); in fromMediaMetadata() 162 if (desc.getDescription() != null) mMetadata.album = desc.getDescription().toString(); in fromMediaDescription() 200 mMetadata.album = bundle.getString(MediaMetadata.METADATA_KEY_ALBUM); in fromBundle() 233 if (mMetadata.album == null) mMetadata.album = ""; in useDefaults()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | ClusterAlbumSet.java | 116 ClusterAlbum album; in updateClusters() local 118 album = (ClusterAlbum) dataManager.peekMediaObject(childPath); in updateClusters() 119 if (album == null) { in updateClusters() 120 album = new ClusterAlbum(childPath, dataManager, this); in updateClusters() 123 album.setMediaItems(clustering.getCluster(i)); in updateClusters() 124 album.setName(childName); in updateClusters() 125 album.setCoverMediaItem(clustering.getClusterCover(i)); in updateClusters() 126 mAlbums.add(album); in updateClusters()
|
D | LocalAlbumSet.java | 128 MediaSet album = getLocalAlbum(dataManager, in run() local 130 albums.add(album); in run() 175 for (MediaSet album : mAlbums) { in reload() 176 album.reload(); in reload()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | AlbumFragment.java | 109 Album album = mAlbums.get(position - 1); in onBindViewHolder() local 110 mMediaDb.loadData(album); // TODO Where should we call this? In bind()? in onBindViewHolder() 111 ((AlbumViewHolder) holder).bind(album); in onBindViewHolder() 127 return position == 0 ? R.layout.header : R.layout.album; in getItemViewType() 151 private void bind(@NonNull Album album) { in bind() argument 156 imageView.setImageURI(album.getAlbumArtUri()); in bind() 157 titleView.setText(album.getTitle()); in bind() 158 Artist artist = album.getArtist(); in bind() 162 AlbumDetailsActivity.start(view.getContext(), album)); in bind() local
|
D | PlaylistFragment.java | 171 Album album = audio.getAlbum(); in bind() local 172 if (album != null && album.getAlbumArtUri() != null) { in bind() 173 albumArtUris.add(album.getAlbumArtUri()); in bind()
|
D | AudioFragment.java | 148 Album album = audio.getAlbum(); in bind() local 149 imageView.setImageURI(album == null ? null : album.getAlbumArtUri()); in bind()
|
D | ArtistFragment.java | 160 for (Album album : albums) { in bind() 161 if (album.getAlbumArtUri() != null) { in bind() 162 artUri = album.getAlbumArtUri(); in bind()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 122 Album album = new Album(id); in load() local 123 albums.add(album); in load() 129 album.setArtist(artist); in load() 174 Album album = Collections.find(albums, albumId, Album::getId); in load() local 175 audio.setAlbum(album); in load() 176 album.addAudio(audio); in load() 272 Album album = mMediaProvider.getAlbumById(albumId); in loadData() local 273 updated |= audio.setAlbum(album); in loadData() 274 updated |= loadData(album); // TODO(b/123707561) Load separate from audio in loadData() 314 boolean loadData(@NonNull Album album) { in loadData() argument [all …]
|
D | MediaDb.java | 281 public void loadData(@NonNull Album album) { in loadData() argument 283 if (album.isLoaded()) return; in loadData() 287 boolean updated = mDataProvider.populateAlbum(album); in loadData() 289 updated |= mAudioStore.loadData(album); in loadData() 291 album.setLoaded(); in loadData() 293 Executors.uiThreadExecutor().execute(() -> updateAlbum(album)); in loadData() 296 Clog.e(TAG, "Search for " + album + " failed", e); in loadData() 428 for (Album album : mAlbums) { in getAlbumById() 429 if (album.getId() == id) { in getAlbumById() 430 return album; in getAlbumById() [all …]
|
D | Audio.java | 75 boolean setAlbum(@NonNull Album album) { in setAlbum() argument 76 if (album.equals(mAlbum)) { in setAlbum() 79 mAlbum = album; in setAlbum()
|
D | Artist.java | 93 boolean addAlbum(@NonNull Album album) { in addAlbum() argument 94 if (mAlbums.contains(album)) { in addAlbum() 97 return mAlbums.add(album); in addAlbum()
|
D | DataProvider.java | 26 boolean populateAlbum(@NonNull Album album) throws IOException; in populateAlbum() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSetSlidingWindow.java | 75 public MediaSet album; field in AlbumSetSlidingWindow.AlbumSetEntry 247 MediaSet album = mSource.getMediaSet(slotIndex); in updateAlbumSetEntry() local 251 entry.album = album; in updateAlbumSetEntry() 252 entry.setDataVersion = getDataVersion(album); in updateAlbumSetEntry() 253 entry.cacheFlag = identifyCacheFlag(album); in updateAlbumSetEntry() 254 entry.cacheStatus = identifyCacheStatus(album); in updateAlbumSetEntry() 255 entry.setPath = (album == null) ? null : album.getPath(); in updateAlbumSetEntry() 257 String title = (album == null) ? "" : Utils.ensureNotNull(album.getName()); in updateAlbumSetEntry() 258 int sourceType = DataSourceType.identifySourceType(album); in updateAlbumSetEntry() 268 if (album != null) { in updateAlbumSetEntry() [all …]
|
D | AlbumSetSlotRenderer.java | 143 if (entry.album != null && entry.album.isCameraRoll()) { in renderOverlay()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | AlbumDetailsActivity.java | 48 public static void start(@NonNull Context context, @NonNull Album album) { in start() argument 51 intent.putExtra("id", album.getId()); // TODO Add constant key in start() 108 Album album = mMediaDb.getAlbums().get(i); in onItemsUpdated() local 109 if (album.equals(mAlbum)) { in onItemsUpdated() 162 private AlbumAdapter(@NonNull MediaDb mediaDb, @NonNull Album album) { in AlbumAdapter() argument 165 mAlbum = album; in AlbumAdapter() 203 private void bind(@NonNull Album album, @NonNull Audio audio) { in bind() argument 208 imageView.setImageURI(album.getAlbumArtUri()); in bind()
|
D | PlaylistDetailsActivity.java | 154 Album album = audio.getAlbum(); in updateViews() local 155 if (album != null && album.getAlbumArtUri() != null) { in updateViews() 156 albumArtUris.add(album.getAlbumArtUri()); in updateViews() 258 Album album = audio.getAlbum(); in bind() local 259 imageView.setImageURI(album == null ? null : album.getAlbumArtUri()); in bind()
|
D | ArtistDetailsActivity.java | 146 for (Album album : albums) { in updateViews() 147 if (album.getAlbumArtUri() != null) { in updateViews() 148 albumArtUri = album.getAlbumArtUri(); in updateViews() 220 Album album = audio.getAlbum(); in bind() local 221 imageView.setImageURI(album == null ? null : album.getAlbumArtUri()); in bind()
|
D | GenreDetailsActivity.java | 209 Album album = audio.getAlbum(); in bind() local 210 imageView.setImageURI(album == null ? null : album.getAlbumArtUri()); in bind()
|
D | AudioPlayerActivity.java | 61 public static void start(@NonNull Context context, @NonNull Album album) { in start() argument 64 album.getId()); in start()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | KnowledgeGraph.java | 74 public boolean populateAlbum(@NonNull Album album) throws IOException { in populateAlbum() argument 76 if (album.getAlbumArtUri() != null) { in populateAlbum() 81 JSONObject result = getResultFromKG(album.getTitle(), "MusicAlbum"); in populateAlbum() 86 updated |= album.setAlbumArtUri(Uri.parse(imageUrl)); in populateAlbum() 90 updated |= album.setDescription(detailedDescription); in populateAlbum()
|
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/ |
D | ProgramInfoExt.java | 146 String album = meta.getString(RadioMetadata.METADATA_KEY_ALBUM); in toMediaMetadata() local 147 if (album != null) { in toMediaMetadata() 148 bld.putString(MediaMetadata.METADATA_KEY_ALBUM, album); in toMediaMetadata()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | removed.txt | 5 field public static final String ALBUM = "album"; 32 field public static final String ALBUM = "album";
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MetadataTest.java | 241 private void assertMetadata(String mediaId, String title, String artist, String album, in assertMetadata() argument 247 assertThat(metadata.album).isEqualTo(album); in assertMetadata() 883 assertThat(metadata.album).isEqualTo(metadata2.album); in testClone() 927 metadata2.album = DEFAULT_ALBUM; in testEqualsDifferentAlbum()
|
D | BrowserPlayerWrapperTest.java | 150 String album, Bitmap bitmap, Uri uri, Bundle extras) { in getMediaDescription() argument 155 .setDescription(album); in getMediaDescription() 398 Assert.assertEquals(expected.getDescription().getDescription(), song.album); in testGetFolderItems()
|