/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
PackageWriter.java | 18 import com.googlecode.mp4parser.authoring.Movie; 26 public void write(Movie qualities) throws IOException;
|
ManifestWriter.java | 19 import com.googlecode.mp4parser.authoring.Movie; 25 String getManifest(Movie inputs) throws IOException; 29 long[] calculateFragmentDurations(Track track, Movie movie);
|
FlatPackageWriterImpl.java | 23 import com.googlecode.mp4parser.authoring.Movie; 85 * Writes the movie given as <code>qualities</code> flattened into the 88 * @param source the source movie with all qualities 91 public void write(Movie source) throws IOException { 102 Movie cleanedSource = removeUnknownTracks(source); 103 Movie movieWithAdjustedTimescale = correctTimescale(cleanedSource); 168 private Movie removeUnknownTracks(Movie source) { 169 Movie nuMovie = new Movie(); [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);
|
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);
|
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()) {
|
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/data/ |
VideoProvider.java | 19 import android.cts.jank.leanback.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...] |
/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) { 90 private static Movie decodeTempStream(InputStream is) { 91 Movie moov = null [all...] |
/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());
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/container/mp4/ |
MovieCreator.java | 20 import com.googlecode.mp4parser.authoring.Movie; 28 * Shortcut to build a movie from an MP4 file. 31 public static Movie build(ReadableByteChannel channel) throws IOException { 33 Movie m = new Movie();
|
/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());
|
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);
|
VideoItemLoader.java | 29 public class VideoItemLoader extends AsyncTaskLoader<HashMap<String, List<Movie>>> { 42 public HashMap<String, List<Movie>> loadInBackground() {
|
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...] |
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...] |
LeanbackDetailsFragment.java | 62 private Movie selectedMovie; 82 selectedMovie = (Movie) getActivity().getIntent().getSerializableExtra("Movie"); 83 Log.d(TAG, "DetailsActivity movie: " + selectedMovie.toString()); 90 private class DetailRowBuilderTask extends AsyncTask<Movie, Integer, DetailsOverviewRow> { 92 protected DetailsOverviewRow doInBackground(Movie... movies) { 132 intent.putExtra(getResources().getString(R.string.movie), selectedMovie); 152 HashMap<String, List<Movie>> movies = VideoProvider.getMovieList(); 155 for (Map.Entry<String, List<Movie>> entry : movies.entrySet()) 158 List<Movie> list = entry.getValue() 179 intent.putExtra(getResources().getString(R.string.movie), 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...] |
MainFragment.java | 52 LoaderManager.LoaderCallbacks<HashMap<String, List<Movie>>> { 126 public Loader<HashMap<String, List<Movie>>> onCreateLoader(int arg0, Bundle arg1) { 137 public void onLoadFinished(Loader<HashMap<String, List<Movie>>> arg0, 138 HashMap<String, List<Movie>> data) { 145 for (Map.Entry<String, List<Movie>> entry : data.entrySet()) 148 List<Movie> list = entry.getValue(); 174 public void onLoaderReset(Loader<HashMap<String, List<Movie>>> arg0) { 182 if (item instanceof Movie) { 183 mBackgroundURI = ((Movie) item).getBackgroundImageURI(); 194 if (item instanceof Movie) { [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/ |
VideoItemLoader.java | 23 import com.example.android.tvleanback.model.Movie; 31 public class VideoItemLoader extends AsyncTaskLoader<HashMap<String, List<Movie>>> { 44 public HashMap<String, List<Movie>> loadInBackground() {
|
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/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...] |
MainFragment.java | 50 import com.example.android.tvleanback.model.Movie; 66 LoaderManager.LoaderCallbacks<HashMap<String, List<Movie>>> { 145 public Loader<HashMap<String, List<Movie>>> onCreateLoader(int arg0, Bundle arg1) { 156 public void onLoadFinished(Loader<HashMap<String, List<Movie>>> arg0, 157 HashMap<String, List<Movie>> data) { 164 for (Map.Entry<String, List<Movie>> entry : data.entrySet()) { 166 List<Movie> list = entry.getValue(); 191 public void onLoaderReset(Loader<HashMap<String, List<Movie>>> arg0) { 262 if (item instanceof Movie) { 263 Movie movie = (Movie) item local [all...] |
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/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];
|
/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...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 29 import android.graphics.Movie; 34 private Movie mMovie; 35 private final int MOVIE = com.android.cts.graphics.R.drawable.animated; 44 mMovie = getActivity().getResources().getMovie(MOVIE); 67 mMovie = Movie.decodeFile(imagefile.getPath()); 71 mMovie = Movie.decodeFile("/no file path"); 80 source = getActivity().getResources().openRawResource(MOVIE); 113 InputStream is = getActivity().getResources().openRawResource(MOVIE); 115 mMovie = Movie.decodeByteArray(bytes, 0, bytes.length); 125 .openRawResource(MOVIE); [all...] |