Home
last modified time | relevance | path

Searched refs:genres (Results 1 – 17 of 17) sorted by relevance

/packages/apps/TV/src/com/android/tv/util/
DUtils.java782 public static int[] getCanonicalGenreIds(String genres) { in getCanonicalGenreIds() argument
783 if (TextUtils.isEmpty(genres)) { in getCanonicalGenreIds()
786 return getCanonicalGenreIds(Genres.decode(genres)); in getCanonicalGenreIds()
815 String[] genres = new String[canonicalGenreIds.length]; in getCanonicalGenre() local
817 genres[i] = GenreItems.getCanonicalGenre(canonicalGenreIds[i]); in getCanonicalGenre()
819 return Genres.encode(genres); in getCanonicalGenre()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaDb.java102 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() argument
568 mGenres.addAll(genres); in addGenres()
569 genresCount += genres.size(); in addGenres()
DAudioStore.java50 void onGenresAdded(@NonNull Collection<Genre> genres); in onGenresAdded() argument
79 ArrayList<Genre> genres = new ArrayList<>(); in load() local
226 genres.add(genre); in load()
237 mChangeListener.onGenresAdded(genres); in load()
/packages/apps/TV/src/com/android/tv/data/
DProgram.java385 String[] genres = new String[mCanonicalGenreIds.length]; in getCanonicalGenres() local
387 genres[i] = GenreItems.getCanonicalGenre(mCanonicalGenreIds[i]); in getCanonicalGenres()
389 return genres; in getCanonicalGenres()
861 public Builder setCanonicalGenres(String genres) { in setCanonicalGenres() argument
862 mProgram.mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres); in setCanonicalGenres()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java584 private List<RecordedProgramAdapter> getGenreAdapters(ImmutableList<String> genres) { in getGenreAdapters() argument
586 if (genres == null || genres.isEmpty()) { in getGenreAdapters()
589 for (String genre : genres) { in getGenreAdapters()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DLocalMediaBrowserService.java104 MediaDescription genres = new MediaDescription.Builder() in addRootItems() local
109 mRootItems.add(new MediaBrowser.MediaItem(genres, MediaBrowser.MediaItem.FLAG_BROWSABLE)); in addRootItems()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java469 private static String safeEncode(@Nullable ImmutableList<String> genres) { in safeEncode() argument
470 return genres == null ? null : Genres.encode(genres.toArray(new String[0])); in safeEncode()
DSeriesRecording.java324 public Builder setCanonicalGenreIds(String genres) { in setCanonicalGenreIds() argument
325 mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres); in setCanonicalGenreIds()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeTvProvider.java2096 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre() local
2097 for (String genre : genres) { in checkAndConvertGenre()
2112 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre() local
2113 for (String genre : genres) { in checkAndConvertGenre()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1887 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre() local
1888 for (String genre : genres) { in checkAndConvertGenre()
1903 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre() local
1904 for (String genre : genres) { in checkAndConvertGenre()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Dnl_wordlist.combined.gz
Den_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...