Searched refs:subRating (Results 1 – 5 of 5) sorted by relevance
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | SubRatingsFragment.java | 87 for (SubRating subRating : mRating.getSubRatings()) { in getItemList() 88 mSubRatingItems.add(new SubRatingItem(subRating)); in getItemList() 130 for (SubRating subRating : mRating.getSubRatings()) { in onSelected() 131 setSubRatingEnabled(subRating, true); in onSelected() 155 private SubRatingItem(SubRating subRating) { in SubRatingItem() argument 156 super(subRating.getTitle(), subRating.getDescription()); in SubRatingItem() 157 mSubRating = subRating; in SubRatingItem() 203 private boolean isSubRatingEnabled(SubRating subRating) { in isSubRatingEnabled() argument 206 .isSubRatingEnabled(mContentRatingSystem, mRating, subRating); in isSubRatingEnabled() 215 private void setSubRatingEnabled(SubRating subRating, boolean enabled) { in setSubRatingEnabled() argument [all …]
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ParentalControlSettings.java | 237 SubRating subRating, in setSubRatingBlocked() argument 239 return setRatingBlockedInternal(contentRatingSystem, rating, subRating, blocked); in setSubRatingBlocked() 251 ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) { in isSubRatingEnabled() argument 252 return mRatings.contains(toTvContentRating(contentRatingSystem, rating, subRating)); in isSubRatingEnabled() 258 SubRating subRating, in setRatingBlockedInternal() argument 261 (subRating == null) in setRatingBlockedInternal() 263 : toTvContentRating(contentRatingSystem, rating, subRating); in setRatingBlockedInternal() 292 for (SubRating subRating : rating.getSubRatings()) { in getBlockedStatus() 293 if (isSubRatingEnabled(contentRatingSystem, rating, subRating)) { in getBlockedStatus() 307 ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) { in toTvContentRating() argument [all …]
|
D | ContentRatingsManager.java | 89 for (SubRating subRating : subRatings) { in getDisplayNameForRating() 90 builder.append(subRating.getTitle()); in getDisplayNameForRating() 124 for (SubRating subRating : rating.getSubRatings()) { in getSubRatings() 125 if (subRating.getName().equals(subRatingString)) { in getSubRatings() 126 subRatings.add(subRating); in getSubRatings()
|
D | ContentRatingSystem.java | 292 for (SubRating subRating : subRatings) { in build() 295 if (rating.getSubRatings().contains(subRating)) { in build() 302 "Subrating " + subRating.getName() + " isn't used by any rating"); in build() 423 for (SubRating subRating : allDefinedSubRatings) { in build() 424 if (subRatingId.equals(subRating.getName())) { in build() 426 subRatings.add(subRating); in build()
|
D | ContentRatingLevelPolicy.java | 72 for (SubRating subRating : rating.getSubRatings()) { in getRatingsForAge() 76 rating.getName(), subRating.getName()); in getRatingsForAge()
|