Home
last modified time | relevance | path

Searched refs:mBaseSet (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterEmptyPromptSet.java26 private MediaSet mBaseSet; field in FilterEmptyPromptSet
32 mBaseSet = baseSet; in FilterEmptyPromptSet()
33 mBaseSet.addContentListener(this); in FilterEmptyPromptSet()
38 int itemCount = mBaseSet.getMediaItemCount(); in getMediaItemCount()
48 int itemCount = mBaseSet.getMediaItemCount(); in getMediaItem()
50 return mBaseSet.getMediaItem(start, count); in getMediaItem()
70 return mBaseSet.isCameraRoll(); in isCameraRoll()
75 return mBaseSet.reload(); in reload()
80 return mBaseSet.getName(); in getName()
DFilterTypeSet.java27 private final MediaSet mBaseSet; field in FilterTypeSet
36 mBaseSet = baseSet; in FilterTypeSet()
38 mBaseSet.addContentListener(this); in FilterTypeSet()
43 return mBaseSet.getName(); in getName()
69 if (mBaseSet.reload() > mDataVersion) { in reload()
86 for (int i = 0, n = mBaseSet.getSubMediaSetCount(); i < n; i++) { in updateData()
87 MediaSet set = mBaseSet.getSubMediaSet(i); in updateData()
99 final int total = mBaseSet.getMediaItemCount(); in updateData()
102 mBaseSet.enumerateMediaItems(new MediaSet.ItemConsumer() { in updateData()
DFilterDeleteSet.java59 private final MediaSet mBaseSet; field in FilterDeleteSet
69 mBaseSet = baseSet; in FilterDeleteSet()
70 mBaseSet.addContentListener(this); in FilterDeleteSet()
75 return mBaseSet.isCameraRoll(); in isCameraRoll()
80 return mBaseSet.getName(); in getName()
85 return mBaseSet.getMediaItemCount() - mCurrent.size(); in getMediaItemCount()
133 ArrayList<MediaItem> base = mBaseSet.getMediaItem(start + i, count + (j - i)); in getMediaItem()
147 boolean newData = mBaseSet.reload() > mDataVersion; in reload()
199 int n = mBaseSet.getMediaItemCount(); in reload()
202 ArrayList<MediaItem> items = mBaseSet.getMediaItem(from, to - from); in reload()
DClusterAlbumSet.java31 private MediaSet mBaseSet; field in ClusterAlbumSet
40 mBaseSet = baseSet; in ClusterAlbumSet()
57 return mBaseSet.getName(); in getName()
62 if (mBaseSet.reload() > mDataVersion) { in reload()
101 clustering.run(mBaseSet); in updateClusters()
132 mBaseSet.enumerateTotalMediaItems(new MediaSet.ItemConsumer() { in updateClustersContents()
DLocalMergeAlbum.java214 private MediaSet mBaseSet; field in LocalMergeAlbum.FetchCache
219 mBaseSet = baseSet; in FetchCache()
240 cache = mBaseSet.getMediaItem(index, PAGE_SIZE); in getItem()