HomeSort by relevance Sort by last modified time
    Searched full:movie (Results 1 - 25 of 335) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/leanbackjank/app/src/android/leanbackjank/app/data/
VideoProvider.java 19 import android.leanbackjank.app.model.Movie;
26 * Provides synthesized movie data.
29 private static HashMap<String, List<Movie>> sMovieList;
30 private static HashMap<String, Movie> sMovieListById;
32 public static Movie getMovieById(String mediaId) {
36 public static HashMap<String, List<Movie>> getMovieList() {
40 public static HashMap<String, List<Movie>> buildMedia(int nCategories) {
51 List<Movie> categoryList = new ArrayList<Movie>();
53 String description = "This is description of a movie."
56 Movie movie = buildMovieInfo(category_name, title, description, studio); local
57 sMovieListById.put(movie.getId(), movie); local
69 Movie movie = new Movie(); local
    [all...]
  /external/flatbuffers/tests/union_vector/
union_vector.fbs 19 table Movie {
23 root_type Movie;
  /frameworks/base/core/jni/android/graphics/
MovieImpl.cpp 7 #include "Movie.h"
15 Movie::Movie()
22 void Movie::ensureInfo()
28 SkMSec Movie::duration()
34 int Movie::width()
40 int Movie::height()
46 int Movie::isOpaque()
52 bool Movie::setTime(SkMSec time)
68 const SkBitmap& Movie::bitmap(
    [all...]
Movie.cpp 5 #include "Movie.h"
22 jobject create_jmovie(JNIEnv* env, Movie* moov) {
30 static Movie* J2Movie(JNIEnv* env, jobject movie) {
32 SkASSERT(movie);
33 SkASSERT(env->IsInstanceOf(movie, gMovie_class));
34 Movie* m = (Movie*)env->GetLongField(movie, gMovie_nativeInstanceID);
41 static jint movie_width(JNIEnv* env, jobject movie) {
132 Movie* movie = (Movie*) movieHandle; local
    [all...]
Movie.h 19 class Movie : public SkRefCnt {
21 /** Try to create a movie from the stream. If the stream format is not
24 static Movie* DecodeStream(SkStreamRewindable*);
25 /** Try to create a movie from the specified file path. If the file is not
26 found, or the format is not supported, return NULL. If a movie is
27 returned, the stream may be retained by the movie (via ref()) until
28 the movie is finished with it (by calling unref()).
30 static Movie* DecodeFile(const char path[]);
31 /** Try to create a movie from the specified memory.
32 If the format is not supported, return NULL. If a movie is returned
    [all...]
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/res/raw/
wizard_example.json 2 "title": "Androidify! The Movie",
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/playback/
WatchNextAdapter.java 26 import com.example.android.tv.channelsprograms.model.Movie;
29 /** Adds, updates, and removes the currently playing {@link Movie} from the "Watch Next" channel. */
35 Context context, long channelId, Movie movie, long position, long duration) {
36 Log.d(TAG, String.format("Updating the movie (%d) in watch next.", movie.getId()));
38 Movie entity = MockDatabase.findMovieById(context, channelId, movie.getId());
43 "Could not find movie in channel: channel id: %d, movie id: %d"
97 Movie movie = MockDatabase.findMovieById(context, channelId, movieId); local
    [all...]
  /external/skia/animations/
movie#1.xml 5 <movie src="paths.xml" />
9 <movie src="text.xml" />
13 <movie src="images.xml" />
17 <movie src="lines.xml" />
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/presenter/
DetailsDescriptionPresenter.java 21 import com.example.android.tvleanback.model.Movie;
27 Movie movie = (Movie) item; local
29 if (movie != null) {
30 viewHolder.getTitle().setText(movie.getTitle());
31 viewHolder.getSubtitle().setText(movie.getStudio());
32 viewHolder.getBody().setText(movie.getDescription());
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
UpdateRecommendationsService.java 43 HashMap<String, List<Movie>> recommendations = VideoProvider.getMovieList();
52 for (Map.Entry<String, List<Movie>> entry : recommendations.entrySet())
55 Movie movie = entry.getValue().get(i); local
56 Log.d(TAG, "Recommendation - " + movie.getTitle());
58 builder.setBackground(movie.getCardImageUrl())
61 .setTitle(movie.getTitle())
63 .setImage(movie.getCardImageUrl())
64 .setIntent(buildPendingIntent(movie))
80 private PendingIntent buildPendingIntent(Movie movie)
    [all...]
DetailsDescriptionPresenter.java 23 Movie movie = (Movie) item; local
25 if (movie != null) {
26 viewHolder.getTitle().setText(movie.getTitle());
27 viewHolder.getSubtitle().setText(movie.getStudio());
28 viewHolder.getBody().setText(movie.getDescription());
VideoProvider.java 52 private static HashMap<String, List<Movie>> mMovieList;
94 public static HashMap<String, List<Movie>> getMovieList() {
98 public static HashMap<String, List<Movie>> buildMedia(Context ctx, String url)
103 mMovieList = new HashMap<String, List<Movie>>();
121 List<Movie> categoryList = new ArrayList<Movie>();
148 private static Movie buildMovieInfo(String category, String title,
151 Movie movie = new Movie(); local
    [all...]
SearchFragment.java 88 HashMap<String, List<Movie>> movies = VideoProvider.getMovieList();
90 for (Map.Entry<String, List<Movie>> entry : movies.entrySet())
93 Movie movie = entry.getValue().get(i); local
94 if (movie.getTitle().toLowerCase(Locale.ENGLISH)
96 || movie.getDescription().toLowerCase(Locale.ENGLISH)
98 listRowAdapter.add(movie);
111 if (item instanceof Movie) {
112 Movie movie = (Movie) item
114 intent.putExtra(getResources().getString(R.string.movie), movie); local
    [all...]
VerticalGridFragment.java 57 HashMap<String, List<Movie>> movies = VideoProvider.getMovieList();
59 for (Map.Entry<String, List<Movie>> entry : movies.entrySet())
61 List<Movie> list = entry.getValue();
79 if (item instanceof Movie) {
80 Movie movie = (Movie) item;
82 intent.putExtra(getString(R.string.movie), movie);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/
UpdateRecommendationsService.java 32 import com.example.android.tvleanback.model.Movie;
62 HashMap<String, List<Movie>> recommendations = VideoProvider.getMovieList();
78 for (Map.Entry<String, List<Movie>> entry : recommendations.entrySet()) {
79 for (Movie movie : entry.getValue()) {
80 Log.d(TAG, "Recommendation - " + movie.getTitle());
81 flattenedRecommendations.add(movie);
86 Movie movie; local
88 movie = (Movie) flattenedRecommendations.get(i)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
ManifestWriter.java 19 import com.googlecode.mp4parser.authoring.Movie;
25 String getManifest(Movie inputs) throws IOException;
29 long[] calculateFragmentDurations(Track track, Movie movie);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
Mp4Builder.java 19 import com.googlecode.mp4parser.authoring.Movie;
22 * Transforms a <code>Movie</code> object to an IsoFile. Implementations can
28 * Builds the actual IsoFile from the Movie.
30 * @param movie data source
33 public IsoFile build(Movie movie);
FragmentedMp4Builder.java 24 import com.googlecode.mp4parser.authoring.Movie;
53 public Box createFtyp(Movie movie) {
113 protected List<Box> createMoofMdat(final Movie movie) {
117 for (Track track : movie.getTracks()) {
118 long[] intersects = intersectionFinder.sampleNumbers(track, movie);
129 final List<Track> sortedTracks = sortTracksInSequence(movie.getTracks(), cycle, intersectionMap);
156 public IsoFile build(Movie movie) {
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Movie.java 23 public class Movie {
26 private Movie(long nativeMovie) {
28 throw new RuntimeException("native movie creation failed");
51 public static Movie decodeStream(InputStream is) {
63 private static native Movie nativeDecodeAsset(long asset);
64 private static native Movie nativeDecodeStream(InputStream is);
65 public static native Movie decodeByteArray(byte[] data, int offset,
70 public static Movie decodeFile(String pathName) {
91 private static Movie decodeTempStream(InputStream is) {
92 Movie moov = null
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
VideoProvider.java 23 import com.example.android.tvleanback.model.Movie;
55 private static HashMap<String, List<Movie>> sMovieList;
64 public static HashMap<String, List<Movie>> getMovieList() {
68 public static HashMap<String, List<Movie>> buildMedia(Context ctx, String url)
73 sMovieList = new HashMap<String, List<Movie>>();
91 List<Movie> categoryList = new ArrayList<Movie>();
118 private static Movie buildMovieInfo(String category,
125 Movie movie = new Movie() local
    [all...]
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/
SyncProgramsJobService.java 32 import com.example.android.tv.channelsprograms.model.Movie;
108 private void syncPrograms(long channelId, List<Movie> initialMovies) {
110 List<Movie> movies = new ArrayList<>(initialMovies);
138 private List<Movie> createPrograms(long channelId, List<Movie> movies) {
140 List<Movie> moviesAdded = new ArrayList<>(movies.size());
141 for (Movie movie : movies) {
142 PreviewProgram previewProgram = buildProgram(channelId, movie);
151 movie.setProgramId(programId)
    [all...]
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/model/
MockDatabase.java 201 public static void saveMovies(Context context, long channelId, List<Movie> movies) {
213 saveMovies(context, channelId, Collections.<Movie>emptyList());
217 * Finds movie in subscriptions with channel id and updates it. Otherwise will add the new movie
221 * @param channelId of the subscription that the movie is associated with.
222 * @param movie to be persisted or updated.
224 public static void saveMovie(Context context, long channelId, Movie movie) {
225 List<Movie> movies = getMovies(context, channelId);
226 int index = findMovie(movies, movie);
    [all...]
  /external/python/cpython2/Mac/Demo/quicktime/
MovieInWindow.py 25 # Get the movie file
42 """Play a movie in a window"""
45 # Get the movie
64 """Load a movie given an fsspec. Return the movie object"""
66 movie, d1, d2 = Qt.NewMovieFromFile(movieResRef, 0, QuickTime.newMovieActive)
67 return movie
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
VerticalGridFragment.java 33 import com.example.android.tvleanback.model.Movie;
71 HashMap<String, List<Movie>> movies = VideoProvider.getMovieList();
73 for (Map.Entry<String, List<Movie>> entry : movies.entrySet()) {
74 List<Movie> list = entry.getValue();
76 for (Movie movie : list) {
77 mAdapter.add(movie);
100 if (item instanceof Movie) {
101 Movie movie = (Movie) item local
    [all...]
  /cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
Movie.java 23 * Movie class represents video entity with title, description, image thumbs and video url.
25 public class Movie implements Parcelable {
34 public Movie() {
37 public Movie(Parcel in){
113 sb.append("Movie{");
121 public Movie createFromParcel(Parcel in) {
122 return new Movie(in);
125 public Movie[] newArray(int size) {
126 return new Movie[size];

Completed in 419 milliseconds

1 2 3 4 5 6 7 8 91011>>