Home
last modified time | relevance | path

Searched refs:seasonNumber (Results 1 – 13 of 13) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/data/
DSeasonEpisodeNumber.java25 public final String seasonNumber; field in SeasonEpisodeNumber
33 public SeasonEpisodeNumber(long seriesRecordingId, String seasonNumber, String episodeNumber) { in SeasonEpisodeNumber() argument
35 this.seasonNumber = seasonNumber; in SeasonEpisodeNumber()
45 || TextUtils.isEmpty(seasonNumber) in equals()
51 && Objects.equals(seasonNumber, that.seasonNumber) in equals()
57 return Objects.hash(seriesRecordingId, seasonNumber, episodeNumber); in hashCode()
66 + seasonNumber in toString()
DSeriesRecording.java687 String seasonNumber = program.getSeasonNumber(); in matchProgram() local
698 if (mStartFromSeason == SeriesRecordings.THE_BEGINNING || TextUtils.isEmpty(seasonNumber)) { in matchProgram()
703 intSeasonNumber = Integer.valueOf(seasonNumber); in matchProgram()
DScheduledRecording.java211 public Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber() argument
212 mSeasonNumber = seasonNumber; in setSeasonNumber()
651 String seasonNumber, in ScheduledRecording() argument
673 mSeasonNumber = seasonNumber; in ScheduledRecording()
DRecordedProgram.java224 public abstract Builder setSeasonNumber(String seasonNumber); in setSeasonNumber() argument
/packages/apps/TV/src/com/android/tv/data/
DBaseProgramImpl.java36 String seasonNumber = getSeasonNumber(); in getEpisodeDisplayTitle() local
37 if (TextUtils.isEmpty(seasonNumber) || TextUtils.equals(seasonNumber, "0")) { in getEpisodeDisplayTitle()
48 seasonNumber, in getEpisodeDisplayTitle()
62 String seasonNumber = getSeasonNumber(); in getEpisodeContentDescription() local
63 if (TextUtils.isEmpty(seasonNumber) || TextUtils.equals(seasonNumber, "0")) { in getEpisodeContentDescription()
74 seasonNumber, in getEpisodeContentDescription()
DProgramImpl.java736 public Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber() argument
737 mProgram.mSeasonNumber = seasonNumber; in setSeasonNumber()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DSeriesRecordingDetailsFragment.java309 private SeasonRowAdapter getOrCreateSeasonRowAdapter(String seasonNumber) {
310 ListRow row = getSeasonRow(seasonNumber, true);
314 private ListRow getSeasonRow(String seasonNumber, boolean createNewRow) {
315 seasonNumber = TextUtils.isEmpty(seasonNumber) ? "" : seasonNumber;
322 seasonNumber,
327 return createNewRow ? createNewSeasonRow(seasonNumber, i + 1) : null;
331 return createNewRow ? createNewSeasonRow(seasonNumber, rowsAdaptor.size()) : null;
334 private ListRow createNewSeasonRow(String seasonNumber, int position) {
336 seasonNumber.isEmpty()
338 : getString(R.string.dvr_detail_series_season_title, seasonNumber);
[all …]
DDetailsContent.java272 private Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber() argument
273 mSeasonNumber = seasonNumber; in setSeasonNumber()
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramInfo.java97 public final int seasonNumber; field in ProgramInfo
127 int seasonNumber, in ProgramInfo() argument
137 this.seasonNumber = seasonNumber; in ProgramInfo()
210 episode != null ? (index % SEASON_MAX + 1) : seasonNumber, in build()
243 return Objects.equals(seasonNumber, that.seasonNumber) in equals()
257 return Objects.hash(title, episode, seasonNumber, episodeNumber); in hashCode()
282 public Builder setSeasonNumber(int seasonNumber) { in setSeasonNumber() argument
283 mSeasonNumber = seasonNumber; in setSeasonNumber()
DProgramUtils.java91 if (programAt.seasonNumber != 0) { in populatePrograms()
92 values.put(Programs.COLUMN_SEASON_NUMBER, programAt.seasonNumber); in populatePrograms()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/
DDvrDbSyncTest.java157 String seasonNumber = BASE_SEASON_NUMBER + "1"; in testHandleUpdateProgram_changeSeason() local
161 .setSeasonNumber(seasonNumber) in testHandleUpdateProgram_changeSeason()
175 String seasonNumber = BASE_SEASON_NUMBER + "1"; in testHandleUpdateProgram_finished() local
179 .setSeasonNumber(seasonNumber) in testHandleUpdateProgram_finished()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java807 String title, String seasonNumber, String episodeNumber) { in getScheduledRecording() argument
810 || seasonNumber == null in getScheduledRecording()
816 && seasonNumber.equals(r.getSeasonNumber()) in getScheduledRecording()
826 String title, String seasonNumber, String episodeNumber) { in getRecordedProgram() argument
829 || seasonNumber == null in getRecordedProgram()
835 && seasonNumber.equals(r.getSeasonNumber()) in getRecordedProgram()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java703 String seasonNumber, in getStyledTitleWithEpisodeNumber() argument
710 if (TextUtils.isEmpty(seasonNumber) || seasonNumber.equals("0")) { in getStyledTitleWithEpisodeNumber()
727 seasonNumber, in getStyledTitleWithEpisodeNumber()