Home
last modified time | relevance | path

Searched refs:mMediaSet (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/shims/
DMediaSetLoader.java50 private final MediaSet mMediaSet; field in MediaSetLoader
66 mMediaSet = mDataManager.getMediaSet(path); in MediaSetLoader()
72 mMediaSet = mDataManager.getMediaSet(path); in MediaSetLoader()
78 mMediaSet.addContentListener(mObserver); in onStartLoading()
79 mSyncTask = mMediaSet.requestSync(sNullListener); in onStartLoading()
96 mMediaSet.removeContentListener(mObserver); in onStopLoading()
108 mMediaSet.reload(); in loadInBackground()
111 int count = mMediaSet.getSubMediaSetCount(); in loadInBackground()
114 MediaSet m = mMediaSet.getSubMediaSet(i); in loadInBackground()
127 synchronized (mMediaSet) { in loadInBackground()
[all …]
DMediaItemsLoader.java53 private final MediaSet mMediaSet; field in MediaItemsLoader
68 mMediaSet = mDataManager.getMediaSet(path); in MediaItemsLoader()
74 mMediaSet = mDataManager.getMediaSet(parentPath); in MediaItemsLoader()
80 mMediaSet.addContentListener(mObserver); in onStartLoading()
81 mSyncTask = mMediaSet.requestSync(sNullListener); in onStartLoading()
98 mMediaSet.removeContentListener(mObserver); in onStopLoading()
110 mMediaSet.reload(); in loadInBackground()
114 mMediaSet.enumerateTotalMediaItems(new ItemConsumer() { in loadInBackground()
137 synchronized (mMediaSet) { in loadInBackground()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java241 private final MediaSet mMediaSet; field in SlideshowPage.ShuffleSource
249 mMediaSet = Utils.checkNotNull(mediaSet); in ShuffleSource()
263 MediaItem item = findMediaItem(mMediaSet, mLastIndex); in getMediaItem()
267 item = findMediaItem(mMediaSet, mLastIndex); in getMediaItem()
274 long version = mMediaSet.reload(); in reload()
277 int count = mMediaSet.getTotalMediaItemCount(); in reload()
300 mMediaSet.addContentListener(listener); in addContentListener()
305 mMediaSet.removeContentListener(listener); in removeContentListener()
315 private final MediaSet mMediaSet; field in SlideshowPage.SequentialSource
319 mMediaSet = mediaSet; in SequentialSource()
[all …]
DPhotoPage.java136 private FilterDeleteSet mMediaSet; field in PhotoPage
317 mMediaSet.getMediaItemCount() > 1) { in onCreate()
325 if (mAppBridge == null && mMediaSet.getTotalMediaItemCount() > 1) { in onCreate()
452 mMediaSet = (FilterDeleteSet) mActivity.getDataManager() in onCreate()
454 if (mMediaSet == null) { in onCreate()
458 int mediaItemCount = mMediaSet.getMediaItemCount(); in onCreate()
461 itemPath = mMediaSet.getMediaItem(mCurrentIndex, 1) in onCreate()
469 mActivity, mPhotoView, mMediaSet, itemPath, mCurrentIndex, in onCreate()
523 if (mMediaSet.getNumberOfDeletions() == 0) { in onCreate()
544 mPhotoView.setFilmMode(mStartInFilmstrip && mMediaSet.getMediaItemCount() > 1); in onCreate()
[all …]
DAlbumPage.java102 private MediaSet mMediaSet; field in AlbumPage
306 data.putBoolean(PhotoPage.KEY_IN_CAMERA_ROLL, mMediaSet.isCameraRoll()); in pickPhoto()
348 String basePath = mMediaSet.getPath().toString(); in doCluster()
354 data.putString(AlbumSetPage.KEY_SET_TITLE, mMediaSet.getName()); in doCluster()
430 mSyncTask = mMediaSet.requestSync(this); in onResume()
510 mMediaSet = mActivity.getDataManager().getMediaSet(mMediaSetPath); in initializeData()
511 if (mMediaSet == null) { in initializeData()
514 mSelectionManager.setSourceMediaSet(mMediaSet); in initializeData()
515 mAlbumDataAdapter = new AlbumDataLoader(mActivity, mMediaSet); in initializeData()
552 actionBar.setTitle(mMediaSet.getName()); in onCreateActionBar()
DAlbumSetPage.java89 private MediaSet mMediaSet; field in AlbumSetPage
311 String basePath = mMediaSet.getPath().toString(); in doCluster()
472 mSyncTask = mMediaSet.requestSync(AlbumSetPage.this); in onResume()
478 mMediaSet = mActivity.getDataManager().getMediaSet(mediaPath); in initializeData()
479 mSelectionManager.setSourceMediaSet(mMediaSet); in initializeData()
481 mActivity, mMediaSet, DATA_CACHE_SIZE); in initializeData()
555 FilterUtils.setupMenuItems(mActionBar, mMediaSet.getPath(), false); in onCreateActionBar()
DManageCachePage.java68 private MediaSet mMediaSet; field in ManageCachePage
273 mMediaSet = mActivity.getDataManager().getMediaSet(mediaPath); in initializeData()
274 mSelectionManager.setSourceMediaSet(mMediaSet); in initializeData()
281 mActivity, mMediaSet, DATA_CACHE_SIZE); in initializeData()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DChangeNotifier.java28 private MediaSet mMediaSet; field in ChangeNotifier
32 mMediaSet = set; in ChangeNotifier()
37 mMediaSet = set; in ChangeNotifier()
54 mMediaSet.notifyContentChanged(); in onChange()