Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingSystemsFragment.java44 public static String getDescription(MainActivity tvActivity) { in getDescription() argument
45 setDefaultRatingSystemsIfNeeded(tvActivity); in getDescription()
48 tvActivity.getContentRatingsManager().getContentRatingSystems(); in getDescription()
52 if (!tvActivity.getParentalControlSettings().isContentRatingSystemEnabled(s)) { in getDescription()
60 : tvActivity.getString(R.string.option_no_enabled_rating_system); in getDescription()
130 private static void setDefaultRatingSystemsIfNeeded(MainActivity tvActivity) { in setDefaultRatingSystemsIfNeeded() argument
131 if (TvSettings.isContentRatingSystemSet(tvActivity)) { in setDefaultRatingSystemsIfNeeded()
136 tvActivity.getContentRatingsManager().getContentRatingSystems(); in setDefaultRatingSystemsIfNeeded()
137 ContentRatingsManager manager = tvActivity.getContentRatingsManager(); in setDefaultRatingSystemsIfNeeded()
138 ParentalControlSettings settings = tvActivity.getParentalControlSettings(); in setDefaultRatingSystemsIfNeeded()
DParentalControlsFragment.java143 final MainActivity tvActivity = getMainActivity(); in getItemList()
144 tvActivity.getOverlayManager().getSideFragmentManager().hideSidePanel(true); in getItemList()
147 tvActivity in getItemList()
DProgramRestrictionsFragment.java38 public static String getDescription(MainActivity tvActivity) { in getDescription() argument
39 return RatingsFragment.getDescription(tvActivity); in getDescription()
DRatingsFragment.java81 public static String getDescription(MainActivity tvActivity) { in getDescription() argument
83 int currentLevel = tvActivity.getParentalControlSettings().getContentRatingLevel(); in getDescription()
85 return tvActivity.getString(sLevelResourceIdMap.get(currentLevel)); in getDescription()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java101 final MainActivity tvActivity = (MainActivity) view.getContext();
103 tvActivity.getChannelDataManager().getChannel(entry.channelId);
107 tvActivity.tuneToChannel(channel);
108 tvActivity.hideOverlaysForTune();
123 tvActivity,
127 tvActivity, entry.program, false));
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java126 MainActivity tvActivity = getMainActivity(); in onCreateView() local
128 && mLastFocusedChannelId != tvActivity.getCurrentChannelId()) { in onCreateView()
129 tvActivity.tuneToChannel(getChannelDataManager().getChannel(mLastFocusedChannelId)); in onCreateView()