/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
D | MediaSetTest.java | 32 DataManager dataManager = app.getDataManager(); in testComboAlbumSet() local 34 dataManager.addSource(new ComboSource(app)); in testComboAlbumSet() 35 dataManager.addSource(new MockSource(app)); in testComboAlbumSet() 37 MockSet set00 = new MockSet(Path.fromString("/mock/00"), dataManager, 0, 2000); in testComboAlbumSet() 38 MockSet set01 = new MockSet(Path.fromString("/mock/01"), dataManager, 1, 3000); in testComboAlbumSet() 39 MockSet set10 = new MockSet(Path.fromString("/mock/10"), dataManager, 2, 4000); in testComboAlbumSet() 40 MockSet set11 = new MockSet(Path.fromString("/mock/11"), dataManager, 3, 5000); in testComboAlbumSet() 41 MockSet set12 = new MockSet(Path.fromString("/mock/12"), dataManager, 4, 6000); in testComboAlbumSet() 43 MockSet set0 = new MockSet(Path.fromString("/mock/0"), dataManager, 7, 7000); in testComboAlbumSet() 47 MockSet set1 = new MockSet(Path.fromString("/mock/1"), dataManager, 8, 8000); in testComboAlbumSet() [all …]
|
D | MockSet.java | 26 public MockSet(Path path, DataManager dataManager) { in MockSet() argument 31 public MockSet(Path path, DataManager dataManager, in MockSet() argument 33 this(path, dataManager); in MockSet()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FilterSource.java | 43 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local 48 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject() 49 return new FilterTypeSet(path, dataManager, sets[0], mediaType); in createMediaObject() 53 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
|
D | ClusterSource.java | 63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local 64 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject() 77 MediaSet parent = dataManager.getMediaSet(path.getParent()); in createMediaObject() 80 return new ClusterAlbum(path, dataManager, parent); in createMediaObject()
|
D | ComboSource.java | 43 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local 47 dataManager.getMediaSetsFromString(segments[1])); in createMediaObject() 51 dataManager.getMediaSetsFromString(segments[2]), segments[1]); in createMediaObject()
|
D | ClusterAlbum.java | 29 public ClusterAlbum(Path path, DataManager dataManager, in ClusterAlbum() argument 32 mDataManager = dataManager; in ClusterAlbum() 75 DataManager dataManager) { in getMediaItemFromPath() argument 87 dataManager.mapMediaItems(subset, consumer, 0); in getMediaItemFromPath()
|
D | LocalAlbum.java | 108 DataManager dataManager = mApplication.getDataManager(); in getMediaItem() local 127 dataManager, mApplication, mIsImage); in getMediaItem() 137 DataManager dataManager, GalleryApp app, boolean isImage) { in loadOrUpdateItem() argument 138 LocalMediaItem item = (LocalMediaItem) dataManager.peekMediaObject(path); in loadOrUpdateItem() 175 DataManager dataManager = application.getDataManager(); in getMediaItemById() local 202 MediaItem item = loadOrUpdateItem(childPath, cursor, dataManager, in getMediaItemById()
|
D | SnailSource.java | 40 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local 45 (MediaItem) dataManager.getMediaObject(itemPath); in createMediaObject()
|
D | ClusterAlbumSet.java | 101 DataManager dataManager = mApplication.getDataManager(); in updateClusters() local 113 ClusterAlbum album = (ClusterAlbum) dataManager.peekMediaObject( in updateClusters() 116 album = new ClusterAlbum(childPath, dataManager, this); in updateClusters()
|
D | FilterTypeSet.java | 32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, in FilterTypeSet() argument 35 mDataManager = dataManager; in FilterTypeSet()
|
D | MtpDeviceSet.java | 64 DataManager dataManager = mApplication.getDataManager(); in run() local 74 MtpDevice device = (MtpDevice) dataManager.peekMediaObject(childPath); in run()
|
D | LocalSource.java | 96 DataManager dataManager = app.getDataManager(); in createMediaObject() local 97 MediaSet imageSet = (MediaSet) dataManager.getMediaObject( in createMediaObject() 99 MediaSet videoSet = (MediaSet) dataManager.getMediaObject( in createMediaObject()
|
D | MtpDevice.java | 125 DataManager dataManager = mApplication.getDataManager(); in getMediaItem() local 129 MtpImage image = (MtpImage) dataManager.peekMediaObject(childPath); in getMediaItem()
|
D | LocalAlbumSet.java | 211 DataManager dataManager = mApplication.getDataManager(); in run() local 213 MediaSet album = getLocalAlbum(dataManager, in run()
|