Home
last modified time | relevance | path

Searched refs:dataManager (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterSource.java63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
68 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
69 return new FilterTypeSet(path, dataManager, sets[0], mediaType); in createMediaObject()
73 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
78 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
DClusterSource.java63 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()
DClusterAlbum.java30 public ClusterAlbum(Path path, DataManager dataManager, in ClusterAlbum() argument
33 mDataManager = dataManager; in ClusterAlbum()
76 DataManager dataManager) { in getMediaItemFromPath() argument
89 dataManager.mapMediaItems(subset, consumer, 0); in getMediaItemFromPath()
DComboSource.java43 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
47 dataManager.getMediaSetsFromString(segments[1])); in createMediaObject()
51 dataManager.getMediaSetsFromString(segments[2]), segments[1]); in createMediaObject()
DLocalAlbum.java116 DataManager dataManager = mApplication.getDataManager(); in getMediaItem() local
135 dataManager, mApplication, mIsImage); in getMediaItem()
145 DataManager dataManager, GalleryApp app, boolean isImage) { in loadOrUpdateItem() argument
147 LocalMediaItem item = (LocalMediaItem) dataManager.peekMediaObject(path); in loadOrUpdateItem()
185 DataManager dataManager = application.getDataManager(); in getMediaItemById() local
212 MediaItem item = loadOrUpdateItem(childPath, cursor, dataManager, in getMediaItemById()
DClusterAlbumSet.java103 DataManager dataManager = mApplication.getDataManager(); in updateClusters() local
118 album = (ClusterAlbum) dataManager.peekMediaObject(childPath); in updateClusters()
120 album = new ClusterAlbum(childPath, dataManager, this); in updateClusters()
DSecureSource.java45 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
46 MediaItem unlock = (MediaItem) dataManager.getMediaObject( in createMediaObject()
DSnailSource.java41 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
46 (SnailItem) dataManager.getMediaObject(itemPath); in createMediaObject()
DFilterTypeSet.java32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, in FilterTypeSet() argument
35 mDataManager = dataManager; in FilterTypeSet()
DLocalSource.java96 DataManager dataManager = app.getDataManager(); in createMediaObject() local
97 MediaSet imageSet = (MediaSet) dataManager.getMediaObject( in createMediaObject()
99 MediaSet videoSet = (MediaSet) dataManager.getMediaObject( in createMediaObject()
DLocalAlbumSet.java126 DataManager dataManager = mApplication.getDataManager(); in run() local
128 MediaSet album = getLocalAlbum(dataManager, in run()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java569 public void handleMessage(Message msg, @NonNull RecommendationDataManager dataManager) { in handleMessage() argument
572 dataManager.onStart(); in handleMessage()
575 if (dataManager.mStarted) { in handleMessage()
576 dataManager.onStop(); in handleMessage()
580 if (dataManager.mStarted) { in handleMessage()
581 dataManager.onUpdateChannels((List<Channel>) msg.obj); in handleMessage()
585 if (dataManager.mStarted) { in handleMessage()
586 dataManager.onLoadWatchHistory((Uri) msg.obj); in handleMessage()
590 if (dataManager.mStarted) { in handleMessage()
591 dataManager.onNotifyChannelRecordMapLoaded(); in handleMessage()
[all …]
DRecommender.java73 RecommendationDataManager dataManager) { in Recommender() argument
76 mDataManager = dataManager; in Recommender()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java45 RecommendationDataManager dataManager = Mockito.mock(RecommendationDataManager.class); in createMockRecommendationDataManager() local
51 }).when(dataManager).getChannelRecordCount(); in createMockRecommendationDataManager()
57 }).when(dataManager).getChannelRecords(); in createMockRecommendationDataManager()
64 }).when(dataManager).getChannelRecord(Matchers.anyLong()); in createMockRecommendationDataManager()
65 return dataManager; in createMockRecommendationDataManager()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DRecordedProgramsAdapter.java31 RecordedProgramsAdapter(DvrDataManager dataManager, PresenterSelector presenterSelector) { in RecordedProgramsAdapter() argument
33 mDataManager = dataManager; in RecordedProgramsAdapter()
DScheduledRecordingsAdapter.java33 ScheduledRecordingsAdapter(DvrDataManager dataManager, int state, in ScheduledRecordingsAdapter() argument
36 mDataManager = dataManager; in ScheduledRecordingsAdapter()
/packages/apps/TV/src/com/android/tv/dvr/
DScheduler.java85 WritableDvrDataManager dataManager, ChannelDataManager channelDataManager, in Scheduler() argument
91 mDataManager = dataManager; in Scheduler()
DRecordingTask.java86 WritableDvrDataManager dataManager, Clock clock) { in RecordingTask() argument
90 mDataManager = dataManager; in RecordingTask()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerRecordingSessionWorker.java109 ChannelDataManager dataManager, TunerRecordingSession session) { in TunerRecordingSessionWorker() argument
115 mChannelDataManager = dataManager; in TunerRecordingSessionWorker()