/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | GenreDetailsActivity.java | 46 private MediaDb mMediaDb; field in GenreDetailsActivity 69 mMediaDb = Globals.getMediaDb(this); in onCreate() 70 mMediaDb.addGenreUpdateCallback(this); in onCreate() 85 mMediaDb.removeGenreUpdateCallback(this); in onDestroy() 109 Genre genre = mMediaDb.getGenres().get(i); in onItemsUpdated() 126 mGenre = mMediaDb.getGenreById(id); in handleIntent() 132 mMediaDb.loadData(mGenre); in handleIntent() 152 recyclerView.setAdapter(new GenreAdapter(mMediaDb, mGenre)); in updateViews() 160 private final MediaDb mMediaDb; field in GenreDetailsActivity.GenreAdapter 165 mMediaDb = mediaDb; in GenreAdapter() [all …]
|
D | AlbumDetailsActivity.java | 45 private MediaDb mMediaDb; field in AlbumDetailsActivity 68 mMediaDb = Globals.getMediaDb(this); in onCreate() 69 mMediaDb.addAlbumUpdateCallback(this); in onCreate() 84 mMediaDb.removeAlbumUpdateCallback(this); in onDestroy() 108 Album album = mMediaDb.getAlbums().get(i); in onItemsUpdated() 125 mAlbum = mMediaDb.getAlbumById(id); in handleIntent() 131 mMediaDb.loadData(mAlbum); in handleIntent() 151 recyclerView.setAdapter(new AlbumAdapter(mMediaDb, mAlbum)); in updateViews() 159 private final MediaDb mMediaDb; field in AlbumDetailsActivity.AlbumAdapter 164 mMediaDb = mediaDb; in AlbumAdapter() [all …]
|
D | ArtistDetailsActivity.java | 48 private MediaDb mMediaDb; field in ArtistDetailsActivity 71 mMediaDb = Globals.getMediaDb(this); in onCreate() 72 mMediaDb.addArtistUpdateCallback(this); in onCreate() 87 mMediaDb.removeArtistUpdateCallback(this); in onDestroy() 111 Artist artist = mMediaDb.getArtists().get(i); in onItemsUpdated() 128 mArtist = mMediaDb.getArtistById(id); in handleIntent() 134 mMediaDb.loadData(mArtist); in handleIntent() 163 recyclerView.setAdapter(new ArtistAdapter(mMediaDb, mArtist)); in updateViews() 171 private final MediaDb mMediaDb; field in ArtistDetailsActivity.ArtistAdapter 176 mMediaDb = mediaDb; in ArtistAdapter() [all …]
|
D | PlaylistDetailsActivity.java | 52 private MediaDb mMediaDb; field in PlaylistDetailsActivity 75 mMediaDb = Globals.getMediaDb(this); in onCreate() 76 mMediaDb.addPlaylistUpdateCallback(this); in onCreate() 91 mMediaDb.removePlaylistUpdateCallback(this); in onDestroy() 115 Playlist playlist = mMediaDb.getPlaylists().get(i); in onItemsUpdated() 132 mPlaylist = mMediaDb.getPlaylistById(id); in handleIntent() 138 mMediaDb.loadData(mPlaylist); in handleIntent() 201 recyclerView.setAdapter(new PlaylistAdapter(mMediaDb, mPlaylist)); in updateViews() 209 private final MediaDb mMediaDb; field in PlaylistDetailsActivity.PlaylistAdapter 214 mMediaDb = mediaDb; in PlaylistAdapter() [all …]
|
D | SeriesDetailsActivity.java | 51 private MediaDb mMediaDb; field in SeriesDetailsActivity 77 mMediaDb = Globals.getMediaDb(this); in onCreate() 78 mMediaDb.addSeriesUpdateCallback(this); in onCreate() 93 mMediaDb.removeSeriesUpdateCallback(this); in onDestroy() 117 Series series = mMediaDb.getSeries().get(i); in onItemsUpdated() 146 mMediaDb.loadData(mSeries); in handleIntent() 218 recyclerView.setAdapter(new SeriesAdapter(mMediaDb, mSeries)); in updateViews() 228 private final MediaDb mMediaDb; field in SeriesDetailsActivity.SeriesAdapter 234 mMediaDb = mediaDb; in SeriesAdapter() 248 mMediaDb.loadData(episode); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | MovieDetailsActivity.java | 39 private MediaDb mMediaDb; field in MovieDetailsActivity 62 mMediaDb = Globals.getMediaDb(this); in onCreate() 63 mMediaDb.addMovieUpdateCallback(this); in onCreate() 78 mMediaDb.removeMovieUpdateCallback(this); in onDestroy() 102 Movie movie = mMediaDb.getMovies().get(i); in onItemsUpdated() 119 mMovie = mMediaDb.getMovieById(id); in handleIntent() 125 mMediaDb.loadData(mMovie); in handleIntent()
|
D | OtherDetailsActivity.java | 43 private MediaDb mMediaDb; field in OtherDetailsActivity 66 mMediaDb = Globals.getMediaDb(this); in onCreate() 67 mMediaDb.addOtherUpdateCallback(this); in onCreate() 82 mMediaDb.removeOtherUpdateCallback(this); in onDestroy() 106 Other other = mMediaDb.getOthers().get(i); in onItemsUpdated() 123 mOther = mMediaDb.getOtherById(id); in handleIntent() 129 mMediaDb.loadData(mOther); in handleIntent()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | AudioFragment.java | 67 private final MediaDb mMediaDb; field in AudioFragment.AudioAdapter 72 mMediaDb = Globals.getMediaDb(context); in AudioAdapter() 73 mAudios = mMediaDb.getAudios(); in AudioAdapter() 77 mMediaDb.addAudioUpdateCallback(this); in onAttachedToRecyclerView() 81 mMediaDb.removeAudioUpdateCallback(this); in onDetachedFromRecyclerView() 102 mMediaDb.loadData(audio); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | SeriesFragment.java | 78 private final MediaDb mMediaDb; field in SeriesFragment.SeriesAdapter 83 mMediaDb = Globals.getMediaDb(context); in SeriesAdapter() 84 mSeries = mMediaDb.getSeries(); in SeriesAdapter() 88 mMediaDb.addSeriesUpdateCallback(this); in onAttachedToRecyclerView() 92 mMediaDb.removeSeriesUpdateCallback(this); in onDetachedFromRecyclerView() 113 mMediaDb.loadData(series); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | GenreFragment.java | 74 private final MediaDb mMediaDb; field in GenreFragment.GenreAdapter 79 mMediaDb = Globals.getMediaDb(context); in GenreAdapter() 80 mGenres = mMediaDb.getGenres(); in GenreAdapter() 84 mMediaDb.addGenreUpdateCallback(this); in onAttachedToRecyclerView() 88 mMediaDb.removeGenreUpdateCallback(this); in onDetachedFromRecyclerView() 109 mMediaDb.loadData(genre); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | AlbumFragment.java | 75 private final MediaDb mMediaDb; field in AlbumFragment.AlbumAdapter 80 mMediaDb = Globals.getMediaDb(context); in AlbumAdapter() 81 mAlbums = mMediaDb.getAlbums(); in AlbumAdapter() 85 mMediaDb.addAlbumUpdateCallback(this); in onAttachedToRecyclerView() 89 mMediaDb.removeAlbumUpdateCallback(this); in onDetachedFromRecyclerView() 110 mMediaDb.loadData(album); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | ArtistFragment.java | 76 private final MediaDb mMediaDb; field in ArtistFragment.ArtistAdapter 81 mMediaDb = Globals.getMediaDb(context); in ArtistAdapter() 82 mArtists = mMediaDb.getArtists(); in ArtistAdapter() 86 mMediaDb.addArtistUpdateCallback(this); in onAttachedToRecyclerView() 90 mMediaDb.removeArtistUpdateCallback(this); in onDetachedFromRecyclerView() 111 mMediaDb.loadData(artist); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | MovieFragment.java | 79 private final MediaDb mMediaDb; field in MovieFragment.MovieAdapter 84 mMediaDb = Globals.getMediaDb(context); in MovieAdapter() 85 mMovies = mMediaDb.getMovies(); in MovieAdapter() 89 mMediaDb.addMovieUpdateCallback(this); in onAttachedToRecyclerView() 93 mMediaDb.removeMovieUpdateCallback(this); in onDetachedFromRecyclerView() 114 mMediaDb.loadData(movie); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | OtherFragment.java | 87 private final MediaDb mMediaDb; field in OtherFragment.OtherAdapter 95 mMediaDb = Globals.getMediaDb(context); in OtherAdapter() 96 mOthers = mMediaDb.getOthers(); in OtherAdapter() 101 mMediaDb.addOtherUpdateCallback(this); in onAttachedToRecyclerView() 106 mMediaDb.removeOtherUpdateCallback(this); in onDetachedFromRecyclerView() 127 mMediaDb.loadData(other); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
D | PlaylistFragment.java | 82 private final MediaDb mMediaDb; field in PlaylistFragment.PlaylistAdapter 87 mMediaDb = Globals.getMediaDb(context); in PlaylistAdapter() 88 mPlaylists = mMediaDb.getPlaylists(); in PlaylistAdapter() 92 mMediaDb.addPlaylistUpdateCallback(this); in onAttachedToRecyclerView() 96 mMediaDb.removePlaylistUpdateCallback(this); in onDetachedFromRecyclerView() 117 mMediaDb.loadData(playlist); // TODO Where should we call this? In bind()? in onBindViewHolder()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/app/ |
D | GlobalsApplication.java | 24 private MediaDb mMediaDb; field in GlobalsApplication 50 if (mMediaDb == null) { in getMediaDb() 51 mMediaDb = new MediaDb(getContentResolver(), getDataProvider(), getExecutor()); in getMediaDb() 54 return mMediaDb; in getMediaDb()
|