Home
last modified time | relevance | path

Searched refs:genreId (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TV/src/com/android/tv/guide/
DGenreListAdapter.java73 int genreId = filteredGenreIds.get(position); in onBindViewHolder() local
74 holder.onBind(genreId, mGenreLabels[genreId]); in onBindViewHolder()
107 public void onBind(int genreId, String genreLabel) { in onBind() argument
108 mGenreId = genreId; in onBind()
DProgramManager.java292 void resetChannelListWithGenre(int genreId) { in resetChannelListWithGenre() argument
293 if (genreId == mSelectedGenreId) { in resetChannelListWithGenre()
296 mFilteredChannels = mGenreChannelList.get(genreId); in resetChannelListWithGenre()
297 mSelectedGenreId = genreId; in resetChannelListWithGenre()
302 + GenreItems.getCanonicalGenre(genreId) in resetChannelListWithGenre()
785 boolean hasGenre(int genreId) { in hasGenre() argument
786 return !isGap() && program.hasGenre(genreId); in hasGenre()
DProgramGuide.java682 void requestGenreChange(int genreId) { in requestGenreChange() argument
683 if (mLastRequestedGenreId == genreId) { in requestGenreChange()
690 mLastRequestedGenreId = genreId; in requestGenreChange()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java590 int genreId = GenreItems.getId(genre); in getGenreAdapters() local
591 if (genreId >= mGenreAdapters.length) { in getGenreAdapters()
592 Log.d(TAG, "Wrong Genre ID: " + genreId); in getGenreAdapters()
594 result.add(mGenreAdapters[genreId]); in getGenreAdapters()
606 for (int genreId : genreIds) { in getGenreAdapters()
607 if (genreId >= mGenreAdapters.length) { in getGenreAdapters()
608 Log.d(TAG, "Wrong Genre ID: " + genreId); in getGenreAdapters()
610 result.add(mGenreAdapters[genreId]); in getGenreAdapters()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java795 int genreId = GenreItems.getId(canonicalGenre); in getCanonicalGenreIds() local
796 if (genreId == GenreItems.ID_ALL_CHANNELS) { in getCanonicalGenreIds()
800 results[i++] = genreId; in getCanonicalGenreIds()
/packages/apps/TV/src/com/android/tv/data/
DProgram.java399 public boolean hasGenre(int genreId) { in hasGenre() argument
400 if (genreId == GenreItems.ID_ALL_CHANNELS) { in hasGenre()
405 if (id == genreId) { in hasGenre()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java3143 Long genreId = Long.parseLong(uri.getPathSegments().get(3)); in insertInternal() local
3145 values.put(Audio.Genres.Members.GENRE_ID, genreId); in insertInternal()