Searched defs:subRating (Results 1 - 2 of 2) sorted by relevance

/packages/apps/TV/src/com/android/tv/parental/
H A DParentalControlSettings.java206 * @param subRating The content sub-rating to set.
211 SubRating subRating, boolean blocked) {
212 return setRatingBlockedInternal(contentRatingSystem, rating, subRating, blocked);
220 * @param subRating The content sub-rating to check.
224 SubRating subRating) {
225 return mRatings.contains(toTvContentRating(contentRatingSystem, rating, subRating));
229 SubRating subRating, boolean blocked) {
230 TvContentRating tvContentRating = (subRating == null)
232 : toTvContentRating(contentRatingSystem, rating, subRating);
261 for (SubRating subRating
210 setSubRatingBlocked(ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating, boolean blocked) argument
223 isSubRatingEnabled(ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) argument
228 setRatingBlockedInternal(ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating, boolean blocked) argument
275 toTvContentRating(ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) argument
[all...]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
H A DSubRatingsFragment.java64 for (SubRating subRating : mRating.getSubRatings()) {
65 mSubRatingItems.add(new SubRatingItem(subRating));
107 for (SubRating subRating : mRating.getSubRatings()) {
108 setSubRatingEnabled(subRating, true);
132 private SubRatingItem(SubRating subRating) { argument
133 super(subRating.getTitle(), subRating.getDescription());
134 mSubRating = subRating;
179 private boolean isSubRatingEnabled(SubRating subRating) { argument
181 .isSubRatingEnabled(mContentRatingSystem, mRating, subRating);
189 setSubRatingEnabled(SubRating subRating, boolean enabled) argument
[all...]

Completed in 108 milliseconds