/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/ |
D | PicasaSource.java | 26 import com.android.gallery3d.data.MediaObject; 75 public MediaObject createMediaObject(Path path) { in createMediaObject() 78 return new EmptyAlbumSet(path, MediaObject.nextVersionNumber()); in createMediaObject() 88 public static boolean isPicasaImage(MediaObject object) { in isPicasaImage() 92 public static String getImageTitle(MediaObject image) { in getImageTitle() 96 public static int getImageSize(MediaObject image) { in getImageSize() 100 public static String getContentType(MediaObject image) { in getContentType() 104 public static long getDateTaken(MediaObject image) { in getDateTaken() 108 public static double getLatitude(MediaObject image) { in getLatitude() 112 public static double getLongitude(MediaObject image) { in getLongitude() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | SelectionManager.java | 29 import com.android.gallery3d.data.MediaObject; 84 if ((itemSupportedOperations & MediaObject.SUPPORT_DELETE) > 0) { in onItemSelectedStateChanged() 87 if ((itemSupportedOperations & MediaObject.SUPPORT_EDIT) > 0) { in onItemSelectedStateChanged() 90 if ((itemSupportedOperations & MediaObject.SUPPORT_CROP) > 0) { in onItemSelectedStateChanged() 93 if ((itemSupportedOperations & MediaObject.SUPPORT_SETAS) > 0) { in onItemSelectedStateChanged() 96 if ((itemSupportedOperations & MediaObject.SUPPORT_TRIM) > 0) { in onItemSelectedStateChanged() 99 if ((itemSupportedOperations & MediaObject.SUPPORT_MUTE) > 0) { in onItemSelectedStateChanged() 102 if ((itemSupportedOperations & MediaObject.SUPPORT_SHARE) > 0) { in onItemSelectedStateChanged() 145 supported |= MediaObject.SUPPORT_CROP; in getSupportedOperations() 148 supported |= MediaObject.SUPPORT_EDIT; in getSupportedOperations() [all …]
|
D | MultiChoiceManager.java | 36 import com.android.gallery3d.data.MediaObject; 116 if ((supported & MediaObject.SUPPORT_SHARE) > 0) { in onItemCheckedStateChanged() 142 editItem.setVisible((supportedOperations & MediaObject.SUPPORT_EDIT) > 0); in updateActionItemVisibilities() 143 deleteItem.setVisible((supportedOperations & MediaObject.SUPPORT_DELETE) > 0); in updateActionItemVisibilities() 144 shareItem.setVisible((supportedOperations & MediaObject.SUPPORT_SHARE) > 0); in updateActionItemVisibilities() 145 cropItem.setVisible((supportedOperations & MediaObject.SUPPORT_CROP) > 0); in updateActionItemVisibilities() 146 trimItem.setVisible((supportedOperations & MediaObject.SUPPORT_TRIM) > 0); in updateActionItemVisibilities() 147 muteItem.setVisible((supportedOperations & MediaObject.SUPPORT_MUTE) > 0); in updateActionItemVisibilities() 148 setAsItem.setVisible((supportedOperations & MediaObject.SUPPORT_SETAS) > 0); in updateActionItemVisibilities()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | MenuExecutor.java | 38 import com.android.gallery3d.data.MediaObject; 169 boolean supportDelete = (supported & MediaObject.SUPPORT_DELETE) != 0; in updateMenuOperation() 170 boolean supportRotate = (supported & MediaObject.SUPPORT_ROTATE) != 0; in updateMenuOperation() 171 boolean supportCrop = (supported & MediaObject.SUPPORT_CROP) != 0; in updateMenuOperation() 172 boolean supportTrim = (supported & MediaObject.SUPPORT_TRIM) != 0; in updateMenuOperation() 173 boolean supportMute = (supported & MediaObject.SUPPORT_MUTE) != 0; in updateMenuOperation() 174 boolean supportShare = (supported & MediaObject.SUPPORT_SHARE) != 0; in updateMenuOperation() 175 boolean supportSetAs = (supported & MediaObject.SUPPORT_SETAS) != 0; in updateMenuOperation() 176 boolean supportShowOnMap = (supported & MediaObject.SUPPORT_SHOW_ON_MAP) != 0; in updateMenuOperation() 177 boolean supportCache = (supported & MediaObject.SUPPORT_CACHE) != 0; in updateMenuOperation() [all …]
|
D | 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) { in GetAllPanoramaSupports() 93 for (MediaObject mediaObject : mediaObjects) { in GetAllPanoramaSupports() 99 public void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama, in panoramaInfoAvailable() 265 private ArrayList<MediaObject> getSelectedMediaObjects(JobContext jc) { in getSelectedMediaObjects() 272 ArrayList<MediaObject> selected = new ArrayList<MediaObject>(); in getSelectedMediaObjects() [all …]
|
D | AlbumSlidingWindow.java | 26 import com.android.gallery3d.data.MediaObject; 27 import com.android.gallery3d.data.MediaObject.PanoramaSupportCallback; 85 public void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama, in panoramaInfoAvailable()
|
D | AlbumSlotRenderer.java | 21 import com.android.gallery3d.data.MediaObject; 126 if (entry.mediaType == MediaObject.MEDIA_TYPE_VIDEO) { in renderSlot()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaObject.java | 21 public abstract class MediaObject { class 75 void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama, in panoramaInfoAvailable() 79 public MediaObject(Path path, long version) { in MediaObject() method in MediaObject 149 return ++MediaObject.sVersionSerial; in nextVersionNumber() 153 if (MEDIA_TYPE_ALL_STRING.equals(s)) return MediaObject.MEDIA_TYPE_ALL; in getTypeFromString() 154 if (MEDIA_TYPE_IMAGE_STRING.equals(s)) return MediaObject.MEDIA_TYPE_IMAGE; in getTypeFromString() 155 if (MEDIA_TYPE_VIDEO_STRING.equals(s)) return MediaObject.MEDIA_TYPE_VIDEO; in getTypeFromString()
|
D | DataManager.java | 27 import com.android.gallery3d.data.MediaObject.PanoramaSupportCallback; 162 public MediaObject peekMediaObject(Path path) { in peekMediaObject() 166 public MediaObject getMediaObject(Path path) { in getMediaObject() 168 MediaObject obj = path.getObject(); in getMediaObject() 178 MediaObject object = source.createMediaObject(path); in getMediaObject() 190 public MediaObject getMediaObject(String s) { in getMediaObject() 360 MediaObject mediaObject = getMediaObject(path); in onStitchingResult()
|
D | Path.java | 31 private WeakReference<MediaObject> mObject; 68 public void setObject(MediaObject object) { in setObject() 71 mObject = new WeakReference<MediaObject>(object); in setObject() 75 MediaObject getObject() { in getObject() 219 MediaObject obj = p.getObject(); in dumpAll()
|
D | BucketHelper.java | 112 if ((type & MediaObject.MEDIA_TYPE_IMAGE) != 0) { in loadBucketEntriesFromImagesAndVideoTable() 116 if ((type & MediaObject.MEDIA_TYPE_VIDEO) != 0) { in loadBucketEntriesFromImagesAndVideoTable() 142 if ((type & MediaObject.MEDIA_TYPE_IMAGE) != 0) { in loadBucketEntriesFromFilesTable() 145 if ((type & MediaObject.MEDIA_TYPE_VIDEO) != 0) { in loadBucketEntriesFromFilesTable()
|
D | MediaSource.java | 41 public abstract MediaObject createMediaObject(Path path); in createMediaObject() 80 MediaObject obj; in mapMediaItems()
|
D | MediaSet.java | 34 public abstract class MediaSet extends MediaObject { 144 MediaObject item = list.get(i); in getIndexOf()
|
D | LocalSource.java | 83 public MediaObject createMediaObject(Path path) { in createMediaObject() 183 MediaObject object = mApplication.getDataManager().getMediaObject(item); in getDefaultSetOf()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | 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); in AlbumDataLoader() 85 Arrays.fill(mSetVersion, MediaObject.INVALID_DATA_VERSION); in AlbumDataLoader() 100 (mFailedVersion != MediaObject.INVALID_DATA_VERSION); in AlbumDataLoader() 154 mItemVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot() 155 mSetVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot() 295 mFailedVersion = MediaObject.INVALID_DATA_VERSION; in call() 359 if (mFailedVersion != MediaObject.INVALID_DATA_VERSION) { in run() [all …]
|
D | 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, 202 public void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama, 213 public void panoramaInfoAvailable(MediaObject mediaObject, boolean isPanorama, 341 … && (mCurrentPhoto.getSupportedOperations() & MediaObject.SUPPORT_ACTION) != 0) { in onCreate() 591 && mCurrentPhoto.getMediaType() == MediaObject.MEDIA_TYPE_IMAGE; in canDisplayBottomControl() 640 private static Intent createShareIntent(MediaObject mediaObject) { in createShareIntent() 681 & MediaObject.SUPPORT_EDIT) == 0) { in launchPhotoEditor() 703 & MediaObject.SUPPORT_EDIT) == 0) { in launchSimpleEditor() [all …]
|
D | 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) { in PanoramaMetadataSupport()
|
D | 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); in AlbumSetDataLoader() 85 Arrays.fill(mSetVersion, MediaObject.INVALID_DATA_VERSION); in AlbumSetDataLoader() 168 mItemVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot() 169 mSetVersion[slotIndex] = MediaObject.INVALID_DATA_VERSION; in clearSlot()
|
D | 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); in PhotoDataAdapter() 231 if (item == null) return MediaObject.INVALID_DATA_VERSION; in getVersion() 681 entry.requestedScreenNail = MediaObject.INVALID_DATA_VERSION; in updateImageRequests() 686 entry.requestedFullImage = MediaObject.INVALID_DATA_VERSION; in updateImageRequests() 823 entry.requestedFullImage = MediaObject.INVALID_DATA_VERSION; in updateImageCache() 900 public long requestedScreenNail = MediaObject.INVALID_DATA_VERSION; 901 public long requestedFullImage = MediaObject.INVALID_DATA_VERSION;
|
D | FilterUtils.java | 20 import com.android.gallery3d.data.MediaObject; 180 mediaType = MediaObject.MEDIA_TYPE_IMAGE; in newFilterPath() 183 mediaType = MediaObject.MEDIA_TYPE_VIDEO; in newFilterPath()
|
D | SlideshowDataAdapter.java | 24 import com.android.gallery3d.data.MediaObject; 63 private long mDataVersion = MediaObject.INVALID_DATA_VERSION;
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
D | GalleryProvider.java | 36 import com.android.gallery3d.data.MediaObject; 119 MediaObject object = mDataManager.getMediaObject(path); in query() 135 private Cursor queryPicasaItem(MediaObject image, String[] projection, in queryPicasaItem() 181 MediaObject object = mDataManager.getMediaObject(path); in openFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | MediaSetSource.java | 27 import com.android.gallery3d.data.MediaObject; 133 private long mSourceVersion = MediaObject.INVALID_DATA_VERSION;
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | MediaItemsLoader.java | 31 import com.android.gallery3d.data.MediaObject; 174 MediaObject o = mDataManager.getMediaObject((Path) path); in deleteItemWithPath()
|
D | MediaSetLoader.java | 29 import com.android.gallery3d.data.MediaObject; 176 MediaObject o = mDataManager.getMediaObject((Path) path); in deleteItemWithPath()
|