HomeSort by relevance Sort by last modified time
    Searched refs:MediaObject (Results 1 - 25 of 40) sorted by null

1 2

  /packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
PicasaSource.java 26 import com.android.gallery3d.data.MediaObject;
75 public MediaObject createMediaObject(Path path) {
78 return new EmptyAlbumSet(path, MediaObject.nextVersionNumber());
88 public static boolean isPicasaImage(MediaObject object) {
92 public static String getImageTitle(MediaObject image) {
96 public static int getImageSize(MediaObject image) {
100 public static String getContentType(MediaObject image) {
104 public static long getDateTaken(MediaObject image) {
108 public static double getLatitude(MediaObject image) {
112 public static double getLongitude(MediaObject image)
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/
SelectionManager.java 29 import com.android.gallery3d.data.MediaObject;
84 if ((itemSupportedOperations & MediaObject.SUPPORT_DELETE) > 0) {
87 if ((itemSupportedOperations & MediaObject.SUPPORT_EDIT) > 0) {
90 if ((itemSupportedOperations & MediaObject.SUPPORT_CROP) > 0) {
93 if ((itemSupportedOperations & MediaObject.SUPPORT_SETAS) > 0) {
96 if ((itemSupportedOperations & MediaObject.SUPPORT_TRIM) > 0) {
99 if ((itemSupportedOperations & MediaObject.SUPPORT_MUTE) > 0) {
102 if ((itemSupportedOperations & MediaObject.SUPPORT_SHARE) > 0) {
145 supported |= MediaObject.SUPPORT_CROP;
148 supported |= MediaObject.SUPPORT_EDIT
    [all...]
MultiChoiceManager.java 36 import com.android.gallery3d.data.MediaObject;
116 if ((supported & MediaObject.SUPPORT_SHARE) > 0) {
142 editItem.setVisible((supportedOperations & MediaObject.SUPPORT_EDIT) > 0);
143 deleteItem.setVisible((supportedOperations & MediaObject.SUPPORT_DELETE) > 0);
144 shareItem.setVisible((supportedOperations & MediaObject.SUPPORT_SHARE) > 0);
145 cropItem.setVisible((supportedOperations & MediaObject.SUPPORT_CROP) > 0);
146 trimItem.setVisible((supportedOperations & MediaObject.SUPPORT_TRIM) > 0);
147 muteItem.setVisible((supportedOperations & MediaObject.SUPPORT_MUTE) > 0);
148 setAsItem.setVisible((supportedOperations & MediaObject.SUPPORT_SETAS) > 0);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
MediaObject.java 21 public abstract class MediaObject {
23 private static final String TAG = "MediaObject";
75 void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama,
79 public MediaObject(Path path, long version) {
149 return ++MediaObject.sVersionSerial;
153 if (MEDIA_TYPE_ALL_STRING.equals(s)) return MediaObject.MEDIA_TYPE_ALL;
154 if (MEDIA_TYPE_IMAGE_STRING.equals(s)) return MediaObject.MEDIA_TYPE_IMAGE;
155 if (MEDIA_TYPE_VIDEO_STRING.equals(s)) return MediaObject.MEDIA_TYPE_VIDEO;
MediaSource.java 41 public abstract MediaObject createMediaObject(Path path);
80 MediaObject obj;
ComboSource.java 37 public MediaObject createMediaObject(Path path) {
SecureSource.java 42 public MediaObject createMediaObject(Path path) {
DataManager.java 27 import com.android.gallery3d.data.MediaObject.PanoramaSupportCallback;
157 // MediaObject object = peekMediaObject(path);
162 public MediaObject peekMediaObject(Path path) {
166 public MediaObject getMediaObject(Path path) {
168 MediaObject obj = path.getObject();
178 MediaObject object = source.createMediaObject(path);
190 public MediaObject getMediaObject(String s) {
360 MediaObject mediaObject = getMediaObject(path);
361 if (mediaObject != null)
    [all...]
Path.java 31 private WeakReference<MediaObject> mObject;
68 public void setObject(MediaObject object) {
71 mObject = new WeakReference<MediaObject>(object);
75 MediaObject getObject() {
219 MediaObject obj = p.getObject();
BucketHelper.java 126 if ((type & MediaObject.MEDIA_TYPE_IMAGE) != 0) {
130 if ((type & MediaObject.MEDIA_TYPE_VIDEO) != 0) {
158 if ((type & MediaObject.MEDIA_TYPE_IMAGE) != 0) {
161 if ((type & MediaObject.MEDIA_TYPE_VIDEO) != 0) {
ClusterSource.java 60 public MediaObject createMediaObject(Path path) {
MediaItem.java 27 public abstract class MediaItem extends MediaObject {
SnailSource.java 40 public MediaObject createMediaObject(Path path) {
FilterSource.java 61 public MediaObject createMediaObject(Path path) {
UriSource.java 44 public MediaObject createMediaObject(Path path) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PanoramaMetadataSupport.java 18 import com.android.gallery3d.data.MediaObject;
19 import com.android.gallery3d.data.MediaObject.PanoramaSupportCallback;
38 private MediaObject mMediaObject;
40 public PanoramaMetadataSupport(MediaObject mediaObject) {
41 mMediaObject = mediaObject;
AlbumDataLoader.java 26 import com.android.gallery3d.data.MediaObject;
65 private long mSourceVersion = MediaObject.INVALID_DATA_VERSION;
76 private long mFailedVersion = MediaObject.INVALID_DATA_VERSION;
84 Arrays.fill(mItemVersion, MediaObject.INVALID_DATA_VERSION);
85 Arrays.fill(mSetVersion, MediaObject.INVALID_DATA_VERSION);
100 (mFailedVersion != MediaObject.INVALID_DATA_VERSION);
154 mItemVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION;
155 mSetVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION;
295 mFailedVersion = MediaObject.INVALID_DATA_VERSION;
359 if (mFailedVersion != MediaObject.INVALID_DATA_VERSION)
    [all...]
AlbumSetDataLoader.java 26 import com.android.gallery3d.data.MediaObject;
66 private long mSourceVersion = MediaObject.INVALID_DATA_VERSION;
84 Arrays.fill(mItemVersion, MediaObject.INVALID_DATA_VERSION);
85 Arrays.fill(mSetVersion, MediaObject.INVALID_DATA_VERSION);
168 mItemVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION;
169 mSetVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION;
PhotoPage.java 52 import com.android.gallery3d.data.MediaObject;
53 import com.android.gallery3d.data.MediaObject.PanoramaSupportCallback;
191 public void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama,
193 if (mediaObject == mCurrentPhoto) {
195 mediaObject).sendToTarget();
202 public void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama,
204 if (mediaObject == mCurrentPhoto) {
206 mediaObject).sendToTarget()
    [all...]
SlideshowDataAdapter.java 24 import com.android.gallery3d.data.MediaObject;
63 private long mDataVersion = MediaObject.INVALID_DATA_VERSION;
FilterUtils.java 20 import com.android.gallery3d.data.MediaObject;
180 mediaType = MediaObject.MEDIA_TYPE_IMAGE;
183 mediaType = MediaObject.MEDIA_TYPE_VIDEO;
PhotoDataAdapter.java 29 import com.android.gallery3d.data.MediaObject;
147 private long mSourceVersion = MediaObject.INVALID_DATA_VERSION;
185 Arrays.fill(mChanges, MediaObject.INVALID_DATA_VERSION);
231 if (item == null) return MediaObject.INVALID_DATA_VERSION;
681 entry.requestedScreenNail = MediaObject.INVALID_DATA_VERSION;
686 entry.requestedFullImage = MediaObject.INVALID_DATA_VERSION;
823 entry.requestedFullImage = MediaObject.INVALID_DATA_VERSION;
900 public long requestedScreenNail = MediaObject.INVALID_DATA_VERSION;
901 public long requestedFullImage = MediaObject.INVALID_DATA_VERSION;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
MenuExecutor.java 38 import com.android.gallery3d.data.MediaObject;
169 boolean supportDelete = (supported & MediaObject.SUPPORT_DELETE) != 0;
170 boolean supportRotate = (supported & MediaObject.SUPPORT_ROTATE) != 0;
171 boolean supportCrop = (supported & MediaObject.SUPPORT_CROP) != 0;
172 boolean supportTrim = (supported & MediaObject.SUPPORT_TRIM) != 0;
173 boolean supportMute = (supported & MediaObject.SUPPORT_MUTE) != 0;
174 boolean supportShare = (supported & MediaObject.SUPPORT_SHARE) != 0;
175 boolean supportSetAs = (supported & MediaObject.SUPPORT_SETAS) != 0;
176 boolean supportShowOnMap = (supported & MediaObject.SUPPORT_SHOW_ON_MAP) != 0;
177 boolean supportCache = (supported & MediaObject.SUPPORT_CACHE) != 0
    [all...]
ActionModeHandler.java 40 import com.android.gallery3d.data.MediaObject;
41 import com.android.gallery3d.data.MediaObject.PanoramaSupportCallback;
59 private static final int SUPPORT_MULTIPLE_MASK = MediaObject.SUPPORT_DELETE
60 | MediaObject.SUPPORT_ROTATE | MediaObject.SUPPORT_SHARE
61 | MediaObject.SUPPORT_CACHE;
90 public GetAllPanoramaSupports(ArrayList<MediaObject> mediaObjects, JobContext jc) {
93 for (MediaObject mediaObject : mediaObjects) {
94 mediaObject.getPanoramaSupport(this)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 36 import com.android.gallery3d.data.MediaObject;
119 MediaObject object = mDataManager.getMediaObject(path);
135 private Cursor queryPicasaItem(MediaObject image, String[] projection,
181 MediaObject object = mDataManager.getMediaObject(path);

Completed in 202 milliseconds

1 2