Home
last modified time | relevance | path

Searched refs:TvApplication (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/receiver/
DGlobalKeyReceiver.java26 import com.android.tv.TvApplication;
50 ((TvApplication) context.getApplicationContext()).handleTvKey(); in onReceive()
53 ((TvApplication) context.getApplicationContext()).handleTvInputKey(); in onReceive()
DPackageIntentsReceiver.java23 import com.android.tv.TvApplication;
32 ((TvApplication) context.getApplicationContext()).handleInputCountChanged(); in onReceive()
DAudioCapabilitiesReceiver.java29 import com.android.tv.TvApplication;
66 ApplicationSingletons appSingletons = TvApplication.getSingletons(context); in AudioCapabilitiesReceiver()
/packages/apps/TV/src/com/android/tv/util/
DOnboardingUtils.java28 import com.android.tv.TvApplication;
96 ChannelDataManager manager = TvApplication.getSingletons(context).getChannelDataManager(); in areChannelsAvailable()
112 return TvApplication.getSingletons(context).getTvInputManagerHelper() in areInputsAvailable()
DSetupUtils.java35 import com.android.tv.TvApplication;
61 private final TvApplication mTvApplication;
69 private SetupUtils(TvApplication tvApplication) { in SetupUtils()
93 sSetupUtils = new SetupUtils((TvApplication) context.getApplicationContext()); in getInstance()
129 ApplicationSingletons appSingletons = TvApplication.getSingletons(context); in updateChannelBrowsable()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DScheduledRecordingPresenter.java31 import com.android.tv.TvApplication;
55 ApplicationSingletons singletons = TvApplication.getSingletons(context); in ScheduledRecordingPresenter()
142 DvrManager dvrManager = TvApplication.getSingletons(context) in showScheduledRecordingDialog()
160 DvrManager dvrManager = TvApplication.getSingletons(context) in showCurrentlyRecordingDialog()
DRecordedProgramPresenter.java35 import com.android.tv.TvApplication;
50 mChannelDataManager = TvApplication.getSingletons(context).getChannelDataManager(); in RecordedProgramPresenter()
105 DvrManager dvrManager = TvApplication in onBindViewHolder()
DDvrGuidedStepFragment.java13 import com.android.tv.TvApplication;
38 mDvrManager = TvApplication.getSingletons(context).getDvrManager(); in onAttach()
DDvrBrowseFragment.java31 import com.android.tv.TvApplication;
74 mDvrDataManager = TvApplication.getSingletons(getContext()).getDvrDataManager(); in onCreate()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java29 import com.android.tv.TvApplication;
102 mChannelDataManager = TvApplication.getSingletons(this).getChannelDataManager(); in onCreateInitialFragment()
168 ChannelDataManager manager = TvApplication.getSingletons( in executeAction()
DNewSourcesFragment.java29 import com.android.tv.TvApplication;
59 SetupUtils.getInstance(getActivity()).markAllInputsRecognized(TvApplication in onCreateView()
DSetupSourcesFragment.java44 import com.android.tv.TvApplication;
78 TvApplication.getSingletons(getActivity()).getTracker().sendScreenView(SETUP_TRACKER_LABEL); in onCreateView()
216 ApplicationSingletons app = TvApplication.getSingletons(context); in onCreate()
/packages/apps/TV/src/com/android/usbtuner/
DUsbInputController.java37 import com.android.tv.TvApplication;
164 ((TvApplication) context.getApplicationContext()).handleInputCountChanged( in enableUsbTunerTvInputService()
169 int flags = TvApplication.getSingletons(context).getMainActivityWrapper().isCreated() in enableUsbTunerTvInputService()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrPlayActivity.java24 import com.android.tv.TvApplication;
36 DvrDataManager dvrDataManager = TvApplication.getSingletons(this).getDvrDataManager(); in onCreate()
DDvrRecordingService.java31 import com.android.tv.TvApplication;
86 ApplicationSingletons singletons = TvApplication.getSingletons(this); in onCreate()
DDvrManager.java31 import com.android.tv.TvApplication;
63 ApplicationSingletons appSingletons = TvApplication.getSingletons(context); in DvrManager()
/packages/apps/TV/src/com/android/tv/menu/
DRecordCardView.java29 import com.android.tv.TvApplication;
67 mDvrManager = TvApplication.getSingletons(context).getDvrManager(); in RecordCardView()
68 mDvrDataManager = TvApplication.getSingletons(context).getDvrDataManager(); in RecordCardView()
DOptionsRowAdapter.java23 import com.android.tv.TvApplication;
59 mTracker = TvApplication.getSingletons(context).getTracker(); in OptionsRowAdapter()
DChannelsRowAdapter.java28 import com.android.tv.TvApplication;
121 mTracker = TvApplication.getSingletons(context).getTracker(); in ChannelsRowAdapter()
170 TvInputManagerHelper inputManager = TvApplication.getSingletons(mContext) in update()
DMenu.java33 import com.android.tv.TvApplication;
127 mTracker = TvApplication.getSingletons(context).getTracker(); in Menu()
/packages/apps/TV/src/com/android/tv/dialog/
DSafeDismissDialogFragment.java27 import com.android.tv.TvApplication;
51 mTracker = TvApplication.getSingletons(activity).getTracker(); in onAttach()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelRecord.java22 import com.android.tv.TvApplication;
74 TvApplication.getSingletons(mContext).getProgramDataManager(); in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/
DSelectInputActivity.java41 ((TvApplication) getApplicationContext()).setSelectInputActivity(this); in onCreate()
87 ((TvApplication) getApplicationContext()).setSelectInputActivity(null); in onDestroy()
DTvApplication.java66 public class TvApplication extends Application implements ApplicationSingletons { class
335 || Features.UNHIDE.isEnabled(TvApplication.this); in handleInputCountChanged()
362 SetupUtils.getInstance(TvApplication.this).onInputListUpdated(inputManager); in handleInputCountChanged()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java24 import com.android.tv.TvApplication;
156 ((TvApplication) activity.getApplicationContext()).getVersionName())); in getItemList()

12