Searched refs:series (Results 1 – 25 of 37) sorted by relevance
12
119 public void onSeriesAdded(@NonNull Collection<Series> series) { in MediaDb()120 Executors.uiThreadExecutor().execute(() -> addSeries(series)); in MediaDb()350 public void loadData(@NonNull Series series) { in loadData() argument352 if (series.isLoaded()) return; in loadData()356 boolean updated = mDataProvider.populateSeries(series); in loadData()358 updated |= mVideoStore.loadData(series); in loadData()360 series.setLoaded(); in loadData()362 Executors.uiThreadExecutor().execute(() -> updateSeries(series)); in loadData()365 Clog.e(TAG, "Search for " + series + " failed", e); in loadData()468 for (Series series : mSeries) { in getSeriesById()[all …]
102 List<Episode> series = mSeasons.get(seriesLocation); in addEpisode() local103 int episodeLocation = binarySearch(series, episode.getEpisode(), Episode::getEpisode); in addEpisode()105 if (episode.equals(series.get(episodeLocation))) { in addEpisode()111 series.add(~episodeLocation, episode); in addEpisode()114 List<Episode> series = new ArrayList<>(); in addEpisode() local115 series.add(episode); in addEpisode()116 mSeasons.add(~seriesLocation, series); in addEpisode()
59 void onSeriesAdded(@NonNull Collection<Series> series); in onSeriesAdded() argument86 Collection<Series> series = new ArrayList<>(); in load() local165 for (Series s : series) { in load()179 series.add(serie); in load()199 mChangeListener.onSeriesAdded(series); in load()212 boolean loadData(@NonNull Series series) { in loadData() argument
37 Episode(long id, @NonNull String mimeType, @NonNull Series series, in Episode() argument41 mSeries = series; in Episode()
28 boolean populateSeries(@NonNull Series series) throws IOException; in populateSeries() argument
81 public boolean populateSeries(@NonNull Series series) throws IOException { in populateSeries() argument84 JSONObject root = (JSONObject) getContent(getContentUri(series)); in populateSeries()85 updated |= series.setPosterUri(getPosterUri(root.getString("imdbID"))); in populateSeries()115 private static @NonNull Uri getContentUri(@NonNull Series series) { in getContentUri() argument116 Uri.Builder ub = getContentUri(series.getTitle()); in getContentUri()117 if (series.hasYear()) { in getContentUri()118 ub.appendQueryParameter("y", Integer.toString(series.getYear())); in getContentUri()125 Series series = episode.getSeries(); in getContentUri() local126 Uri.Builder ub = getContentUri(series.getTitle()); in getContentUri()127 if (series.hasYear()) { in getContentUri()[all …]
112 public boolean populateSeries(@NonNull Series series) throws IOException { in populateSeries() argument114 JSONObject result = getResultFromKG(series.getTitle(), "TVSeries"); in populateSeries()118 updated |= series.setPosterUri(Uri.parse(imageUrl)); in populateSeries()122 updated |= series.setDescription(detailedDescription); in populateSeries()
316 private void addRecordedProgramToSeriesRecording(SeriesRecording series) { in addRecordedProgramToSeriesRecording() argument319 if (series.getSeriesId().equals(recordedProgram.getSeriesId()) in addRecordedProgramToSeriesRecording()326 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording()327 .setSeriesRecordingId(series.getId()) in addRecordedProgramToSeriesRecording()342 SeriesRecording series, List<Program> programsToSchedule) { in addScheduleToSeriesRecording() argument346 TvInputInfo input = Utils.getTvInputInfoForInputId(mAppContext, series.getInputId()); in addScheduleToSeriesRecording()348 Log.e(TAG, "Can't find input with ID: " + series.getInputId()); in addScheduleToSeriesRecording()360 .setSeriesRecordingId(series.getId()) in addScheduleToSeriesRecording()369 .setPriority(series.getPriority()) in addScheduleToSeriesRecording()370 .setSeriesRecordingId(series.getId()) in addScheduleToSeriesRecording()[all …]
112 Series series = mSeries.get(position - 1); in onBindViewHolder() local113 mMediaDb.loadData(series); // TODO Where should we call this? In bind()? in onBindViewHolder()114 ((SeriesViewHolder) holder).bind(series); in onBindViewHolder()130 return position == 0 ? R.layout.header : R.layout.series; in getItemViewType()154 private void bind(@NonNull Series series) { in bind() argument158 imageView.setImageURI(series.getPosterUri()); in bind()159 textView.setText(series.getTitle()); in bind()162 SeriesDetailsActivity.start(view.getContext(), series)); in bind() local
54 public static void start(@NonNull Context context, @NonNull Series series) { in start() argument57 intent.putExtra("title", series.getTitle()); // TODO Add constant key in start()58 if (series.hasYear()) { in start()59 intent.putExtra("year", series.getYear()); // TODO Add constant key in start()117 Series series = mMediaDb.getSeries().get(i); in onItemsUpdated() local118 if (series.equals(mSeries)) { in onItemsUpdated()232 private SeriesAdapter(@NonNull MediaDb mediaDb, @NonNull Series series) { in SeriesAdapter() argument235 mSeries = series; in SeriesAdapter()
245 for (SeriesRecording series : seriesRecordings) {246 if (mSeries.getId() == series.getId()) {247 mSeries = series;254 for (SeriesRecording series : seriesRecordings) {255 if (series.getId() == mSeries.getId()) {
204 public void onBindDvrItemViewHolder(DvrItemViewHolder baseHolder, SeriesRecording series) { in onBindDvrItemViewHolder() argument207 viewHolder.onBound(series); in onBindDvrItemViewHolder()208 DetailsContent details = DetailsContent.createFromSeriesRecording(mContext, series); in onBindDvrItemViewHolder()
71 for (SeriesRecording series : dvrDataManager.getSeriesRecordings()) { in onAttach()72 if (series.getState() == SeriesRecording.STATE_SERIES_NORMAL in onAttach()73 || series.getId() == comeFromSeriesRecordingId) { in onAttach()74 mSeriesRecordings.add(series); in onAttach()
97 SeriesRecording series = mDvrDataManager.getSeriesRecording(mSeriesRecordingId); in onCreateGuidance() local98 if (series != null) { in onCreateGuidance()99 breadcrumb = series.getTitle(); in onCreateGuidance()
373 for (SeriesRecording series : seriesRecordings) { in onSeriesRecordingRemoved()374 if (series.getId() == mSeriesRecording.getId()) { in onSeriesRecordingRemoved()
469 SeriesRecording series = in startSeriesSettingsActivity() local473 if (series == null) { in startSeriesSettingsActivity()487 new EpisodicProgramLoadTask(context, series) { in startSeriesSettingsActivity()
90 SeriesRecording series, in SeriesRecordingHeaderRow() argument93 mSeriesRecording = series; in SeriesRecordingHeaderRow()
667 public static SeriesRecording[] toArray(Collection<SeriesRecording> series) { in toArray() argument668 return series.toArray(new SeriesRecording[series.size()]); in toArray()
136 <payload>: A series of lines of the following format:228 <content>: a series of ASCII lines of the following format:
1138 # config file, i.e. a series of assignments. You only have to provide
1783 # file, i.e. a series of assignments. You only have to provide replacements,
... ,flags=,originalFreq=163 124 word=series,f=163,flags=,originalFreq= ...