Searched refs:GenreItems (Results 1 – 8 of 8) sorted by relevance
25 import com.android.tv.data.GenreItems;76 private int mSelectedGenreId = GenreItems.ID_ALL_CHANNELS;302 + GenreItems.getCanonicalGenre(genreId) in resetChannelListWithGenre()454 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in updateChannels()467 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in setChannels()548 for (int i = 0; i < GenreItems.getGenreCount(); i++) { in buildGenreFilters()555 mGenreChannelList.get(GenreItems.getId(genre)).add(channel); in buildGenreFilters()559 mGenreChannelList.set(GenreItems.ID_ALL_CHANNELS, mChannels); in buildGenreFilters()562 for (int i = 1; i < GenreItems.getGenreCount(); i++) { in buildGenreFilters()567 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in buildGenreFilters()
28 import com.android.tv.data.GenreItems;48 mGenreLabels = GenreItems.getLabels(mContext); in GenreListAdapter()
55 import com.android.tv.data.GenreItems;147 private int mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS;541 mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS; in show()
23 public class GenreItems { class48 private GenreItems() {} in GenreItems() method in GenreItems
387 genres[i] = GenreItems.getCanonicalGenre(mCanonicalGenreIds[i]); in getCanonicalGenres()400 if (genreId == GenreItems.ID_ALL_CHANNELS) { in hasGenre()
36 import com.android.tv.data.GenreItems;77 new RecordedProgramAdapter[GenreItems.getGenreCount() + 1];81 private ListRow[] mGenreRows = new ListRow[GenreItems.getGenreCount() + 1];223 mGenreLabels = new ArrayList<>(Arrays.asList(GenreItems.getLabels(context))); in onCreate()590 int genreId = GenreItems.getId(genre); in getGenreAdapters()
47 import com.android.tv.data.GenreItems;795 int genreId = GenreItems.getId(canonicalGenre); in getCanonicalGenreIds()796 if (genreId == GenreItems.ID_ALL_CHANNELS) { in getCanonicalGenreIds()817 genres[i] = GenreItems.getCanonicalGenre(canonicalGenreIds[i]); in getCanonicalGenre()
40 import com.android.tv.data.GenreItems;380 genreIds[i] = GenreItems.getId(canonicalGenres.get(i)); in getCanonicalGenreIds()