Home
last modified time | relevance | path

Searched refs:DataManager (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java43 import com.android.gallery3d.data.DataManager;
358 typeBits = DataManager.INCLUDE_ALL; in determineTypeBits()
361 typeBits = DataManager.INCLUDE_IMAGE; in determineTypeBits()
364 typeBits = DataManager.INCLUDE_VIDEO; in determineTypeBits()
366 typeBits = DataManager.INCLUDE_ALL; in determineTypeBits()
371 typeBits |= DataManager.INCLUDE_LOCAL_ONLY; in determineTypeBits()
379 if ((typeBits & DataManager.INCLUDE_VIDEO) != 0) { in getSelectionModePrompt()
380 return (typeBits & DataManager.INCLUDE_IMAGE) == 0 in getSelectionModePrompt()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryAppImpl.java23 import com.android.gallery3d.data.DataManager;
42 private DataManager mDataManager;
62 public synchronized DataManager getDataManager() { in getDataManager()
64 mDataManager = new DataManager(this); in getDataManager()
DGalleryActivity.java35 import com.android.gallery3d.data.DataManager;
106 getDataManager().getTopSetPath(DataManager.INCLUDE_ALL)); in startDefaultPage()
146 DataManager manager = getDataManager(); in startViewAction()
151 manager.getTopSetPath(DataManager.INCLUDE_IMAGE)); in startViewAction()
163 DataManager dm = getDataManager(); in startViewAction()
195 dm.getTopSetPath(DataManager.INCLUDE_ALL)); in startViewAction()
DGalleryContext.java23 import com.android.gallery3d.data.DataManager;
27 public DataManager getDataManager(); in getDataManager()
DGalleryApp.java24 import com.android.gallery3d.data.DataManager;
30 public DataManager getDataManager(); in getDataManager()
DAlbumPicker.java23 import com.android.gallery3d.data.DataManager;
37 getDataManager().getTopSetPath(DataManager.INCLUDE_IMAGE)); in onCreate()
DAbstractGalleryActivity.java43 import com.android.gallery3d.data.DataManager;
116 public DataManager getDataManager() { in getDataManager()
/packages/apps/Gallery2/src/com/android/photos/shims/
DMediaSetLoader.java27 import com.android.gallery3d.data.DataManager;
51 private final DataManager mDataManager;
64 mDataManager = DataManager.from(context); in MediaSetLoader()
65 String path = mDataManager.getTopSetPath(DataManager.INCLUDE_ALL); in MediaSetLoader()
71 mDataManager = DataManager.from(getContext()); in MediaSetLoader()
DMediaItemsLoader.java29 import com.android.gallery3d.data.DataManager;
54 private final DataManager mDataManager;
66 mDataManager = DataManager.from(context); in MediaItemsLoader()
67 String path = mDataManager.getTopSetPath(DataManager.INCLUDE_ALL); in MediaItemsLoader()
73 mDataManager = DataManager.from(getContext()); in MediaItemsLoader()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DMediaSetSource.java25 import com.android.gallery3d.data.DataManager;
37 private DataManager mDataManager;
45 public MediaSetSource(DataManager manager, String albumPath) { in MediaSetSource()
99 String rootPath = mDataManager.getTopSetPath(DataManager.INCLUDE_ALL); in monitorRootPath()
DLocalPhotoSource.java32 import com.android.gallery3d.data.DataManager;
64 private DataManager mDataManager;
DWidgetConfigure.java34 import com.android.gallery3d.data.DataManager;
169 DataManager manager = galleryApp.getDataManager(); in setChoosenAlbum()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbumSet.java126 DataManager dataManager = mApplication.getDataManager(); in run()
137 DataManager manager, int type, Path parent, int id, String name) { in getLocalAlbum()
138 synchronized (DataManager.LOCK) { in getLocalAlbum()
148 Comparator<MediaItem> comp = DataManager.sDateTakenComparator; in getLocalAlbum()
DClusterAlbum.java26 private DataManager mDataManager;
30 public ClusterAlbum(Path path, DataManager dataManager, in ClusterAlbum()
76 DataManager dataManager) { in getMediaItemFromPath()
DLocalAlbum.java116 DataManager dataManager = mApplication.getDataManager(); in getMediaItem()
145 DataManager dataManager, GalleryApp app, boolean isImage) { in loadOrUpdateItem()
146 synchronized (DataManager.LOCK) { in loadOrUpdateItem()
185 DataManager dataManager = application.getDataManager(); in getMediaItemById()
DFilterTypeSet.java26 private final DataManager mDataManager;
32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, in FilterTypeSet()
DDataManager.java52 public class DataManager implements StitchingChangeListener { class
68 public static DataManager from(Context context) { in from()
111 public DataManager(GalleryApp application) { in DataManager() method in DataManager
DClusterAlbumSet.java103 DataManager dataManager = mApplication.getDataManager(); in updateClusters()
117 synchronized (DataManager.LOCK) { in updateClusters()
DLocalSource.java96 DataManager dataManager = app.getDataManager(); in createMediaObject()
101 Comparator<MediaItem> comp = DataManager.sDateTakenComparator; in createMediaObject()
DComboSource.java43 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java39 import com.android.gallery3d.data.DataManager;
273 DataManager manager = mActivity.getDataManager(); in getSelectedMediaObjects()
326 DataManager manager = mActivity.getDataManager(); in computePanoramaSharingIntent()
357 DataManager manager = mActivity.getDataManager(); in computeSharingIntent()
DMenuExecutor.java36 import com.android.gallery3d.data.DataManager;
221 DataManager manager = mActivity.getDataManager(); in getIntentBySingleSelectedPath()
370 DataManager manager, JobContext jc, int cmd, Path path) { in execute()
428 DataManager manager = mActivity.getDataManager(); in run()
DSelectionManager.java20 import com.android.gallery3d.data.DataManager;
40 private DataManager mDataManager;
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java28 import com.android.gallery3d.data.DataManager;
78 DataManager manager = galleryApp.getDataManager(); in migrateGalleryWidgetsInternal()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java34 import com.android.gallery3d.data.DataManager;
66 private DataManager mDataManager;

12