Searched refs:tvActivity (Results 1 – 6 of 6) sorted by relevance
44 public static String getDescription(MainActivity tvActivity) { in getDescription() argument45 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() argument131 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()
143 final MainActivity tvActivity = getMainActivity(); in getItemList()144 tvActivity.getOverlayManager().getSideFragmentManager().hideSidePanel(true); in getItemList()147 tvActivity in getItemList()
38 public static String getDescription(MainActivity tvActivity) { in getDescription() argument39 return RatingsFragment.getDescription(tvActivity); in getDescription()
92 public static String getDescription(MainActivity tvActivity) { in getDescription() argument94 int currentLevel = tvActivity.getParentalControlSettings().getContentRatingLevel(); in getDescription()96 return tvActivity.getString(sLevelResourceIdMap.get(currentLevel)); in getDescription()
111 final MainActivity tvActivity = (MainActivity) view.getContext();113 tvActivity.getChannelDataManager().getChannel(entry.channelId);117 tvActivity.tuneToChannel(channel);118 tvActivity.hideOverlaysForTune();138 tvActivity,142 tvActivity, entry.program, false));
126 MainActivity tvActivity = getMainActivity(); in onCreateView() local128 && mLastFocusedChannelId != tvActivity.getCurrentChannelId()) { in onCreateView()129 tvActivity.tuneToChannel(getChannelDataManager().getChannel(mLastFocusedChannelId)); in onCreateView()