Home
last modified time | relevance | path

Searched refs:mAlbums (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DClusterAlbumSet.java33 private ArrayList<ClusterAlbum> mAlbums = new ArrayList<ClusterAlbum>(); field in ClusterAlbumSet
47 return mAlbums.get(index); in getSubMediaSet()
52 return mAlbums.size(); in getSubMediaSetCount()
80 mAlbums.clear(); in updateClusters()
126 mAlbums.add(album); in updateClusters()
139 int n = mAlbums.size(); in updateClustersContents()
144 ArrayList<Path> oldPaths = mAlbums.get(i).getMediaItems(); in updateClustersContents()
153 mAlbums.get(i).setMediaItems(newPaths); in updateClustersContents()
155 mAlbums.remove(i); in updateClustersContents()
DFilterTypeSet.java30 private final ArrayList<MediaSet> mAlbums = new ArrayList<MediaSet>(); field in FilterTypeSet
48 return mAlbums.get(index); in getSubMediaSet()
53 return mAlbums.size(); in getSubMediaSetCount()
83 mAlbums.clear(); in updateData()
93 mAlbums.add(filteredSet); in updateData()
DLocalAlbumSet.java52 private ArrayList<MediaSet> mAlbums = new ArrayList<MediaSet>(); field in LocalAlbumSet
81 return mAlbums.get(index); in getSubMediaSet()
86 return mAlbums.size(); in getSubMediaSetCount()
173 mAlbums = mLoadBuffer; in reload()
175 for (MediaSet album : mAlbums) { in reload()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DArtist.java37 private final List<Album> mAlbums = new ArrayList<>(); field in Artist
54 return Collections.unmodifiableList(mAlbums); in getAlbums()
94 if (mAlbums.contains(album)) { in addAlbum()
97 return mAlbums.add(album); in addAlbum()
DMediaDb.java53 private final List<Album> mAlbums = new ArrayList<>(); field in MediaDb
225 return Collections.unmodifiableList(mAlbums); in getAlbums()
428 for (Album album : mAlbums) { in getAlbumById()
551 int albumsIndex = mAlbums.size(); in addAlbums()
554 mAlbums.addAll(albums); in addAlbums()
667 int index = mAlbums.indexOf(album); in updateAlbum()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DAlbumFragment.java76 …private final List<Album> mAlbums; // TODO(b/123710968) Use android.support.v7.util.SortedList/and… field in AlbumFragment.AlbumAdapter
81 mAlbums = mMediaDb.getAlbums(); in AlbumAdapter()
109 Album album = mAlbums.get(position - 1); in onBindViewHolder()
117 return mAlbums.size() + 1; in getItemCount()
122 return position == 0 ? -1 : mAlbums.get(position - 1).getId(); in getItemId()