Searched refs:canonicalGenres (Results 1 – 6 of 6) sorted by relevance
262 public Builder setCanonicalGenres(String canonicalGenres) { in setCanonicalGenres() argument264 TextUtils.isEmpty(canonicalGenres) in setCanonicalGenres()266 : ImmutableList.copyOf(Genres.decode(canonicalGenres))); in setCanonicalGenres()269 public abstract Builder setCanonicalGenres(ImmutableList<String> canonicalGenres); in setCanonicalGenres() argument378 ImmutableList<String> canonicalGenres = getCanonicalGenres(); in getCanonicalGenreIds() local380 for (int i = 0; i < canonicalGenres.size(); i++) { in getCanonicalGenreIds()381 genreIds[i] = GenreItems.getId(canonicalGenres.get(i)); in getCanonicalGenreIds()
766 public static int[] getCanonicalGenreIds(String[] canonicalGenres) { in getCanonicalGenreIds() argument767 if (canonicalGenres != null && canonicalGenres.length > 0) { in getCanonicalGenreIds()768 int[] results = new int[canonicalGenres.length]; in getCanonicalGenreIds()770 for (String canonicalGenre : canonicalGenres) { in getCanonicalGenreIds()778 if (i < canonicalGenres.length) { in getCanonicalGenreIds()
561 String[] canonicalGenres = program.getCanonicalGenres(); in toContentValues() local562 if (canonicalGenres != null && canonicalGenres.length > 0) { in toContentValues()566 TvContract.Programs.Genres.encode(canonicalGenres)); in toContentValues()
342 public GenreDescriptor(String[] broadcastGenres, String[] canonicalGenres) { in GenreDescriptor() argument344 mCanonicalGenres = canonicalGenres; in GenreDescriptor()
2092 String canonicalGenres = values.getAsString(Programs.COLUMN_CANONICAL_GENRE); in checkAndConvertGenre() local2094 if (!TextUtils.isEmpty(canonicalGenres)) { in checkAndConvertGenre()2096 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre()2100 canonicalGenres = null; in checkAndConvertGenre()2106 if (TextUtils.isEmpty(canonicalGenres)) { in checkAndConvertGenre()
1920 String canonicalGenres = values.getAsString(Programs.COLUMN_CANONICAL_GENRE); in checkAndConvertGenre() local1922 if (!TextUtils.isEmpty(canonicalGenres)) { in checkAndConvertGenre()1924 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre()1928 canonicalGenres = null; in checkAndConvertGenre()1934 if (TextUtils.isEmpty(canonicalGenres)) { in checkAndConvertGenre()