Home
last modified time | relevance | path

Searched refs:tvActivity (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingSystemsFragment.java46 public static String getDescription(MainActivity tvActivity) { in getDescription() argument
47 setDefaultRatingSystemsIfNeeded(tvActivity); in getDescription()
50 tvActivity.getContentRatingsManager().getContentRatingSystems(); in getDescription()
54 if (!tvActivity.getParentalControlSettings().isContentRatingSystemEnabled(s)) { in getDescription()
61 : tvActivity.getString(R.string.option_no_enabled_rating_system); in getDescription()
129 private static void setDefaultRatingSystemsIfNeeded(MainActivity tvActivity) { in setDefaultRatingSystemsIfNeeded() argument
130 if (TvSettings.isContentRatingSystemSet(tvActivity)) { in setDefaultRatingSystemsIfNeeded()
135 tvActivity.getContentRatingsManager().getContentRatingSystems(); in setDefaultRatingSystemsIfNeeded()
136 ContentRatingsManager manager = tvActivity.getContentRatingsManager(); in setDefaultRatingSystemsIfNeeded()
137 ParentalControlSettings settings = tvActivity.getParentalControlSettings(); in setDefaultRatingSystemsIfNeeded()
DParentalControlsFragment.java131 final MainActivity tvActivity = getMainActivity(); in getItemList()
132 tvActivity.getOverlayManager().getSideFragmentManager().hideSidePanel(true); in getItemList()
140 tvActivity.getOverlayManager().getSideFragmentManager() in getItemList()
144 tvActivity.getOverlayManager().showDialogFragment(PinDialogFragment.DIALOG_TAG, in getItemList()
DRatingsFragment.java82 public static String getDescription(MainActivity tvActivity) { in getDescription() argument
84 tvActivity.getParentalControlSettings().getContentRatingLevel(); in getDescription()
86 return tvActivity.getString(sLevelResourceIdMap.get(currentLevel)); in getDescription()
DProgramRestrictionsFragment.java38 public static String getDescription(MainActivity tvActivity) { in getDescription() argument
39 return RatingsFragment.getDescription(tvActivity); in getDescription()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java97 final MainActivity tvActivity = (MainActivity) view.getContext();
98 final Channel channel = tvActivity.getChannelDataManager().getChannel(entry.channelId);
103 tvActivity.tuneToChannel(channel);
104 tvActivity.hideOverlaysForTune();
114 if (DvrUiHelper.checkStorageStatusAndShowErrorMessage(tvActivity,
116 && DvrUiHelper.handleCreateSchedule(tvActivity, entry.program)) {
/packages/apps/TV/src/com/android/tv/menu/
DPipOptionsRowAdapter.java85 MainActivity tvActivity = getMainActivity(); in updateSelectInputAction() local
86 PipInput newInput = tvActivity.getPipInputManager().getPipInput(tvActivity.getPipChannel()); in updateSelectInputAction()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java125 final MainActivity tvActivity = getMainActivity(); in getItemList()
126 final SideFragmentManager sideFragmentManager = tvActivity.getOverlayManager() in getItemList()
143 tvActivity.getOverlayManager() in getItemList()
DCustomizeChannelListFragment.java118 MainActivity tvActivity = getMainActivity(); in onCreateView() local
120 mLastFocusedChannelId != tvActivity.getCurrentChannelId()) { in onCreateView()
121 tvActivity.tuneToChannel(getChannelDataManager().getChannel(mLastFocusedChannelId)); in onCreateView()