Searched refs:genre (Results 1 – 25 of 28) sorted by relevance
12
37 public String genre; field in Metadata60 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()
102 public final String genre; field in ProgramInfo133 String genre, in ProgramInfo() argument143 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() argument313 mGenre = genre; in setGenre()
100 values.put(Programs.COLUMN_CANONICAL_GENRE, programAt.genre); in populatePrograms()
70 String genre = "Viking Metal"; in buildAvrcpItem() local87 builder.setGenre(genre); in buildAvrcpItem()116 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributes() local134 title, artist, album, trackNumber, totalTracks, genre, playingTime, artHandle in buildAvrcpItemFromAvrcpAttributes()163 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() local190 genre, in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored()225 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() local243 title, artist, album, trackNumber, totalTracks, genre, playingTime, artHandle in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort()272 String genre = "Viking Metal"; in buildAvrcpItemFromAvrcpAttributes_imageHandleEmpty() local290 title, artist, album, trackNumber, totalTracks, genre, playingTime, artHandle in buildAvrcpItemFromAvrcpAttributes_imageHandleEmpty()[all …]
229 String genre, in makeTrack() argument245 builder.setGenre(genre); in makeTrack()
108 Genre genre = mGenres.get(position - 1); in onBindViewHolder() local109 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() argument155 textView.setText(genre.getName()); in bind()158 GenreDetailsActivity.start(view.getContext(), genre)); in bind() local
49 public static void start(@NonNull Context context, @NonNull Genre genre) { in start() argument52 intent.putExtra("id", genre.getId()); // TODO Add constant key in start()109 Genre genre = mMediaDb.getGenres().get(i); in onItemsUpdated() local110 if (genre.equals(mGenre)) { in onItemsUpdated()163 private GenreAdapter(@NonNull MediaDb mediaDb, @NonNull Genre genre) { in GenreAdapter() argument166 mGenre = genre; in GenreAdapter()204 private void bind(@NonNull Genre genre, @NonNull Audio audio) { in bind() argument
83 public static void start(@NonNull Context context, @NonNull Genre genre) { in start() argument86 genre.getId()); in start()
301 public void loadData(@NonNull Genre genre) { in loadData() argument303 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() argument676 int index = mGenres.indexOf(genre); in updateGenre()
224 Genre genre = new Genre(id); in load() local225 genres.add(genre); in load()359 boolean loadData(@NonNull Genre genre) { in loadData() argument365 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() argument455 Uri contentUri = MediaStore.Audio.Genres.Members.getContentUri("external", genre.getId()); in loadAudios()466 updated |= genre.addAudio(audio); in loadAudios()
520 public Builder setGenre(String genre) { in setGenre() argument521 mAvrcpItem.mGenre = genre; in setGenre()
252 String genre, in assertMetadata() argument262 assertThat(metadata.genre).isEqualTo(genre); in assertMetadata()1167 assertThat(metadata.genre).isEqualTo(metadata2.genre); in testClone()
1955 String genre = uri.getQueryParameter(TvContractCompat.PARAM_CANONICAL_GENRE); in createSqlParams() local1956 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()
1926 String genre = uri.getQueryParameter(TvContract.PARAM_CANONICAL_GENRE); in createSqlParams() local1927 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()
543 for (String genre : currentProgram.getCanonicalGenres()) { in buildGenreFilters()544 mGenreChannelList.get(GenreItems.getId(genre)).add(channel); in buildGenreFilters()
590 for (String genre : genres) { in getGenreAdapters()591 int genreId = GenreItems.getId(genre); in getGenreAdapters()
149 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";
1478 final String genre = "TestGenre" + System.nanoTime(); in testQueryAudioViewsNoItemWithColumn() local1485 values.put(MediaStore.Audio.Media.GENRE, genre); in testQueryAudioViewsNoItemWithColumn()
1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...