Home
last modified time | relevance | path

Searched refs:BaseProgram (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/api/
DBaseProgram.java14 public interface BaseProgram { interface
21 Comparator<BaseProgram> EPISODE_COMPARATOR = new EpisodeComparator(false);
27 Comparator<BaseProgram> SEASON_REVERSED_EPISODE_COMPARATOR = new EpisodeComparator(true);
121 class EpisodeComparator implements Comparator<BaseProgram> {
129 public int compare(BaseProgram lhs, BaseProgram rhs) { in compare()
DProgram.java15 public interface Program extends BaseProgram, Comparable<Program> {
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DUtils.java48 private static class BaseProgram { class in Utils
52 BaseProgram(String pkgName) { in BaseProgram() method in Utils.BaseProgram
56 BaseProgram(long id, String pkgName) { in BaseProgram() method in Utils.BaseProgram
63 if (!(obj instanceof BaseProgram)) { in equals()
66 BaseProgram that = (BaseProgram) obj; in equals()
82 public static class Program extends BaseProgram {
102 public static class PreviewProgram extends BaseProgram {
122 public static class RecordedProgram extends BaseProgram {
151 public static class WatchedProgram extends BaseProgram {
171 public static class WatchNextProgram extends BaseProgram {
/packages/apps/TV/src/com/android/tv/util/
DTvProviderUtils.java30 import com.android.tv.data.api.BaseProgram;
45 public static final String EXTRA_PROGRAM_COLUMN_SERIES_ID = BaseProgram.COLUMN_SERIES_ID;
46 public static final String EXTRA_PROGRAM_COLUMN_STATE = BaseProgram.COLUMN_STATE;
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java47 import com.android.tv.data.api.BaseProgram;
80 private SortedArrayAdapter<BaseProgram> mRelatedRecordingsRowAdapter;
545 private class RelatedRecordingsAdapter extends SortedArrayAdapter<BaseProgram> {
547 super(new SinglePresenterSelector(presenter), BaseProgram.EPISODE_COMPARATOR); in RelatedRecordingsAdapter()
551 public long getId(BaseProgram item) { in getId()
/packages/apps/TV/src/com/android/tv/data/
DBaseProgramImpl.java24 import com.android.tv.data.api.BaseProgram;
27 public abstract class BaseProgramImpl implements BaseProgram {
DProgramImpl.java39 import com.android.tv.data.api.BaseProgram;
924 setSeriesId(BaseProgram.generateSeriesId(mProgram.mPackageName, mProgram.mTitle)); in build()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DSeriesRecordingDetailsFragment.java38 import com.android.tv.data.api.BaseProgram;
321 BaseProgram.numberCompare(
346 selector, BaseProgram.EPISODE_COMPARATOR::compare, seasonNumber));
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java42 import com.android.tv.data.api.BaseProgram;
319 setSeriesId(BaseProgram.generateSeriesId(getPackageName(), getTitle())); in build()
DSeriesRecording.java27 import com.android.tv.data.api.BaseProgram;
94 public static Builder builder(String inputId, BaseProgram p) { in builder()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java48 import com.android.tv.data.api.BaseProgram;
690 Context context, BaseProgram program, int episodeNumberStyleResId) { in getStyledTitleWithEpisodeNumber()