Searched refs:genreId (Results 1 – 10 of 10) sorted by relevance
73 int genreId = filteredGenreIds.get(position); in onBindViewHolder() local74 holder.onBind(genreId, mGenreLabels[genreId]); in onBindViewHolder()107 public void onBind(int genreId, String genreLabel) { in onBind() argument108 mGenreId = genreId; in onBind()
282 void resetChannelListWithGenre(int genreId) { in resetChannelListWithGenre() argument283 if (genreId == mSelectedGenreId) { in resetChannelListWithGenre()286 mFilteredChannels = mGenreChannelList.get(genreId); in resetChannelListWithGenre()287 mSelectedGenreId = genreId; in resetChannelListWithGenre()292 + GenreItems.getCanonicalGenre(genreId) in resetChannelListWithGenre()774 boolean hasGenre(int genreId) { in hasGenre() argument775 return !isGap() && program.hasGenre(genreId); in hasGenre()
687 void requestGenreChange(int genreId) { in requestGenreChange() argument688 if (mLastRequestedGenreId == genreId) { in requestGenreChange()695 mLastRequestedGenreId = genreId; in requestGenreChange()
591 int genreId = GenreItems.getId(genre); in getGenreAdapters() local592 if (genreId >= mGenreAdapters.length) { in getGenreAdapters()593 Log.d(TAG, "Wrong Genre ID: " + genreId); in getGenreAdapters()595 result.add(mGenreAdapters[genreId]); in getGenreAdapters()607 for (int genreId : genreIds) { in getGenreAdapters()608 if (genreId >= mGenreAdapters.length) { in getGenreAdapters()609 Log.d(TAG, "Wrong Genre ID: " + genreId); in getGenreAdapters()611 result.add(mGenreAdapters[genreId]); in getGenreAdapters()
271 private static void assertHasGenre(Program program, int genreId, boolean expected) { in assertHasGenre() argument272 assertWithMessage("hasGenre(" + genreId + ")") in assertHasGenre()273 .that(program.hasGenre(genreId)) in assertHasGenre()
118 private Program buildProgramForTesting(long id, long channelId, int genreId) { in buildProgramForTesting() argument122 .setCanonicalGenres(GenreItems.getCanonicalGenre(genreId)) in buildProgramForTesting()
771 int genreId = GenreItems.getId(canonicalGenre); in getCanonicalGenreIds() local772 if (genreId == GenreItems.ID_ALL_CHANNELS) { in getCanonicalGenreIds()776 results[i++] = genreId; in getCanonicalGenreIds()
406 public boolean hasGenre(int genreId) { in hasGenre() argument407 if (genreId == GenreItems.ID_ALL_CHANNELS) { in hasGenre()412 if (id == genreId) { in hasGenre()
69 boolean hasGenre(int genreId); in hasGenre() argument
3144 Long genreId = Long.parseLong(uri.getPathSegments().get(3)); in insertInternal() local3146 values.put(Audio.Genres.Members.GENRE_ID, genreId); in insertInternal()