Home
last modified time | relevance | path

Searched refs:Album (Results 1 – 25 of 37) sorted by relevance

12

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/model/
DGroup.kt38 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/
DDataService.kt21 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)
DMediaProviderClient.kt181 ): 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>()
DDataServiceImpl.kt28 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/
DFakeInMemoryAlbumPagingSource.kt38 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/
DTestDataServiceImpl.kt22 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) =
DTestMediaProvider.kt56 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,
DDataServiceImplTest.kt507 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/
DAlbumDetailsActivity.java37 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()
DArtistDetailsActivity.java38 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()
DPlaylistDetailsActivity.java38 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/
DAlbumPagingSource.kt25 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/
DAlbum.java30 public class Album { class
41 Album(long id) { in Album() method in Album
118 return obj instanceof Album && mId == ((Album) obj).mId; in equals()
DAudio.java31 private Album mAlbum;
55 public @Nullable Album getAlbum() { in getAlbum()
75 boolean setAlbum(@NonNull Album album) { in setAlbum()
DArtist.java37 private final List<Album> mAlbums = new ArrayList<>();
53 public @NonNull List<Album> getAlbums() { in getAlbums()
93 boolean addAlbum(@NonNull Album album) { in addAlbum()
DAudioStore.java48 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()
DMediaDb.java53 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()
DDataProvider.java26 boolean populateAlbum(@NonNull Album album) throws IOException; in populateAlbum()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DAlbumFragment.java39 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()
DArtistFragment.java40 import com.android.pump.db.Album;
159 List<Album> albums = artist.getAlbums(); in bind()
160 for (Album album : albums) { in bind()
DAudioFragment.java35 import com.android.pump.db.Album;
148 Album album = audio.getAlbum(); in bind()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/components/mediagrid/
DMediaGridItem.kt19 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/
DAlbumMediaGrid.kt75 fun AlbumMediaGrid(flow: StateFlow<Group.Album?>) { in <lambda>()
86 album: Group.Album, in InitialiseAlbumMedia()
122 album: Group.Album, in AlbumMediaGridView()
DAlbumGridFeature.kt180 val flow: StateFlow<Group.Album?> = in registerNavigationRoutes()
184 ?.getStateFlow<Group.Album?>(ALBUM_KEY, null), in registerNavigationRoutes()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DOmdbApi.java25 import com.android.pump.db.Album;
61 public boolean populateAlbum(@NonNull Album album) throws IOException { in populateAlbum()

12