/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | AlbumSettings.java | 31 private static HashMap<SharedPreferences, AlbumSettings> singletons; field in AlbumSettings 37 if (singletons == null) { in getAlbumSettings() 38 singletons = new HashMap<SharedPreferences, AlbumSettings>(); in getAlbumSettings() 40 if (!singletons.containsKey(settings)) { in getAlbumSettings() 41 singletons.put(settings, new AlbumSettings(settings)); in getAlbumSettings() 43 return singletons.get(settings); in getAlbumSettings()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | BaseDvrSchedulesFragment.java | 52 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreate() local 53 singletons.getDvrDataManager().addScheduledRecordingListener(this); in onCreate() 54 singletons.getDvrScheduleManager().addOnConflictStateChangeListener(this); in onCreate() 98 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onDestroy() local 99 singletons.getDvrScheduleManager().removeOnConflictStateChangeListener(this); in onDestroy() 100 singletons.getDvrDataManager().removeScheduledRecordingListener(this); in onDestroy()
|
D | DvrHistoryFragment.java | 50 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreate() local 52 getContext(), presenterSelector, singletons.getClock()); in onCreate() 55 mDvrDataManager = singletons.getDvrDataManager(); in onCreate()
|
D | DvrSeriesSchedulesFragment.java | 143 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreate() local 144 mChannelDataManager = singletons.getChannelDataManager(); in onCreate() 146 mDvrDataManager = singletons.getDvrDataManager(); in onCreate()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | RecordingScheduler.java | 125 TvSingletons singletons = TvSingletons.getSingletons(context); in createScheduler() local 128 singletons.getDvrManager(), in createScheduler() 129 singletons.getInputSessionManager(), in createScheduler() 130 (WritableDvrDataManager) singletons.getDvrDataManager(), in createScheduler() 131 singletons.getChannelDataManager(), in createScheduler() 132 singletons.getTvInputManagerHelper(), in createScheduler()
|
D | DvrRecordingService.java | 122 TvSingletons singletons = TvSingletons.getSingletons(this); in onCreate() local 124 (WritableDvrDataManager) singletons.getDvrDataManager(); in onCreate() 125 mSessionManager = singletons.getInputSessionManager(); in onCreate()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | SetupSourcesFragment.java | 191 TvSingletons singletons = TvSingletons.getSingletons(context); in onCreate() local 192 mInputManager = singletons.getTvInputManagerHelper(); in onCreate() 193 mChannelDataManager = singletons.getChannelDataManager(); in onCreate() 194 mSetupUtils = singletons.getSetupUtils(); in onCreate() 200 if (singletons.getBuiltInTunerManager().isPresent()) { in onCreate() 201 singletons in onCreate()
|
D | NewSourcesFragment.java | 54 TvSingletons singletons = TvSingletons.getSingletons(getActivity()); in onCreateView() local 55 singletons.getSetupUtils().markAllInputsRecognized(singletons.getTvInputManagerHelper()); in onCreateView()
|
/packages/apps/TV/common/src/com/android/tv/common/singletons/ |
D | HasSingletons.java | 16 package com.android.tv.common.singletons; 28 return ((HasSingletons<C>) context).singletons(); in get() 32 C singletons(); in singletons() method
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramItemView.java | 98 TvSingletons singletons = TvSingletons.getSingletons(view.getContext()); 99 Tracker tracker = singletons.getTracker(); 118 DvrManager dvrManager = singletons.getDvrManager(); 207 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in ProgramItemView() local 208 mDvrManager = singletons.getDvrManager(); in ProgramItemView() 209 mChannelDataManager = singletons.getChannelDataManager(); in ProgramItemView() 210 mClock = singletons.getClock(); in ProgramItemView()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SettingsFragment.java | 82 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in getItemList() local 84 singletons.getSetupUtils().hasNewInput(activity.getTvInputManagerHelper()); in getItemList() 127 if (singletons.getBuiltInTunerManager().isPresent()) { in getItemList() 129 singletons.getTvInputManagerHelper().getTvInputInfos(true, true)) { in getItemList()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | SeriesRecordingPresenter.java | 188 TvSingletons singletons = TvSingletons.getSingletons(context); in SeriesRecordingPresenter() local 189 mDvrDataManager = singletons.getDvrDataManager(); in SeriesRecordingPresenter() 190 mDvrManager = singletons.getDvrManager(); in SeriesRecordingPresenter() 191 mWatchedPositionManager = singletons.getDvrWatchedPositionManager(); in SeriesRecordingPresenter()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 235 TvSingletons singletons = TvSingletons.getSingletons(mainActivity); in TvOverlayManager() local 236 mChannelDataManager = singletons.getChannelDataManager(); in TvOverlayManager() 237 mInputManager = singletons.getTvInputManagerHelper(); in TvOverlayManager() 243 mTracker = singletons.getTracker(); in TvOverlayManager() 302 CommonFeatures.DVR.isEnabled(mainActivity) ? singletons.getDvrDataManager() : null; in TvOverlayManager() 307 singletons.getTvInputManagerHelper(), in TvOverlayManager() 309 singletons.getProgramDataManager(), in TvOverlayManager() 311 singletons.getDvrScheduleManager(), in TvOverlayManager() 312 singletons.getTracker(), in TvOverlayManager()
|
D | ChannelBannerView.java | 52 import com.android.tv.common.singletons.HasSingletons; 227 MySingletons singletons = HasSingletons.get(MySingletons.class, context); in ChannelBannerView() local 228 mCurrentChannelProvider = singletons.getCurrentChannelProvider(); in ChannelBannerView() 229 mCurrentProgramProvider = singletons.getCurrentProgramProvider(); in ChannelBannerView() 230 mCurrentPlayingPositionProvider = singletons.getCurrentPlayingPositionProvider(); in ChannelBannerView() 231 mTvInputManagerHelper = singletons.getTvInputManagerHelperSingleton(); in ChannelBannerView() 232 mTvOverlayManager = singletons.getOverlayManagerProvider(); in ChannelBannerView() 261 mDvrManager = singletons.getDvrManagerSingleton(); in ChannelBannerView()
|
D | ProgramDetailsFragment.java | 146 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onLoadDetails() local 147 mDvrDataManager = singletons.getDvrDataManager(); in onLoadDetails() 148 mDvrManager = singletons.getDvrManager(); in onLoadDetails() 149 mDvrScheduleManager = singletons.getDvrScheduleManager(); in onLoadDetails()
|
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/app/ |
D | SampleNetworkTuner.java | 22 import com.android.tv.common.singletons.HasSingletons; 24 import com.android.tv.tuner.sample.network.singletons.SampleNetworkSingletons; 81 public SampleNetworkSingletons singletons() { in singletons() method in SampleNetworkTuner
|
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/app/ |
D | SampleDvbTuner.java | 22 import com.android.tv.common.singletons.HasSingletons; 24 import com.android.tv.tuner.sample.dvb.singletons.SampleDvbSingletons; 81 public SampleDvbSingletons singletons() { in singletons() method in SampleDvbTuner
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesDeletionActivity.java | 88 TvSingletons singletons = TvSingletons.getSingletons(this); in deleteSelectedIds() local 90 singletons.getDvrDataManager().getRecordedPrograms(mSeriesRecordingId).size(); in deleteSelectedIds() 92 DvrManager dvrManager = singletons.getDvrManager(); in deleteSelectedIds()
|
D | DvrStopSeriesRecordingFragment.java | 79 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onTrackedGuidedActionClicked() local 80 DvrManager dvrManager = singletons.getDvrManager(); in onTrackedGuidedActionClicked() 81 DvrDataManager dataManager = singletons.getDvrDataManager(); in onTrackedGuidedActionClicked()
|
D | DvrSeriesDeletionFragment.java | 73 TvSingletons singletons = TvSingletons.getSingletons(context); in onAttach() local 74 mDvrManager = singletons.getDvrManager(); in onAttach() 75 mDvrDataManager = singletons.getDvrDataManager(); in onAttach() 76 mDvrWatchedPositionManager = singletons.getDvrWatchedPositionManager(); in onAttach()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | SetupUtils.java | 37 import com.android.tv.common.singletons.HasTvInputId; 157 TvSingletons singletons = TvSingletons.getSingletons(mContext); in markNewChannelsBrowsable() local 158 TvInputManagerHelper tvInputManagerHelper = singletons.getTvInputManagerHelper(); in markNewChannelsBrowsable() 159 ChannelDataManager channelDataManager = singletons.getChannelDataManager(); in markNewChannelsBrowsable()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | DvrHistoryDialogFragment.java | 56 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreateDialog() local 57 DvrDataManager dataManager = singletons.getDvrDataManager(); in onCreateDialog() 58 ChannelDataManager channelDataManager = singletons.getChannelDataManager(); in onCreateDialog()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/singletons/ |
D | TunerSingletons.java | 16 package com.android.tv.tuner.singletons; 18 import com.android.tv.common.singletons.HasTvInputId;
|
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/singletons/ |
D | SampleNetworkSingletons.java | 17 package com.android.tv.tuner.sample.network.singletons; 20 import com.android.tv.tuner.singletons.TunerSingletons;
|
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/singletons/ |
D | SampleDvbSingletons.java | 17 package com.android.tv.tuner.sample.dvb.singletons; 20 import com.android.tv.tuner.singletons.TunerSingletons;
|