Home
last modified time | relevance | path

Searched refs:genre (Results 1 – 24 of 24) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramInfo.java102 public final String genre; field in ProgramInfo
133 String genre, in ProgramInfo() argument
143 this.genre = genre; in ProgramInfo()
204 && !GEN_GENRE.equals(genre)) { in build()
219 GEN_GENRE.equals(genre) ? GENRES[index % GENRES.length] : genre, in build()
250 && Objects.equals(genre, that.genre) in equals()
312 public Builder setGenre(String genre) { in setGenre() argument
313 mGenre = genre; in setGenre()
DProgramUtils.java100 values.put(Programs.COLUMN_CANONICAL_GENRE, programAt.genre); in populatePrograms()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DGenreFragment.java108 Genre genre = mGenres.get(position - 1); in onBindViewHolder() local
109 mMediaDb.loadData(genre); // TODO Where should we call this? In bind()? in onBindViewHolder()
110 ((GenreViewHolder) holder).bind(genre); in onBindViewHolder()
126 return position == 0 ? R.layout.header : R.layout.genre; in getItemViewType()
150 private void bind(@NonNull Genre genre) { in bind() argument
155 textView.setText(genre.getName()); in bind()
158 GenreDetailsActivity.start(view.getContext(), genre)); in bind() local
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DGenreDetailsActivity.java49 public static void start(@NonNull Context context, @NonNull Genre genre) { in start() argument
52 intent.putExtra("id", genre.getId()); // TODO Add constant key in start()
109 Genre genre = mMediaDb.getGenres().get(i); in onItemsUpdated() local
110 if (genre.equals(mGenre)) { in onItemsUpdated()
163 private GenreAdapter(@NonNull MediaDb mediaDb, @NonNull Genre genre) { in GenreAdapter() argument
166 mGenre = genre; in GenreAdapter()
204 private void bind(@NonNull Genre genre, @NonNull Audio audio) { in bind() argument
DAudioPlayerActivity.java80 public static void start(@NonNull Context context, @NonNull Genre genre) { in start() argument
83 genre.getId()); in start()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaDb.java301 public void loadData(@NonNull Genre genre) { in loadData() argument
303 if (genre.isLoaded()) return; in loadData()
306 boolean updated = mAudioStore.loadData(genre); in loadData()
308 genre.setLoaded(); in loadData()
310 Executors.uiThreadExecutor().execute(() -> updateGenre(genre)); in loadData()
438 for (Genre genre : mGenres) { in getGenreById()
439 if (genre.getId() == id) { in getGenreById()
440 return genre; in getGenreById()
675 private void updateGenre(@NonNull Genre genre) { in updateGenre() argument
676 int index = mGenres.indexOf(genre); in updateGenre()
DAudioStore.java225 Genre genre = new Genre(id); in load() local
226 genres.add(genre); in load()
359 boolean loadData(@NonNull Genre genre) { in loadData() argument
365 String[] selectionArgs = { Long.toString(genre.getId()) }; in loadData()
375 updated |= genre.setName(name); in loadData()
383 updated |= loadAudios(genre); // TODO(b/123707561) Load separate from genre in loadData()
451 boolean loadAudios(@NonNull Genre genre) { in loadAudios() argument
455 Uri contentUri = MediaStore.Audio.Genres.Members.getContentUri("external", genre.getId()); in loadAudios()
466 updated |= genre.addAudio(audio); in loadAudios()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DMetadata.java28 public String genre; field in Metadata
40 data.genre = genre; in clone()
DUtil.java46 ret.genre = ""; in empty_data()
62 temp.genre = bundle.getString(MediaMetadata.METADATA_KEY_GENRE, ""); in bundleToMetadata()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeTvProvider.java1955 String genre = uri.getQueryParameter(TvContractCompat.PARAM_CANONICAL_GENRE); in createSqlParams() local
1956 if (genre == null) { in createSqlParams()
1963 if (!Genres.isCanonical(genre)) { in createSqlParams()
1964 throw new IllegalArgumentException("Not a canonical genre : " + genre); in createSqlParams()
1976 "%" + genre + "%", in createSqlParams()
2097 for (String genre : genres) { in checkAndConvertGenre()
2098 if (!Genres.isCanonical(genre)) { in checkAndConvertGenre()
2113 for (String genre : genres) { in checkAndConvertGenre()
2114 String canonicalGenre = sGenreMap.get(genre.toUpperCase()); in checkAndConvertGenre()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1743 String genre = uri.getQueryParameter(TvContract.PARAM_CANONICAL_GENRE); in createSqlParams() local
1744 if (genre == null) { in createSqlParams()
1751 if (!Genres.isCanonical(genre)) { in createSqlParams()
1752 throw new IllegalArgumentException("Not a canonical genre : " + genre); in createSqlParams()
1759 "%" + genre + "%", curTime, curTime); in createSqlParams()
1888 for (String genre : genres) { in checkAndConvertGenre()
1889 if (!Genres.isCanonical(genre)) { in checkAndConvertGenre()
1904 for (String genre : genres) { in checkAndConvertGenre()
1905 String canonicalGenre = sGenreMap.get(genre.toUpperCase()); in checkAndConvertGenre()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java554 for (String genre : currentProgram.getCanonicalGenres()) { in buildGenreFilters()
555 mGenreChannelList.get(GenreItems.getId(genre)).add(channel); in buildGenreFilters()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java589 for (String genre : genres) { in getGenreAdapters()
590 int genreId = GenreItems.getId(genre); in getGenreAdapters()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2830 private void updateGenre(long rowId, String genre, String volumeName) { in updateGenre() argument
2837 new String[] { genre }, null); in updateGenre()
2841 values.put(MediaStore.Audio.Genres.NAME, genre); in updateGenre()
2948 String genre = null; in insertInternal() local
2965 genre = initialValues.getAsString(Audio.AudioColumns.GENRE); in insertInternal()
3083 if (genre != null) { in insertInternal()
3084 updateGenre(rowId, genre, resolvedVolumeName); in insertInternal()
4535 String genre = null; in updateInternal() local
4603 genre = initialValues.getAsString(Audio.AudioColumns.GENRE); in updateInternal()
4939 if (genre != null) { in updateInternal()
[all …]
/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
Den_wordlist.combined.gz
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dnl_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...