/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
D | RealDataTest.java | 36 private DataManager mDataManager; field in RealDataTest 45 mDataManager = mApplication.getDataManager(); in testRealData() 46 mDataManager.addSource(new LocalSource(mApplication)); in testRealData() 47 mDataManager.addSource(new PicasaSource(mApplication)); in testRealData() 55 MediaSet set = mDataManager.getMediaSet("/local/image"); in run() 64 MediaSet set = mDataManager.getMediaSet("/local/video"); in run() 73 MediaSet set = mDataManager.getMediaSet("/picasa"); in run()
|
D | GalleryAppMock.java | 28 DataManager mDataManager = new DataManager(this); field in GalleryAppMock 43 public DataManager getDataManager() { return mDataManager; } in getDataManager()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | MediaSetSource.java | 37 private DataManager mDataManager; field in MediaSetSource 53 mDataManager = Utils.checkNotNull(manager); in MediaSetSource() 99 String rootPath = mDataManager.getTopSetPath(DataManager.INCLUDE_ALL); in monitorRootPath() 100 mRootSet = (MediaSet) mDataManager.getMediaObject(rootPath); in monitorRootPath() 105 if (mDataManager == null) return; in resolveAlbumPath() 106 MediaSet mediaSet = (MediaSet) mDataManager.getMediaObject(mAlbumPath); in resolveAlbumPath() 118 mDataManager = null; in resolveAlbumPath()
|
D | LocalPhotoSource.java | 64 private DataManager mDataManager; field in LocalPhotoSource 69 mDataManager = ((GalleryApp) context.getApplicationContext()).getDataManager(); in LocalPhotoSource() 101 mDataManager.getMediaObject(LOCAL_IMAGE_ROOT.getChild(id)); in getImage()
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | MediaItemsLoader.java | 54 private final DataManager mDataManager; field in MediaItemsLoader 66 mDataManager = DataManager.from(context); in MediaItemsLoader() 67 String path = mDataManager.getTopSetPath(DataManager.INCLUDE_ALL); in MediaItemsLoader() 68 mMediaSet = mDataManager.getMediaSet(path); in MediaItemsLoader() 73 mDataManager = DataManager.from(getContext()); in MediaItemsLoader() 74 mMediaSet = mDataManager.getMediaSet(parentPath); in MediaItemsLoader() 174 MediaObject o = mDataManager.getMediaObject((Path) path); in deleteItemWithPath()
|
D | MediaSetLoader.java | 51 private final DataManager mDataManager; field in MediaSetLoader 64 mDataManager = DataManager.from(context); in MediaSetLoader() 65 String path = mDataManager.getTopSetPath(DataManager.INCLUDE_ALL); in MediaSetLoader() 66 mMediaSet = mDataManager.getMediaSet(path); in MediaSetLoader() 71 mDataManager = DataManager.from(getContext()); in MediaSetLoader() 72 mMediaSet = mDataManager.getMediaSet(path); in MediaSetLoader() 176 MediaObject o = mDataManager.getMediaObject((Path) path); in deleteItemWithPath()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryAppImpl.java | 43 private DataManager mDataManager; field in GalleryAppImpl 72 if (mDataManager == null) { in getDataManager() 73 mDataManager = new DataManager(this); in getDataManager() 74 mDataManager.initializeSourceMap(); in getDataManager() 76 return mDataManager; in getDataManager()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FilterTypeSet.java | 26 private final DataManager mDataManager; field in FilterTypeSet 35 mDataManager = dataManager; in FilterTypeSet() 64 mPaths, start, count, mDataManager); in getMediaItem() 89 MediaSet filteredSet = mDataManager.getMediaSet(filteredPath); in updateData() 135 mDataManager.mapMediaItems(mPaths, consumer, 0); in delete()
|
D | ClusterAlbum.java | 26 private DataManager mDataManager; field in ClusterAlbum 33 mDataManager = dataManager; in ClusterAlbum() 71 return getMediaItemFromPath(mPaths, start, count, mDataManager); in getMediaItem() 99 mDataManager.mapMediaItems(mPaths, consumer, startIndex); in enumerateMediaItems() 136 mDataManager.mapMediaItems(mPaths, consumer, 0); in delete()
|
D | SecureAlbum.java | 47 private DataManager mDataManager; field in SecureAlbum 59 mDataManager = application.getDataManager(); in SecureAlbum() 105 mDataManager.mapMediaItems(subset, consumer, 0); in getMediaItem()
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
D | GalleryProvider.java | 66 private DataManager mDataManager; field in GalleryProvider 93 MediaItem item = (MediaItem) mDataManager.getMediaObject(path); in getType() 108 mDataManager = app.getDataManager(); in onCreate() 119 MediaObject object = mDataManager.getMediaObject(path); in query() 181 MediaObject object = mDataManager.getMediaObject(path); in openFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SelectionManager.java | 40 private DataManager mDataManager; field in SelectionManager 53 mDataManager = activity.getDataManager(); in SelectionManager() 205 if (!expandMediaSet(selected, mDataManager.getMediaSet(id), in getSelected()
|