/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 | 51 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreate() local 52 UiFlags uiFlags = singletons.getUiFlags(); in onCreate() 53 mDvrDataManager = singletons.getDvrDataManager(); in onCreate() 58 singletons.getClock(), in onCreate()
|
D | DvrSeriesSchedulesFragment.java | 147 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreate() local 148 mChannelDataManager = singletons.getChannelDataManager(); in onCreate() 150 mDvrDataManager = singletons.getDvrDataManager(); in onCreate()
|
D | SeriesScheduleRowAdapter.java | 70 TvSingletons singletons = TvSingletons.getSingletons(context); in SeriesScheduleRowAdapter() local 71 mDvrManager = singletons.getDvrManager(); in SeriesScheduleRowAdapter() 72 mDataManager = singletons.getDvrDataManager(); in SeriesScheduleRowAdapter()
|
/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/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/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/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/app/ |
D | SampleNetworkTuner.java | 24 import com.android.tv.common.singletons.HasSingletons; 26 import com.android.tv.tuner.sample.network.singletons.SampleNetworkSingletons; 76 public SampleNetworkSingletons singletons() { in singletons() method in SampleNetworkTuner
|
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/app/ |
D | SampleDvbTuner.java | 24 import com.android.tv.common.singletons.HasSingletons; 26 import com.android.tv.tuner.sample.dvb.singletons.SampleDvbSingletons; 76 public SampleDvbSingletons singletons() { in singletons() method in SampleDvbTuner
|
/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/onboarding/ |
D | NewSourcesFragment.java | 54 TvSingletons singletons = TvSingletons.getSingletons(getActivity()); in onCreateView() local 55 singletons.getSetupUtils().markAllInputsRecognized(singletons.getTvInputManagerHelper()); in onCreateView()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesDeletionActivity.java | 86 TvSingletons singletons = TvSingletons.getSingletons(this); in deleteSelectedIds() local 88 singletons.getDvrDataManager().getRecordedPrograms(mSeriesRecordingId).size(); in deleteSelectedIds() 90 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/ui/ |
D | ChannelBannerView.java | 53 import com.android.tv.common.singletons.HasSingletons; 232 MySingletons singletons = HasSingletons.get(MySingletons.class, context); in ChannelBannerView() local 233 mCurrentChannelProvider = singletons.getCurrentChannelProvider(); in ChannelBannerView() 234 mCurrentProgramProvider = singletons.getCurrentProgramProvider(); in ChannelBannerView() 235 mCurrentPlayingPositionProvider = singletons.getCurrentPlayingPositionProvider(); in ChannelBannerView() 236 mTvInputManagerHelper = singletons.getTvInputManagerHelperSingleton(); in ChannelBannerView() 237 mTvOverlayManager = singletons.getOverlayManagerProvider(); in ChannelBannerView() 266 mDvrManager = singletons.getDvrManagerSingleton(); in ChannelBannerView()
|
D | ProgramDetailsFragment.java | 159 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onLoadDetails() local 160 mDvrDataManager = singletons.getDvrDataManager(); in onLoadDetails() 161 mDvrManager = singletons.getDvrManager(); in onLoadDetails() 162 mDvrScheduleManager = singletons.getDvrScheduleManager(); in onLoadDetails()
|
/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/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;
|
/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/src/com/android/tv/guide/ |
D | ProgramItemView.java | 108 TvSingletons singletons = TvSingletons.getSingletons(view.getContext()); 109 Tracker tracker = singletons.getTracker(); 128 DvrManager dvrManager = singletons.getDvrManager(); 224 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in ProgramItemView() local 225 mDvrManager = singletons.getDvrManager(); in ProgramItemView()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | TestSingletonApp.java | 34 import com.android.tv.common.singletons.HasSingletons; 50 import com.android.tv.tuner.singletons.TunerSingletons; 238 public TvSingletons singletons() { in singletons() method in TestSingletonApp
|