/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/model/ |
D | Group.kt | 38 data class Album( dataClass 85 companion object CREATOR : Parcelable.Creator<Album> { 87 override fun createFromParcel(parcel: Parcel): Album { in createFromParcel() 89 Album( in createFromParcel() 108 override fun newArray(size: Int): Array<Album?> { in newArray()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/ |
D | DataService.kt | 21 import com.android.photopicker.data.model.Group.Album 46 fun albumMediaPagingSource(album: Album): PagingSource<MediaPageKey, Media> 49 fun albumPagingSource(): PagingSource<MediaPageKey, Album> 74 suspend fun refreshAlbumMedia(album: Album)
|
D | MediaProviderClient.kt | 181 ): LoadResult<MediaPageKey, Group.Album> { in <lambda>() 446 private fun Cursor.getListOfAlbums(): List<Group.Album> { in <lambda>() 447 val result: MutableList<Group.Album> = mutableListOf<Group.Album>() in <lambda>() 453 Group.Album( in <lambda>()
|
D | DataServiceImpl.kt | 28 import com.android.photopicker.data.model.Group.Album in <lambda>() 380 override fun albumMediaPagingSource(album: Album): PagingSource<MediaPageKey, Media> = in <lambda>() 414 override fun albumPagingSource(): PagingSource<MediaPageKey, Album> = runBlocking { in <lambda>() 467 override suspend fun refreshAlbumMedia(album: Album) { in <lambda>()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/ |
D | FakeInMemoryAlbumPagingSource.kt | 38 PagingSource<MediaPageKey, Group.Album>() { in <lambda>() 47 buildList<Group.Album> { in <lambda>() 50 Group.Album( in <lambda>() 74 MediaPageKey, Group.Album> { in <lambda>() 125 override fun getRefreshKey(state: PagingState<MediaPageKey, Group.Album>): MediaPageKey? { in <lambda>()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/ |
D | TestDataServiceImpl.kt | 22 import com.android.photopicker.data.model.Group.Album 46 override fun albumMediaPagingSource(album: Album): PagingSource<MediaPageKey, Media> { in albumMediaPagingSource() 51 override fun albumPagingSource(): PagingSource<MediaPageKey, Album> { in albumPagingSource() 66 override suspend fun refreshAlbumMedia(album: Album) =
|
D | TestMediaProvider.kt | 56 val DEFAULT_ALBUMS: List<Group.Album> = listOf( in <lambda>() 83 fun createAlbum(albumId: String): Group.Album { in createAlbum() 84 return Group.Album( in createAlbum() 98 var albums: List<Group.Album> = DEFAULT_ALBUMS,
|
D | DataServiceImplTest.kt | 507 val firstAlbumPagingSource: PagingSource<MediaPageKey, Group.Album> = in <lambda>() 531 val secondAlbumPagingSource: PagingSource<MediaPageKey, Group.Album> = in <lambda>() 556 Group.Album( in testAlbumMediaPagingSourceCacheUpdates() 633 Group.Album( in <lambda>() 749 Group.Album( in <lambda>()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | AlbumDetailsActivity.java | 37 import com.android.pump.db.Album; 46 private Album mAlbum; 48 public static void start(@NonNull Context context, @NonNull Album album) { in start() 108 Album album = mMediaDb.getAlbums().get(i); in onItemsUpdated() 160 private final Album mAlbum; 162 private AlbumAdapter(@NonNull MediaDb mediaDb, @NonNull Album album) { in AlbumAdapter() 203 private void bind(@NonNull Album album, @NonNull Audio audio) { in bind()
|
D | ArtistDetailsActivity.java | 38 import com.android.pump.db.Album; 145 List<Album> albums = mArtist.getAlbums(); in updateViews() 146 for (Album album : albums) { in updateViews() 220 Album album = audio.getAlbum(); in bind()
|
D | PlaylistDetailsActivity.java | 38 import com.android.pump.db.Album; 154 Album album = audio.getAlbum(); in updateViews() 258 Album album = audio.getAlbum(); in bind()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/paging/ |
D | AlbumPagingSource.kt | 25 import com.android.photopicker.data.model.Group.Album 43 ) : PagingSource<MediaPageKey, Album>() { 48 override suspend fun load(params: LoadParams<MediaPageKey>): LoadResult<MediaPageKey, Album> { in load() 73 override fun getRefreshKey(state: PagingState<MediaPageKey, Album>): MediaPageKey? = null
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | Album.java | 30 public class Album { class 41 Album(long id) { in Album() method in Album 118 return obj instanceof Album && mId == ((Album) obj).mId; in equals()
|
D | Audio.java | 31 private Album mAlbum; 55 public @Nullable Album getAlbum() { in getAlbum() 75 boolean setAlbum(@NonNull Album album) { in setAlbum()
|
D | Artist.java | 37 private final List<Album> mAlbums = new ArrayList<>(); 53 public @NonNull List<Album> getAlbums() { in getAlbums() 93 boolean addAlbum(@NonNull Album album) { in addAlbum()
|
D | AudioStore.java | 48 void onAlbumsAdded(@NonNull Collection<Album> albums); in onAlbumsAdded() 75 ArrayList<Album> albums = new ArrayList<>(); in load() 122 Album album = new Album(id); in load() 174 Album album = Collections.find(albums, albumId, Album::getId); in load() 272 Album album = mMediaProvider.getAlbumById(albumId); in loadData() 314 boolean loadData(@NonNull Album album) { in loadData() 439 Album album = mMediaProvider.getAlbumById(albumId); in loadAlbums()
|
D | MediaDb.java | 53 private final List<Album> mAlbums = new ArrayList<>(); 97 public void onAlbumsAdded(@NonNull Collection<Album> albums) { in MediaDb() 224 public @NonNull List<Album> getAlbums() { in getAlbums() 281 public void loadData(@NonNull Album album) { in loadData() 427 public @NonNull Album getAlbumById(long id) { in getAlbumById() 428 for (Album album : mAlbums) { in getAlbumById() 550 private void addAlbums(@NonNull Collection<Album> albums) { in addAlbums() 666 private void updateAlbum(@NonNull Album album) { in updateAlbum()
|
D | DataProvider.java | 26 boolean populateAlbum(@NonNull Album album) throws IOException; in populateAlbum()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | AlbumFragment.java | 39 import com.android.pump.db.Album; 76 …private final List<Album> mAlbums; // TODO(b/123710968) Use android.support.v7.util.SortedList/and… 109 Album album = mAlbums.get(position - 1); in onBindViewHolder() 151 private void bind(@NonNull Album album) { in bind()
|
D | ArtistFragment.java | 40 import com.android.pump.db.Album; 159 List<Album> albums = artist.getAlbums(); in bind() 160 for (Album album : albums) { in bind()
|
D | AudioFragment.java | 35 import com.android.pump.db.Album; 148 Album album = audio.getAlbum(); in bind()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/components/mediagrid/ |
D | MediaGridItem.kt | 19 import com.android.photopicker.data.model.Group.Album 40 data class AlbumItem(val album: Album) : MediaGridItem()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/ |
D | AlbumMediaGrid.kt | 75 fun AlbumMediaGrid(flow: StateFlow<Group.Album?>) { in <lambda>() 86 album: Group.Album, in InitialiseAlbumMedia() 122 album: Group.Album, in AlbumMediaGridView()
|
D | AlbumGridFeature.kt | 180 val flow: StateFlow<Group.Album?> = in registerNavigationRoutes() 184 ?.getStateFlow<Group.Album?>(ALBUM_KEY, null), in registerNavigationRoutes()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | OmdbApi.java | 25 import com.android.pump.db.Album; 61 public boolean populateAlbum(@NonNull Album album) throws IOException { in populateAlbum()
|