Home
last modified time | relevance | path

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

12

/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/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItemTest.java73 String genre = "Viking Metal"; in buildAvrcpItem() local
91 builder.setGenre(genre); in buildAvrcpItem()
120 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributes() local
141 genre, in buildAvrcpItemFromAvrcpAttributes()
172 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() local
197 genre, in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored()
247 String genre = "Viking Metal"; in avrcpMediaItem_toMediaMetadata() local
265 builder.setGenre(genre); in avrcpMediaItem_toMediaMetadata()
283 Assert.assertEquals(genre, metadata.getString(MediaMetadataCompat.METADATA_KEY_GENRE)); in avrcpMediaItem_toMediaMetadata()
304 String genre = "Viking Metal"; in avrcpFolderItem_toMediaMetadata() local
[all …]
/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.java83 public static void start(@NonNull Context context, @NonNull Genre genre) { in start() argument
86 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/fakes/
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/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItem.java501 public Builder setGenre(String genre) { in setGenre() argument
502 mAvrcpItem.mGenre = genre; in setGenre()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1780 String genre = uri.getQueryParameter(TvContract.PARAM_CANONICAL_GENRE); in createSqlParams() local
1781 if (genre == null) { in createSqlParams()
1788 if (!Genres.isCanonical(genre)) { in createSqlParams()
1789 throw new IllegalArgumentException("Not a canonical genre : " + genre); in createSqlParams()
1796 "%" + genre + "%", curTime, curTime); in createSqlParams()
1925 for (String genre : genres) { in checkAndConvertGenre()
1926 if (!Genres.isCanonical(genre)) { in checkAndConvertGenre()
1941 for (String genre : genres) { in checkAndConvertGenre()
1942 String canonicalGenre = sGenreMap.get(genre.toUpperCase()); in checkAndConvertGenre()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java543 for (String genre : currentProgram.getCanonicalGenres()) { in buildGenreFilters()
544 mGenreChannelList.get(GenreItems.getId(genre)).add(channel); in buildGenreFilters()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java590 for (String genre : genres) { in getGenreAdapters()
591 int genreId = GenreItems.getId(genre); in getGenreAdapters()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2831 private void updateGenre(long rowId, String genre, String volumeName) { in updateGenre() argument
2838 new String[] { genre }, null); in updateGenre()
2842 values.put(MediaStore.Audio.Genres.NAME, genre); in updateGenre()
2949 String genre = null; in insertInternal() local
2966 genre = initialValues.getAsString(Audio.AudioColumns.GENRE); in insertInternal()
3084 if (genre != null) { in insertInternal()
3085 updateGenre(rowId, genre, resolvedVolumeName); in insertInternal()
4551 String genre = null; in updateInternal() local
4619 genre = initialValues.getAsString(Audio.AudioColumns.GENRE); in updateInternal()
4955 if (genre != null) { in updateInternal()
[all …]
/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.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
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.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
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, ...

12