Lines Matching refs:mediaSet
32 import com.android.gallery3d.data.MediaSet;
202 MediaSet mediaSet = mActivity.getDataManager().getMediaSet(mediaPath);
207 new ShuffleSource(mediaSet, repeat), 0, null);
214 mModel = new SlideshowDataAdapter(mActivity, new SequentialSource(mediaSet, repeat),
226 private static MediaItem findMediaItem(MediaSet mediaSet, int index) {
227 for (int i = 0, n = mediaSet.getSubMediaSetCount(); i < n; ++i) {
228 MediaSet subset = mediaSet.getSubMediaSet(i);
235 ArrayList<MediaItem> list = mediaSet.getMediaItem(index, 1);
241 private final MediaSet mMediaSet;
245 private long mSourceVersion = MediaSet.INVALID_DATA_VERSION;
248 public ShuffleSource(MediaSet mediaSet, boolean repeat) {
249 mMediaSet = Utils.checkNotNull(mediaSet);
315 private final MediaSet mMediaSet;
318 public SequentialSource(MediaSet mediaSet, boolean repeat) {
319 mMediaSet = mediaSet;