Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DMetadata.java37 public String genre; field in Metadata
60 data.genre = genre; in clone()
77 if (!Objects.equals(genre, m.genre)) return false; in equals()
91 return Objects.hash(mediaId, title, artist, album, trackNum, numTracks, genre, duration); in hashCode()
141 if (empty.genre.equals(genre)) { in replaceDefaults()
142 genre = filledMetadata.genre; in replaceDefaults()
196 mMetadata.genre = data.getString(MediaMetadata.METADATA_KEY_GENRE); in fromMediaMetadata()
276 mMetadata.genre = bundle.getString(MediaMetadata.METADATA_KEY_GENRE); in fromBundle()
308 if (mMetadata.genre == null) mMetadata.genre = EMPTY_GENRE; in useDefaults()
/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItemTest.java70 String genre = "Viking Metal"; in buildAvrcpItem() local
87 builder.setGenre(genre); in buildAvrcpItem()
116 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributes() local
134 title, artist, album, trackNumber, totalTracks, genre, playingTime, artHandle in buildAvrcpItemFromAvrcpAttributes()
163 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() local
190 genre, in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored()
225 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() local
243 title, artist, album, trackNumber, totalTracks, genre, playingTime, artHandle in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort()
272 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributes_imageHandleEmpty() local
290 title, artist, album, trackNumber, totalTracks, genre, playingTime, artHandle in buildAvrcpItemFromAvrcpAttributes_imageHandleEmpty()
[all …]
DAvrcpControllerStateMachineTest.java229 String genre, in makeTrack() argument
245 builder.setGenre(genre); in makeTrack()
/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.java224 Genre genre = new Genre(id); in load() local
225 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/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItem.java520 public Builder setGenre(String genre) { in setGenre() argument
521 mAvrcpItem.mGenre = genre; in setGenre()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMetadataTest.java252 String genre, in assertMetadata() argument
262 assertThat(metadata.genre).isEqualTo(genre); in assertMetadata()
1167 assertThat(metadata.genre).isEqualTo(metadata2.genre); in testClone()
/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/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1926 String genre = uri.getQueryParameter(TvContract.PARAM_CANONICAL_GENRE); in createSqlParams() local
1927 if (genre == null) { in createSqlParams()
1934 if (!Genres.isCanonical(genre)) { in createSqlParams()
1935 throw new IllegalArgumentException("Not a canonical genre : " + genre); in createSqlParams()
1942 "%" + genre + "%", curTime, curTime); in createSqlParams()
2071 for (String genre : genres) { in checkAndConvertGenre()
2072 if (!Genres.isCanonical(genre)) { in checkAndConvertGenre()
2087 for (String genre : genres) { in checkAndConvertGenre()
2088 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/apex/framework/api/
Dcurrent.txt149 field public static final String EXTRA_MEDIA_GENRE = "android.intent.extra.genre";
250 field public static final String GENRE = "genre";
270 field public static final String CONTENT_TYPE = "vnd.android.cursor.dir/genre";
272 field public static final String ENTRY_CONTENT_TYPE = "vnd.android.cursor.item/genre";
450 field public static final String GENRE = "genre";
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java1478 final String genre = "TestGenre" + System.nanoTime(); in testQueryAudioViewsNoItemWithColumn() local
1485 values.put(MediaStore.Audio.Media.GENRE, genre); in testQueryAudioViewsNoItemWithColumn()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dsv_wordlist.combined.gz
Dnb_wordlist.combined.gz

12