Searched refs:canonicalRating (Results 1 – 1 of 1) sorted by relevance
78 public String getDisplayNameForRating(TvContentRating canonicalRating) { in getDisplayNameForRating() argument79 if (TvContentRating.UNRATED.equals(canonicalRating)) { in getDisplayNameForRating()82 Rating rating = getRating(canonicalRating); in getDisplayNameForRating()86 List<SubRating> subRatings = getSubRatings(rating, canonicalRating); in getDisplayNameForRating()98 private Rating getRating(TvContentRating canonicalRating) { in getRating() argument99 if (canonicalRating == null || mContentRatingSystems == null) { in getRating()103 if (system.getDomain().equals(canonicalRating.getDomain()) in getRating()104 && system.getName().equals(canonicalRating.getRatingSystem())) { in getRating()106 if (rating.getName().equals(canonicalRating.getMainRating())) { in getRating()115 private List<SubRating> getSubRatings(Rating rating, TvContentRating canonicalRating) { in getSubRatings() argument[all …]