Home
last modified time | relevance | path

Searched refs:mDataManager (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DRealDataTest.java36 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()
DGalleryAppMock.java28 DataManager mDataManager = new DataManager(this); field in GalleryAppMock
43 public DataManager getDataManager() { return mDataManager; } in getDataManager()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryAppImpl.java39 private DataManager mDataManager; field in GalleryAppImpl
57 if (mDataManager == null) { in getDataManager()
58 mDataManager = new DataManager(this); in getDataManager()
59 mDataManager.initializeSourceMap(); in getDataManager()
61 return mDataManager; in getDataManager()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterTypeSet.java26 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()
133 mDataManager.mapMediaItems(mPaths, consumer, 0); in delete()
DClusterAlbum.java25 private DataManager mDataManager; field in ClusterAlbum
32 mDataManager = dataManager; in ClusterAlbum()
70 return getMediaItemFromPath(mPaths, start, count, mDataManager); in getMediaItem()
97 mDataManager.mapMediaItems(mPaths, consumer, startIndex); in enumerateMediaItems()
132 mDataManager.mapMediaItems(mPaths, consumer, 0); in delete()
DMtpDevice.java37 private final DataManager mDataManager; field in MtpDevice
50 mDataManager = application.getDataManager(); in MtpDevice()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java67 private DataManager mDataManager; field in GalleryProvider
94 MediaItem item = (MediaItem) mDataManager.getMediaObject(path); in getType()
109 mDataManager = app.getDataManager(); in onCreate()
120 MediaObject object = mDataManager.getMediaObject(path); in query()
207 MediaObject object = mDataManager.getMediaObject(path); in openFile()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSelectionManager.java40 private DataManager mDataManager; field in SelectionManager
53 mDataManager = galleryContext.getDataManager(); in SelectionManager()
189 expandMediaSet(selected, mDataManager.getMediaSet(id));
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DLocalPhotoSource.java63 private DataManager mDataManager; field in LocalPhotoSource
68 mDataManager = ((GalleryApp) context.getApplicationContext()).getDataManager(); in LocalPhotoSource()
99 mDataManager.getMediaObject(LOCAL_IMAGE_ROOT.getChild(id)); in getImage()