/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
LocalPhotoSource.java | 23 import com.android.gallery3d.data.MediaItem; 98 MediaItem image = (MediaItem)
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
ApiServiceListener.java | 21 import android.media.videoeditor.MediaItem; 60 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) {} 72 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) {} 161 * @param mediaItem The newly added media item (null if an error occurred) 168 MovieMediaItem mediaItem, String afterMediaId, Class<?> mediaItemClass, 271 * @param mediaItemId The id of the MediaItem
|
MovieMediaItem.java | 23 import android.media.videoeditor.MediaItem; 85 * @param mediaItem The media item 87 MovieMediaItem(MediaItem mediaItem) { 88 this(mediaItem, mediaItem.getBeginTransition() != null ? new MovieTransition( 89 mediaItem.getBeginTransition()) : null); 95 * @param mediaItem The media item 98 MovieMediaItem(MediaItem mediaItem, MovieTransition beginTransition) [all...] |
MovieTransition.java | 22 import android.media.videoeditor.MediaItem; 259 Transition buildTransition(Context context, MediaItem afterMediaItem, 260 MediaItem beforeMediaItem) throws IOException {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
MenuExecutor.java | 24 import com.android.gallery3d.data.MediaItem; 283 MediaItem item = (MediaItem) manager.getMediaObject(path); 298 MediaItem item = (MediaItem) manager.getMediaObject(path);
|
AlbumSetView.java | 23 import com.android.gallery3d.data.MediaItem; 48 public MediaItem[] getCoverItems(int index);
|
AlbumView.java | 22 import com.android.gallery3d.data.MediaItem; 42 public MediaItem get(int index);
|
FilmStripView.java | 23 import com.android.gallery3d.data.MediaItem; 199 MediaItem item = mAlbumDataAdapter.get(index);
|
AlbumSetSlidingWindow.java | 26 import com.android.gallery3d.data.MediaItem; 236 MediaItem[] coverItems = mSource.getCoverItems(slotIndex); 254 MediaItem[] coverItems = mSource.getCoverItems(slotIndex); 342 public GalleryDisplayItem(int slotIndex, int coverIndex, MediaItem item) { 421 MediaItem.TYPE_MICROTHUMBNAIL), this);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CropImage.java | 51 import com.android.gallery3d.data.MediaItem; 151 private MediaItem mMediaItem; 287 if (obj instanceof MediaItem) { 288 String mime = ((MediaItem) obj).getMimeType(); 803 (mMediaItem.getSupportedOperations() & MediaItem.SUPPORT_FULL_IMAGE) != 0; [all...] |
AlbumPage.java | 37 import com.android.gallery3d.data.MediaItem; 154 MediaItem item = mAlbumDataAdapter.get(index); 166 MediaItem item = mAlbumDataAdapter.get(slotIndex); 179 (item.getSupportedOperations() & MediaItem.SUPPORT_PLAY) != 0; 202 private void onGetContent(final MediaItem item) { 228 MediaItem item = mAlbumDataAdapter.get(slotIndex);
|
Gallery.java | 31 import com.android.gallery3d.data.MediaItem; 135 instanceof MediaItem) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 23 import com.android.gallery3d.data.MediaItem; 88 MediaItem item = (MediaItem) mDataManager.getMediaObject(path);
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaItem.java | 37 * This abstract class describes the base class for any MediaItem. Objects are 41 public abstract class MediaItem { 74 * The unique id of the MediaItem 79 * The name of the file associated with the MediaItem 121 * @param mediaItemId The MediaItem id 129 protected MediaItem(VideoEditor editor, String mediaItemId, String filename, 132 throw new IllegalArgumentException("MediaItem : filename is null"); 171 * If aspect ratio of the MediaItem is different from the aspect ratio of 608 if (!(object instanceof MediaItem)) { 611 return mUniqueId.equals(((MediaItem)object).mUniqueId) [all...] |
MediaArtistNativeHelper.java | [all...] |
AudioTrack.java | 91 this(editor, audioTrackId, filename, 0, 0, MediaItem.END_OF_FILE, false, 100, false, false, 172 if (endMs == MediaItem.END_OF_FILE) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SizeClustering.java | 56 public void consume(int index, MediaItem item) {
|
UriImage.java | 39 public class UriImage extends MediaItem { 195 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) {
|
ClusterAlbumSet.java | 127 public void consume(int index, MediaItem item) {
|
MtpImage.java | 36 public class MtpImage extends MediaItem {
|
LocalSource.java | 99 Comparator<MediaItem> comp = DataManager.sDateTakenComparator; 229 MediaItem[] items = LocalAlbum.getMediaItemById(
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 22 import com.android.gallery3d.data.MediaItem; 210 return (latitude != MediaItem.INVALID_LATLNG || longitude != MediaItem.INVALID_LATLNG); 352 public static boolean isPanorama(MediaItem item) {
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
VideoEditorBaseActivity.java | 27 import android.media.videoeditor.MediaItem; 90 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) { 115 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) { 204 } else if (MediaItem.class.getCanonicalName().equals(className)) { 292 MovieMediaItem mediaItem, String afterMediaItemId, Class<?> mediaItemClass, 309 getMediaLayout().insertMediaItem(mediaItem, afterMediaItemId); 310 getOverlayLayout().insertMediaItem(mediaItem, afterMediaItemId); 422 final MovieMediaItem mediaItem = mProject.getMediaItem(mediaItemId); 424 getMediaLayout().updateMediaItem(mediaItem); 425 getOverlayLayout().updateMediaItem(mediaItem); [all...] |
VideoEditorActivity.java | 36 import android.media.videoeditor.MediaItem; 254 public void onTrimMediaItemBegin(MovieMediaItem mediaItem) { 259 public void onTrimMediaItem(MovieMediaItem mediaItem, long timeMs) { 262 if (mediaItem.isVideoClip()) { 264 mPreviewThread.renderMediaItemFrame(mediaItem, timeMs); 268 mProject.getMediaItemBeginTime(mediaItem.getId()) + timeMs, 275 public void onTrimMediaItemEnd(MovieMediaItem mediaItem, long timeMs) { [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
MediaLinearLayout.java | 31 import android.media.videoeditor.MediaItem; 118 public MediaItemActionModeCallback(MovieMediaItem mediaItem) { 119 mMediaItem = mediaItem; 400 final MovieMediaItem mediaItem = (MovieMediaItem) view.getTag(); 402 mediaItem.getId()); 430 final MovieMediaItem mediaItem = (MovieMediaItem)view.getTag(); 432 view.startDrag(ClipData.newPlainText("File", mediaItem.getFilename()), 433 ((MediaItemView)view).getShadowBuilder(), mediaItem.getId(), 0); 439 startActionMode(new MediaItemActionModeCallback(mediaItem)); 625 for (MovieMediaItem mediaItem : mediaItems) [all...] |