Home
last modified time | relevance | path

Searched refs:mediaSet (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java197 MediaSet mediaSet = mActivity.getDataManager().getMediaSet(mediaPath); in initializeData() local
202 mActivity, new ShuffleSource(mediaSet, repeat), 0); in initializeData()
209 new SequentialSource(mediaSet, repeat), index); in initializeData()
221 private static MediaItem findMediaItem(MediaSet mediaSet, int index) { in findMediaItem() argument
222 for (int i = 0, n = mediaSet.getSubMediaSetCount(); i < n; ++i) { in findMediaItem()
223 MediaSet subset = mediaSet.getSubMediaSet(i); in findMediaItem()
230 ArrayList<MediaItem> list = mediaSet.getMediaItem(index, 1); in findMediaItem()
243 public ShuffleSource(MediaSet mediaSet, boolean repeat) { in ShuffleSource() argument
244 mMediaSet = Utils.checkNotNull(mediaSet); in ShuffleSource()
304 public SequentialSource(MediaSet mediaSet, boolean repeat) { in SequentialSource() argument
[all …]
DGallery.java171 MediaSet mediaSet = null; in startViewAction() local
173 mediaSet = (MediaSet) dm.getMediaObject(setPath); in startViewAction()
175 if (mediaSet != null) { in startViewAction()
176 if (mediaSet.isLeafAlbum()) { in startViewAction()
DAlbumDataAdapter.java71 public AlbumDataAdapter(GalleryActivity context, MediaSet mediaSet) { in AlbumDataAdapter() argument
72 mSource = mediaSet; in AlbumDataAdapter()
DAlbumPage.java571 public void onSyncDone(final MediaSet mediaSet, final int resultCode) { in onSyncDone() argument
572 Log.d(TAG, "onSyncDone: " + Utils.maskDebugInfo(mediaSet.getName()) + " result=" in onSyncDone()
578 mediaSet.notifyContentChanged(); // force reload to handle spinner in onSyncDone()
DAlbumSetPage.java564 public void onSyncDone(final MediaSet mediaSet, final int resultCode) { in onSyncDone() argument
566 Log.d(TAG, "onSyncDone: " + Utils.maskDebugInfo(mediaSet.getName()) + " result=" in onSyncDone()
573 mediaSet.notifyContentChanged(); // force reload to handle spinner in onSyncDone()
DPhotoDataAdapter.java161 PhotoView view, MediaSet mediaSet, Path itemPath, int indexHint) { in PhotoDataAdapter() argument
162 mSource = Utils.checkNotNull(mediaSet); in PhotoDataAdapter()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java101 MediaSet mediaSet = (MediaSet) manager.getMediaObject(path); in onCreate() local
102 mSource = mediaSet == null in onCreate()
104 : new MediaSetSource(mediaSet); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java52 void onSyncDone(MediaSet mediaSet, int resultCode); in onSyncDone() argument
318 public void onSyncDone(MediaSet mediaSet, int resultCode) { in onSyncDone() argument
321 if (mMediaSetMap.remove(mediaSet) != null) { in onSyncDone()
322 Log.d(TAG, "onSyncDone: " + Utils.maskDebugInfo(mediaSet.getName()) in onSyncDone()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFilmStripView.java67 public FilmStripView(GalleryActivity activity, MediaSet mediaSet, in FilmStripView() argument
107 mAlbumDataAdapter = new AlbumDataAdapter(activity, mediaSet); in FilmStripView()
/packages/apps/Mms/src/com/android/mms/model/
DSlideshowModel.java157 ArrayList<MediaModel> mediaSet = new ArrayList<MediaModel>(mediaNum); in createFromPduBody() local
211 mediaSet.add(media); in createFromPduBody()
222 SlideModel slide = new SlideModel((int) (par.getDur() * 1000), mediaSet); in createFromPduBody()