Home
last modified time | relevance | path

Searched refs:series (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaDb.java119 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() argument
352 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 …]
DSeries.java102 List<Episode> series = mSeasons.get(seriesLocation); in addEpisode() local
103 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() local
115 series.add(episode); in addEpisode()
116 mSeasons.add(~seriesLocation, series); in addEpisode()
DVideoStore.java58 void onSeriesAdded(@NonNull Collection<Series> series); in onSeriesAdded() argument
85 Collection<Series> series = new ArrayList<>(); in load() local
164 for (Series s : series) { in load()
178 series.add(serie); in load()
198 mChangeListener.onSeriesAdded(series); in load()
211 boolean loadData(@NonNull Series series) { in loadData() argument
DEpisode.java37 Episode(long id, @NonNull String mimeType, @NonNull Series series, in Episode() argument
41 mSeries = series; in Episode()
DDataProvider.java28 boolean populateSeries(@NonNull Series series) throws IOException; in populateSeries() argument
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java295 private void addRecordedProgramToSeriesRecording(SeriesRecording series) { in addRecordedProgramToSeriesRecording() argument
298 if (series.getSeriesId().equals(recordedProgram.getSeriesId()) in addRecordedProgramToSeriesRecording()
305 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording()
306 .setSeriesRecordingId(series.getId()) in addRecordedProgramToSeriesRecording()
321 SeriesRecording series, List<Program> programsToSchedule) { in addScheduleToSeriesRecording() argument
325 TvInputInfo input = Utils.getTvInputInfoForInputId(mAppContext, series.getInputId()); in addScheduleToSeriesRecording()
327 Log.e(TAG, "Can't find input with ID: " + series.getInputId()); in addScheduleToSeriesRecording()
339 .setSeriesRecordingId(series.getId()) in addScheduleToSeriesRecording()
348 .setPriority(series.getPriority()) in addScheduleToSeriesRecording()
349 .setSeriesRecordingId(series.getId()) in addScheduleToSeriesRecording()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DOmdbApi.java81 public boolean populateSeries(@NonNull Series series) throws IOException { in populateSeries() argument
84 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() argument
116 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() local
126 Uri.Builder ub = getContentUri(series.getTitle()); in getContentUri()
127 if (series.hasYear()) { in getContentUri()
[all …]
DKnowledgeGraph.java112 public boolean populateSeries(@NonNull Series series) throws IOException { in populateSeries() argument
114 JSONObject result = getResultFromKG(series.getTitle(), "TVSeries"); in populateSeries()
118 updated |= series.setPosterUri(Uri.parse(imageUrl)); in populateSeries()
122 updated |= series.setDescription(detailedDescription); in populateSeries()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DSeriesFragment.java112 Series series = mSeries.get(position - 1); in onBindViewHolder() local
113 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() argument
158 imageView.setImageURI(series.getPosterUri()); in bind()
159 textView.setText(series.getTitle()); in bind()
162 SeriesDetailsActivity.start(view.getContext(), series)); in bind() local
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DSeriesDetailsActivity.java54 public static void start(@NonNull Context context, @NonNull Series series) { in start() argument
57 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() local
118 if (series.equals(mSeries)) { in onItemsUpdated()
232 private SeriesAdapter(@NonNull MediaDb mediaDb, @NonNull Series series) { in SeriesAdapter() argument
235 mSeries = series; in SeriesAdapter()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DSeriesRecordingDetailsFragment.java245 for (SeriesRecording series : seriesRecordings) {
246 if (mSeries.getId() == series.getId()) {
247 mSeries = series;
254 for (SeriesRecording series : seriesRecordings) {
255 if (series.getId() == mSeries.getId()) {
DSeriesRecordingPresenter.java204 public void onBindDvrItemViewHolder(DvrItemViewHolder baseHolder, SeriesRecording series) { in onBindDvrItemViewHolder() argument
207 viewHolder.onBound(series); in onBindDvrItemViewHolder()
208 DetailsContent details = DetailsContent.createFromSeriesRecording(mContext, series); in onBindDvrItemViewHolder()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrPrioritySettingsFragment.java71 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()
DDvrSeriesDeletionFragment.java97 SeriesRecording series = mDvrDataManager.getSeriesRecording(mSeriesRecordingId); in onCreateGuidance() local
98 if (series != null) { in onCreateGuidance()
99 breadcrumb = series.getTitle(); in onCreateGuidance()
DDvrUiHelper.java463 SeriesRecording series = in startSeriesSettingsActivity() local
467 if (series == null) { in startSeriesSettingsActivity()
481 new EpisodicProgramLoadTask(context, series) { in startSeriesSettingsActivity()
DDvrSeriesSettingsFragment.java369 for (SeriesRecording series : seriesRecordings) { in onSeriesRecordingRemoved()
370 if (series.getId() == mSeriesRecording.getId()) { in onSeriesRecordingRemoved()
/packages/apps/TV/partner_support/g3doc/
DSeriesIdColumnForPartners.md1 # 3rd party instructions for using series recording feature of Live Channels
10 To enable series recording with Nougat you will need the following changes.
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSchedulesHeaderRow.java89 SeriesRecording series, in SeriesRecordingHeaderRow() argument
92 mSeriesRecording = series; in SeriesRecordingHeaderRow()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java663 public static SeriesRecording[] toArray(Collection<SeriesRecording> series) { in toArray() argument
664 return series.toArray(new SeriesRecording[series.size()]); in toArray()
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile1138 # config file, i.e. a series of assignments. You only have to provide
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile1138 # config file, i.e. a series of assignments. You only have to provide
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in1783 # file, i.e. a series of assignments. You only have to provide replacements,
/packages/inputmethods/LatinIME/dictionaries/
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_US_wordlist.combined.gz

12