Home
last modified time | relevance | path

Searched refs:movie (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java86 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); in startMuteUsingMp4Parser() local
89 List<Track> tracks = movie.getTracks(); in startMuteUsingMp4Parser()
90 movie.setTracks(new LinkedList<Track>()); in startMuteUsingMp4Parser()
94 movie.addTrack(track); in startMuteUsingMp4Parser()
97 writeMovieIntoFile(dst, movie); in startMuteUsingMp4Parser()
101 private static void writeMovieIntoFile(File dst, Movie movie) in writeMovieIntoFile() argument
107 IsoFile out = new DefaultMp4Builder().build(movie); in writeMovieIntoFile()
233 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); in trimUsingMp4Parser() local
236 List<Track> tracks = movie.getTracks(); in trimUsingMp4Parser()
237 movie.setTracks(new LinkedList<Track>()); in trimUsingMp4Parser()
[all …]
DMovieActivity.java175 getMenuInflater().inflate(R.menu.movie, menu); in onCreateOptionsMenu()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DMovieFragment.java113 Movie movie = mMovies.get(position - 1); in onBindViewHolder() local
114 mMediaDb.loadData(movie); // TODO Where should we call this? In bind()? in onBindViewHolder()
115 ((MovieViewHolder) holder).bind(movie); in onBindViewHolder()
131 return position == 0 ? R.layout.header : R.layout.movie; in getItemViewType()
155 private void bind(@NonNull Movie movie) { in bind() argument
159 Uri posterUri = movie.getPosterUri(); in bind()
161 posterUri = movie.getThumbnailUri(); in bind()
164 textView.setText(movie.getTitle()); in bind()
167 MovieDetailsActivity.start(view.getContext(), movie)); in bind() local
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DOmdbApi.java67 public boolean populateMovie(@NonNull Movie movie) throws IOException { in populateMovie() argument
70 JSONObject root = (JSONObject) getContent(getContentUri(movie)); in populateMovie()
71 updated |= movie.setPosterUri(getPosterUri(root.getString("imdbID"))); in populateMovie()
72 updated |= movie.setSynopsis(root.getString("Plot")); in populateMovie()
106 private static @NonNull Uri getContentUri(@NonNull Movie movie) { in getContentUri() argument
107 Uri.Builder ub = getContentUri(movie.getTitle()); in getContentUri()
108 if (movie.hasYear()) { in getContentUri()
109 ub.appendQueryParameter("y", Integer.toString(movie.getYear())); in getContentUri()
DKnowledgeGraph.java96 public boolean populateMovie(@NonNull Movie movie) throws IOException { in populateMovie() argument
98 JSONObject result = getResultFromKG(movie.getTitle(), "Movie"); in populateMovie()
102 updated |= movie.setPosterUri(Uri.parse(imageUrl)); in populateMovie()
106 updated |= movie.setDescription(detailedDescription); in populateMovie()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaDb.java330 public void loadData(@NonNull Movie movie) { in loadData() argument
332 if (movie.isLoaded()) return; in loadData()
336 boolean updated = mDataProvider.populateMovie(movie); in loadData()
338 updated |= mVideoStore.loadData(movie); in loadData()
340 movie.setLoaded(); in loadData()
342 Executors.uiThreadExecutor().execute(() -> updateMovie(movie)); in loadData()
345 Clog.e(TAG, "Search for " + movie + " failed", e); in loadData()
458 for (Movie movie : mMovies) { in getMovieById()
459 if (movie.getId() == id) { in getMovieById()
460 return movie; in getMovieById()
[all …]
DVideoStore.java156 Movie movie; in load() local
158 movie = new Movie(id, mimeType, query.getName(), query.getYear()); in load()
160 movie = new Movie(id, mimeType, query.getName()); in load()
162 movies.add(movie); in load()
204 boolean loadData(@NonNull Movie movie) { in loadData() argument
205 Uri thumbnailUri = getThumbnailUri(movie.getId()); in loadData()
207 return movie.setThumbnailUri(thumbnailUri); in loadData()
DDataProvider.java27 boolean populateMovie(@NonNull Movie movie) throws IOException; in populateMovie() argument
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DMovieDetailsActivity.java42 public static void start(@NonNull Context context, @NonNull Movie movie) { in start() argument
45 intent.putExtra("id", movie.getId()); // TODO Add constant key in start()
102 Movie movie = mMediaDb.getMovies().get(i); in onItemsUpdated() local
103 if (movie.equals(mMovie)) { in onItemsUpdated()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/ui/
DCustomRecycledViewPool.java36 setMaxRecycledViews(R.layout.movie, MAX_VIEWS); in CustomRecycledViewPool()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dfi_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dsv_wordlist.combined.gz
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dhr_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...