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.java758 public static int[] getCanonicalGenreIds(String genres) { in getCanonicalGenreIds() argument
759 if (TextUtils.isEmpty(genres)) { in getCanonicalGenreIds()
762 return getCanonicalGenreIds(Genres.decode(genres)); in getCanonicalGenreIds()
791 String[] genres = new String[canonicalGenreIds.length]; in getCanonicalGenre() local
793 genres[i] = GenreItems.getCanonicalGenre(canonicalGenreIds[i]); in getCanonicalGenre()
795 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.java49 void onGenresAdded(@NonNull Collection<Genre> genres); in onGenresAdded() argument
78 ArrayList<Genre> genres = new ArrayList<>(); in load() local
225 genres.add(genre); in load()
236 mChangeListener.onGenresAdded(genres); in load()
/packages/apps/TV/src/com/android/tv/data/
DProgramImpl.java392 String[] genres = new String[mCanonicalGenreIds.length]; in getCanonicalGenres() local
394 genres[i] = GenreItems.getCanonicalGenre(mCanonicalGenreIds[i]); in getCanonicalGenres()
396 return genres; in getCanonicalGenres()
868 public Builder setCanonicalGenres(String genres) { in setCanonicalGenres() argument
869 mProgram.mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres); in setCanonicalGenres()
/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/ui/browse/
DDvrBrowseFragment.java585 private List<RecordedProgramAdapter> getGenreAdapters(ImmutableList<String> genres) { in getGenreAdapters() argument
587 if (genres == null || genres.isEmpty()) { in getGenreAdapters()
590 for (String genre : genres) { in getGenreAdapters()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java470 private static String safeEncode(@Nullable ImmutableList<String> genres) { in safeEncode() argument
471 return genres == null ? null : Genres.encode(genres.toArray(new String[0])); in safeEncode()
DSeriesRecording.java328 public Builder setCanonicalGenreIds(String genres) { in setCanonicalGenreIds() argument
329 mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres); in setCanonicalGenreIds()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
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.java1972 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre() local
1973 for (String genre : genres) { in checkAndConvertGenre()
1988 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre() local
1989 for (String genre : genres) { in checkAndConvertGenre()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz