Home
last modified time | relevance | path

Searched refs:seasonNumber (Results 1 – 12 of 12) 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()
DScheduledRecording.java204 public Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber() argument
205 mSeasonNumber = seasonNumber; in setSeasonNumber()
537 String seasonNumber, in ScheduledRecording() argument
557 mSeasonNumber = seasonNumber; in ScheduledRecording()
DSeriesRecording.java683 String seasonNumber = program.getSeasonNumber(); in matchProgram() local
694 if (mStartFromSeason == SeriesRecordings.THE_BEGINNING || TextUtils.isEmpty(seasonNumber)) { in matchProgram()
699 intSeasonNumber = Integer.valueOf(seasonNumber); in matchProgram()
DRecordedProgram.java223 public abstract Builder setSeasonNumber(String seasonNumber); in setSeasonNumber() argument
/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.java271 private Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber() argument
272 mSeasonNumber = seasonNumber; in setSeasonNumber()
/packages/apps/TV/src/com/android/tv/data/
DBaseProgram.java107 String seasonNumber = getSeasonNumber(); in getEpisodeDisplayTitle() local
108 if (TextUtils.isEmpty(seasonNumber) || TextUtils.equals(seasonNumber, "0")) { in getEpisodeDisplayTitle()
119 seasonNumber, in getEpisodeDisplayTitle()
136 String seasonNumber = getSeasonNumber(); in getEpisodeContentDescription() local
137 if (TextUtils.isEmpty(seasonNumber) || TextUtils.equals(seasonNumber, "0")) { in getEpisodeContentDescription()
148 seasonNumber, in getEpisodeContentDescription()
DProgram.java729 public Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber() argument
730 mProgram.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/src/com/android/tv/dvr/
DDvrManager.java786 String title, String seasonNumber, String episodeNumber) { in getScheduledRecording() argument
789 || seasonNumber == null in getScheduledRecording()
795 && seasonNumber.equals(r.getSeasonNumber()) in getScheduledRecording()
805 String title, String seasonNumber, String episodeNumber) { in getRecordedProgram() argument
808 || seasonNumber == null in getRecordedProgram()
814 && seasonNumber.equals(r.getSeasonNumber()) in getRecordedProgram()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java677 String seasonNumber, in getStyledTitleWithEpisodeNumber() argument
684 if (TextUtils.isEmpty(seasonNumber) || seasonNumber.equals("0")) { in getStyledTitleWithEpisodeNumber()
699 seasonNumber, in getStyledTitleWithEpisodeNumber()