/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
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());
|
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...] |
CardPresenter.java | 44 private Movie mMovie; 53 mDefaultCardImage = mContext.getResources().getDrawable(R.drawable.movie); 56 public void setMovie(Movie m) { 60 public Movie getMovie() { 91 Movie movie = (Movie) item; local 92 ((ViewHolder) viewHolder).setMovie(movie); 95 if (movie.getCardImageUrl() != null) { 96 ((ViewHolder) viewHolder).mCardView.setTitleText(movie.getTitle()) [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...] |
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...] |
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/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());
|
CardPresenter.java | 27 import com.example.android.tvleanback.model.Movie; 48 mDefaultCardImage = parent.getResources().getDrawable(R.drawable.movie); 74 Movie movie = (Movie) item; local 78 if (movie.getCardImageUrl() != null) { 79 cardView.setTitleText(movie.getTitle()); 80 cardView.setContentText(movie.getStudio()); 83 .load(movie.getCardImageUrl())
|
/external/skia/src/images/ |
SkImageDecoder_FactoryDefault.cpp | 26 SkMovie* movie = curr->factory()(stream); local 27 if (movie) { 28 return movie; 31 // movie, who may have already started reading from it
|
/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/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);
|
SyncSampleIntersectFinderImpl.java | 20 import com.googlecode.mp4parser.authoring.Movie; 30 * This <code>FragmentIntersectionFinder</code> cuts the input movie video tracks in 61 * @param movie the context of the track 64 public long[] sampleNumbers(Track track, Movie movie) { 65 final CacheTuple key = new CacheTuple(track, movie); 73 List<long[]> times = getSyncSamplesTimestamps(movie, track); 74 final long[] commonIndices = getCommonIndices(track.getSyncSamples(), getTimes(track, movie), track.getTrackMetaData().getTimescale(), times.toArray(new long[times.size()][])); 82 for (Track candidate : movie.getTracks()) { 90 long[] refSyncSamples = sampleNumbers(referenceTrack, movie); 307 Movie movie; field in class:SyncSampleIntersectFinderImpl.CacheTuple [all...] |
FragmentIntersectionFinder.java | 18 import com.googlecode.mp4parser.authoring.Movie; 30 * @param movie the context of the track 33 public long[] sampleNumbers(Track track, 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...] |
DefaultMp4Builder.java | 44 import com.googlecode.mp4parser.authoring.Movie; 86 public IsoFile build(Movie movie) { 87 LOG.fine("Creating movie " + movie); 88 for (Track track : movie.getTracks()) { 107 isoFile.addBox(createMovieBox(movie)); 108 InterleaveChunkMdat mdat = new InterleaveChunkMdat(movie); 139 private MovieBox createMovieBox(Movie movie) { [all...] |
TwoSecondIntersectionFinder.java | 19 import com.googlecode.mp4parser.authoring.Movie; 26 * This <code>FragmentIntersectionFinder</code> cuts the input movie in 2 second 42 public long[] sampleNumbers(Track track, Movie movie) { 46 for (Track thisTrack : movie.getTracks()) {
|
/frameworks/base/core/jni/android/graphics/ |
Movie.cpp | 30 static SkMovie* J2Movie(JNIEnv* env, jobject movie) { 32 SkASSERT(movie); 33 SkASSERT(env->IsInstanceOf(movie, gMovie_class)); 34 SkMovie* m = (SkMovie*)env->GetLongField(movie, gMovie_nativeInstanceID); 41 static jint movie_width(JNIEnv* env, jobject movie) { 42 NPE_CHECK_RETURN_ZERO(env, movie); 43 return static_cast<jint>(J2Movie(env, movie)->width()); 46 static jint movie_height(JNIEnv* env, jobject movie) { 47 NPE_CHECK_RETURN_ZERO(env, movie); 48 return static_cast<jint>(J2Movie(env, movie)->height()) 132 SkMovie* movie = (SkMovie*) movieHandle; local [all...] |
/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);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
PlaybackOverlayActivity.java | 34 import com.example.android.tvleanback.model.Movie; 82 public void onFragmentPlayPause(Movie movie, int position, Boolean playPause) { 83 mVideoView.setVideoPath(movie.getVideoUrl()); 101 updateMetadata(movie); 107 public void onFragmentFfwRwd(Movie movie, int position) { 108 mVideoView.setVideoPath(movie.getVideoUrl()); 142 private void updateMetadata(final Movie movie) { [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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 33 import com.googlecode.mp4parser.authoring.Movie; 86 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); local 89 List<Track> tracks = movie.getTracks(); 90 movie.setTracks(new LinkedList<Track>()); 94 movie.addTrack(track); 97 writeMovieIntoFile(dst, movie); 101 private static void writeMovieIntoFile(File dst, Movie movie) 107 IsoFile out = new DefaultMp4Builder().build(movie); 233 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); local [all...] |
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
CardPresenter.java | 26 import android.leanbackjank.app.model.Movie; 44 mDefaultCardImage = parent.getResources().getDrawable(R.drawable.movie, null); 70 Movie movie = (Movie) item; local 73 cardView.setTitleText(movie.getTitle()); 74 cardView.setContentText(movie.getStudio());
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
videoreader.py | 58 self.movie, d1, d2 = Qt.NewMovieFromFile(fd, 0, 0) 59 self.movietimescale = self.movie.GetMovieTimeScale() 61 self.audiotrack = self.movie.GetMovieIndTrackType(1, 76 self.videotrack = self.movie.GetMovieIndTrackType(1, 83 x0, y0, x1, y1 = self.movie.GetMovieBox() 95 self.movie = None 108 self.movie.SetMovieGWorld(self.gworld.as_GrafPtr(), None) 109 self.movie.SetMovieBox(movie_rect) 110 self.movie.SetMovieActive(1) 111 self.movie.MoviesTask(0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
videoreader.py | 58 self.movie, d1, d2 = Qt.NewMovieFromFile(fd, 0, 0) 59 self.movietimescale = self.movie.GetMovieTimeScale() 61 self.audiotrack = self.movie.GetMovieIndTrackType(1, 76 self.videotrack = self.movie.GetMovieIndTrackType(1, 83 x0, y0, x1, y1 = self.movie.GetMovieBox() 95 self.movie = None 108 self.movie.SetMovieGWorld(self.gworld.as_GrafPtr(), None) 109 self.movie.SetMovieBox(movie_rect) 110 self.movie.SetMovieActive(1) 111 self.movie.MoviesTask(0 [all...] |