Home
last modified time | relevance | path

Searched refs:GenreItems (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java25 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()
DGenreListAdapter.java28 import com.android.tv.data.GenreItems;
48 mGenreLabels = GenreItems.getLabels(mContext); in GenreListAdapter()
DProgramGuide.java55 import com.android.tv.data.GenreItems;
147 private int mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS;
541 mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS; in show()
/packages/apps/TV/src/com/android/tv/data/
DGenreItems.java23 public class GenreItems { class
48 private GenreItems() {} in GenreItems() method in GenreItems
DProgram.java387 genres[i] = GenreItems.getCanonicalGenre(mCanonicalGenreIds[i]); in getCanonicalGenres()
400 if (genreId == GenreItems.ID_ALL_CHANNELS) { in hasGenre()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java36 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()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java47 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()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java40 import com.android.tv.data.GenreItems;
380 genreIds[i] = GenreItems.getId(canonicalGenres.get(i)); in getCanonicalGenreIds()