Searched refs:contentRatings (Results 1 – 5 of 5) sorted by relevance
87 List<TvContentRating> contentRatings = new ArrayList<>(); in stringToContentRatings() local90 contentRatings.add(TvContentRating.unflattenFromString(rating)); in stringToContentRatings()95 return contentRatings.size() == 0 ? in stringToContentRatings()96 null : contentRatings.toArray(new TvContentRating[contentRatings.size()]); in stringToContentRatings()123 public static String contentRatingsToString(TvContentRating[] contentRatings) { in contentRatingsToString() argument124 if (contentRatings == null || contentRatings.length == 0) { in contentRatingsToString()127 String[] ratingStrings = new String[contentRatings.length]; in contentRatingsToString()128 for (int i = 0; i < contentRatings.length; i++) { in contentRatingsToString()129 ratingStrings[i] = contentRatings[i].flattenToString(); in contentRatingsToString()
100 public final TvContentRating[] contentRatings; field in ProgramInfo123 TvContentRating[] contentRatings, String genre, String resourceUri) { in ProgramInfo() argument131 this.contentRatings = contentRatings; in ProgramInfo()204 contentRatings, in build()233 Objects.equals(contentRatings, that.contentRatings) && in equals()289 public Builder setContentRatings(TvContentRating[] contentRatings) { in setContentRatings() argument290 mContentRatings = contentRatings; in setContentRatings()
53 TvContentRatingCache.contentRatingsToString(program.contentRatings)); in populatePrograms()
429 public Builder setContentRatings(TvContentRating[] contentRatings) { in setContentRatings() argument430 mProgram.mContentRatings = contentRatings; in setContentRatings()
749 List<String> contentRatings = new ArrayList<>(); in generateContentRating() local777 contentRatings.add(TvContentRating in generateContentRating()785 return TextUtils.join(",", contentRatings); in generateContentRating()