Searched refs:genres (Results 1 – 17 of 17) sorted by relevance
782 public static int[] getCanonicalGenreIds(String genres) { in getCanonicalGenreIds() argument783 if (TextUtils.isEmpty(genres)) { in getCanonicalGenreIds()786 return getCanonicalGenreIds(Genres.decode(genres)); in getCanonicalGenreIds()815 String[] genres = new String[canonicalGenreIds.length]; in getCanonicalGenre() local817 genres[i] = GenreItems.getCanonicalGenre(canonicalGenreIds[i]); in getCanonicalGenre()819 return Genres.encode(genres); in getCanonicalGenre()
102 public void onGenresAdded(@NonNull Collection<Genre> genres) { in MediaDb()103 Executors.uiThreadExecutor().execute(() -> addGenres(genres)); in MediaDb()564 private void addGenres(@NonNull Collection<Genre> genres) { in addGenres() argument568 mGenres.addAll(genres); in addGenres()569 genresCount += genres.size(); in addGenres()
50 void onGenresAdded(@NonNull Collection<Genre> genres); in onGenresAdded() argument79 ArrayList<Genre> genres = new ArrayList<>(); in load() local226 genres.add(genre); in load()237 mChangeListener.onGenresAdded(genres); in load()
385 String[] genres = new String[mCanonicalGenreIds.length]; in getCanonicalGenres() local387 genres[i] = GenreItems.getCanonicalGenre(mCanonicalGenreIds[i]); in getCanonicalGenres()389 return genres; in getCanonicalGenres()861 public Builder setCanonicalGenres(String genres) { in setCanonicalGenres() argument862 mProgram.mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres); in setCanonicalGenres()
584 private List<RecordedProgramAdapter> getGenreAdapters(ImmutableList<String> genres) { in getGenreAdapters() argument586 if (genres == null || genres.isEmpty()) { in getGenreAdapters()589 for (String genre : genres) { in getGenreAdapters()
104 MediaDescription genres = new MediaDescription.Builder() in addRootItems() local109 mRootItems.add(new MediaBrowser.MediaItem(genres, MediaBrowser.MediaItem.FLAG_BROWSABLE)); in addRootItems()
469 private static String safeEncode(@Nullable ImmutableList<String> genres) { in safeEncode() argument470 return genres == null ? null : Genres.encode(genres.toArray(new String[0])); in safeEncode()
324 public Builder setCanonicalGenreIds(String genres) { in setCanonicalGenreIds() argument325 mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres); in setCanonicalGenreIds()
2096 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre() local2097 for (String genre : genres) { in checkAndConvertGenre()2112 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre() local2113 for (String genre : genres) { in checkAndConvertGenre()
1887 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre() local1888 for (String genre : genres) { in checkAndConvertGenre()1903 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre() local1904 for (String genre : genres) { in checkAndConvertGenre()
1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...