/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/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/db/ |
D | AudioStore.java | 123 Album album = new Album(id); in load() local 124 albums.add(album); in load() 130 album.setArtist(artist); in load() 175 Album album = Collections.find(albums, albumId, Album::getId); in load() local 176 audio.setAlbum(album); in load() 177 album.addAudio(audio); in load() 273 Album album = mMediaProvider.getAlbumById(albumId); in loadData() local 274 updated |= audio.setAlbum(album); in loadData() 275 updated |= loadData(album); // TODO(b/123707561) Load separate from audio in loadData() 315 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/Bluetooth/src/com/android/bluetooth/avrcp/helpers/ |
D | Metadata.java | 25 public String album; field in Metadata 37 data.album = album; in clone() 53 if (!Objects.equals(album, m.album)) return false; in equals() 60 + "\" album=\"" + album + "\" duration=" + duration in toString()
|
D | Util.java | 45 ret.album = ""; in empty_data() 59 temp.album = bundle.getString(MediaMetadata.METADATA_KEY_ALBUM, ""); in bundleToMetadata()
|
/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 | 58 public static void start(@NonNull Context context, @NonNull Album album) { in start() argument 61 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/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetPage.java | 207 private static boolean albumShouldOpenInFilmstrip(MediaSet album) { in albumShouldOpenInFilmstrip() argument 208 int itemCount = album.getMediaItemCount(); in albumShouldOpenInFilmstrip() 209 ArrayList<MediaItem> list = (itemCount == 1) ? album.getMediaItem(0, 1) : null; in albumShouldOpenInFilmstrip()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | DataModel.java | 159 int album = cursor.getColumnIndex(AudioColumns.ALBUM); in getMetadata() local 169 cursor.getString(album)); in getMetadata()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | FlipperDreamSettings.java | 72 R.layout.album, in init()
|