/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SingleItemAlbum.java | 24 private final MediaItem mItem; 27 public SingleItemAlbum(Path path, MediaItem item) { 39 public ArrayList<MediaItem> getMediaItem(int start, int count) { 40 ArrayList<MediaItem> result = new ArrayList<MediaItem>(); 50 public MediaItem getItem() {
|
ClusterAlbum.java | 28 private MediaItem mCover; 38 public void setCoverMediaItem(MediaItem cover) { 43 public MediaItem getCoverMediaItem() { 70 public ArrayList<MediaItem> getMediaItem(int start, int count) { 74 public static ArrayList<MediaItem> getMediaItemFromPath( 78 return new ArrayList<MediaItem>(); 82 final MediaItem[] buf = new MediaItem[end - start]; 85 public void consume(int index, MediaItem item) { 90 ArrayList<MediaItem> result = new ArrayList<MediaItem>(end - start) [all...] |
FilterEmptyPromptSet.java | 25 private ArrayList<MediaItem> mEmptyItem; 28 public FilterEmptyPromptSet(Path path, MediaSet baseSet, MediaItem emptyItem) { 30 mEmptyItem = new ArrayList<MediaItem>(1); 47 public ArrayList<MediaItem> getMediaItem(int start, int count) {
|
Clustering.java | 26 public MediaItem getClusterCover(int index) {
|
ImageCacheRequest.java | 46 ((mType == MediaItem.TYPE_THUMBNAIL) ? "THUMB" : 47 (mType == MediaItem.TYPE_MICROTHUMBNAIL) ? "MICROTHUMB" : "?"); 54 BytesBuffer buffer = MediaItem.getBytesBufferPool().get(); 62 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { 75 MediaItem.getBytesBufferPool().recycle(buffer); 85 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) {
|
SecureSource.java | 46 MediaItem unlock = (MediaItem) dataManager.getMediaObject(
|
ComboAlbum.java | 42 public ArrayList<MediaItem> getMediaItem(int start, int count) { 43 ArrayList<MediaItem> items = new ArrayList<MediaItem>(); 49 ArrayList<MediaItem> fetchItems = set.getMediaItem(start, fetchCount);
|
LocalMergeAlbum.java | 41 private final Comparator<MediaItem> mComparator; 52 Path path, Comparator<MediaItem> comparator, MediaSet[] sources, int bucketId) { 74 int supported = mSources.length == 0 ? 0 : MediaItem.SUPPORT_ALL; 120 public ArrayList<MediaItem> getMediaItem(int start, int count) { 126 MediaItem[] slot = new MediaItem[mSources.length]; 135 ArrayList<MediaItem> result = new ArrayList<MediaItem>(); 215 private SoftReference<ArrayList<MediaItem>> mCacheRef; 226 public MediaItem getItem(int index) [all...] |
MediaSet.java | 72 public ArrayList<MediaItem> getMediaItem(int start, int count) { 73 return new ArrayList<MediaItem>(); 76 public MediaItem getCoverMediaItem() { 77 ArrayList<MediaItem> items = getMediaItem(0, 1); 80 MediaItem cover = getSubMediaSet(i).getCoverMediaItem(); 124 ArrayList<MediaItem> list = getMediaItem( 141 protected int getIndexOf(Path path, ArrayList<MediaItem> list) { 196 void consume(int index, MediaItem item); 207 ArrayList<MediaItem> items = getMediaItem(start, count); 209 MediaItem item = items.get(i) [all...] |
ActionImage.java | 30 public class ActionImage extends MediaItem { 61 int targetSize = MediaItem.getTargetSize(mType); 65 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) {
|
SecureAlbum.java | 53 private MediaItem mUnlockItem; 56 public SecureAlbum(Path path, GalleryApp application, MediaItem unlock) { 87 public ArrayList<MediaItem> getMediaItem(int start, int count) { 90 return new ArrayList<MediaItem>(); 98 final MediaItem[] buf = new MediaItem[end - start]; 101 public void consume(int index, MediaItem item) { 106 ArrayList<MediaItem> result = new ArrayList<MediaItem>(end - start);
|
/frameworks/base/media/java/android/media/videoeditor/ |
TransitionCrossfade.java | 50 public TransitionCrossfade(String transitionId, MediaItem afterMediaItem, 51 MediaItem beforeMediaItem, long durationMs, int behavior) {
|
TransitionFadeBlack.java | 50 public TransitionFadeBlack(String transitionId, MediaItem afterMediaItem, 51 MediaItem beforeMediaItem, long durationMs, int behavior) {
|
TransitionSliding.java | 62 public TransitionSliding(String transitionId, MediaItem afterMediaItem, 63 MediaItem beforeMediaItem, long durationMs, int behavior,
|
Effect.java | 33 private final MediaItem mMediaItem; 56 * @param mediaItem The media item owner 62 public Effect(MediaItem mediaItem, String effectId, long startTimeMs, 64 if (mediaItem == null) { 71 if (startTimeMs + durationMs > mediaItem.getDuration()) { 75 mMediaItem = mediaItem; 176 public MediaItem getMediaItem() {
|
Overlay.java | 35 private final MediaItem mMediaItem; 55 * @param mediaItem The media item owner 63 public Overlay(MediaItem mediaItem, String overlayId, long startTimeMs, 65 if (mediaItem == null) { 73 if (startTimeMs + durationMs > mediaItem.getDuration()) { 77 mMediaItem = mediaItem; 181 public MediaItem getMediaItem() {
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
MockSet.java | 22 ArrayList<MediaItem> mItems = new ArrayList<MediaItem>(); 50 public ArrayList<MediaItem> getMediaItem(int start, int count) { 51 ArrayList<MediaItem> result = new ArrayList<MediaItem>();
|
MockItem.java | 24 public class MockItem extends MediaItem {
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
BitmapJobDrawable.java | 28 import com.android.gallery3d.data.MediaItem; 39 private MediaItem mItem; 48 public void setMediaItem(MediaItem item) { 130 return MediaItem.getTargetSize(MediaItem.TYPE_MICROTHUMBNAIL); 135 return MediaItem.getTargetSize(MediaItem.TYPE_MICROTHUMBNAIL); 171 mParent.mItem.requestImage(MediaItem.TYPE_MICROTHUMBNAIL), this);
|
MediaItemsLoader.java | 30 import com.android.gallery3d.data.MediaItem; 62 private SparseArray<MediaItem> mMediaItems; 113 final SparseArray<MediaItem> mediaItems = new SparseArray<MediaItem>(); 116 public void consume(int index, MediaItem item) { 125 if (rawMediaType == MediaItem.MEDIA_TYPE_IMAGE) { 127 } else if (rawMediaType == MediaItem.MEDIA_TYPE_VIDEO) { 157 return MediaItem.getTargetSize(MediaItem.TYPE_MICROTHUMBNAIL); 163 MediaItem mi = mMediaItems.get(index) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
VideoEditorPreviewTest.java | 31 import android.media.videoeditor.MediaItem; 231 videoItemFileName1, MediaItem.RENDERING_MODE_BLACK_BORDER); 237 videoItemFileName2, MediaItem.RENDERING_MODE_BLACK_BORDER); 243 videoItemFileName3, MediaItem.RENDERING_MODE_BLACK_BORDER); 247 List<MediaItem> mediaList = mVideoEditor.getAllMediaItems(); 252 mediaVideoItem1.setRenderingMode(MediaItem.RENDERING_MODE_BLACK_BORDER); 254 MediaItem.RENDERING_MODE_BLACK_BORDER, 257 mediaVideoItem2.setRenderingMode(MediaItem.RENDERING_MODE_BLACK_BORDER); 259 MediaItem.RENDERING_MODE_BLACK_BORDER, 262 mediaVideoItem3.setRenderingMode(MediaItem.RENDERING_MODE_STRETCH) [all...] |
MediaItemThumbnailTest.java | 25 import android.media.videoeditor.MediaItem; 90 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 111 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 130 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 150 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 169 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 190 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 212 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 230 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER; 249 final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoDataAdapter.java | 28 import com.android.gallery3d.data.MediaItem; 110 // The valid MediaItem window size (mContentEnd - mContentStart) may be 114 private final MediaItem mData[] = new MediaItem[DATA_CACHE_SIZE]; 132 // mChanges keeps the version number (of MediaItem) about the images. If any 136 // mPaths keeps the corresponding Path (of MediaItem) for the images. This 221 private MediaItem getItemInternal(int index) { 230 MediaItem item = getItemInternal(index); 236 MediaItem item = getItemInternal(index); 385 private MediaItem getItem(int index) [all...] |
SinglePhotoDataAdapter.java | 28 import com.android.gallery3d.data.MediaItem; 46 private MediaItem mItem; 57 AbstractGalleryActivity activity, PhotoView view, MediaItem item) { 60 MediaItem.SUPPORT_FULL_IMAGE) != 0; 158 mItem.requestImage(MediaItem.TYPE_THUMBNAIL), 226 return mItem.getMediaType() == MediaItem.MEDIA_TYPE_VIDEO; 231 return (mItem.getSupportedOperations() & MediaItem.SUPPORT_DELETE) != 0; 235 public MediaItem getMediaItem(int offset) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetUtils.java | 28 import com.android.gallery3d.data.MediaItem; 47 public static Bitmap createWidgetBitmap(MediaItem image) { 48 Bitmap bitmap = image.requestImage(MediaItem.TYPE_THUMBNAIL)
|