Home
last modified time | relevance | path

Searched refs:MediaDetails (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java33 import com.android.camera.data.MediaDetails;
54 public static Dialog create(Context context, MediaDetails mediaDetails) { in create()
76 private final MediaDetails mMediaDetails;
83 public DetailsAdapter(Context context, MediaDetails details) {
90 private void setDetails(Context context, MediaDetails details) {
96 case MediaDetails.INDEX_SIZE: {
101 case MediaDetails.INDEX_WHITE_BALANCE: {
107 case MediaDetails.INDEX_FLASH: {
108 MediaDetails.FlashState flash =
109 (MediaDetails.FlashState) detail.getValue();
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsHelper.java25 import com.android.gallery3d.data.MediaDetails;
35 public MediaDetails getDetails(); in getDetails()
104 case MediaDetails.INDEX_TITLE: in getDetailsName()
106 case MediaDetails.INDEX_DESCRIPTION: in getDetailsName()
108 case MediaDetails.INDEX_DATETIME: in getDetailsName()
110 case MediaDetails.INDEX_LOCATION: in getDetailsName()
112 case MediaDetails.INDEX_PATH: in getDetailsName()
114 case MediaDetails.INDEX_WIDTH: in getDetailsName()
116 case MediaDetails.INDEX_HEIGHT: in getDetailsName()
118 case MediaDetails.INDEX_ORIENTATION: in getDetailsName()
[all …]
DDialogDetailsView.java35 import com.android.gallery3d.data.MediaDetails;
53 private MediaDetails mDetails;
79 MediaDetails details = mSource.getDetails(); in reloadDetails()
88 private void setDetails(MediaDetails details) { in setDetails()
127 public DetailsAdapter(MediaDetails details) { in DetailsAdapter()
134 private void setDetails(Context context, MediaDetails details) { in setDetails()
140 case MediaDetails.INDEX_LOCATION: { in setDetails()
146 case MediaDetails.INDEX_SIZE: { in setDetails()
151 case MediaDetails.INDEX_WHITE_BALANCE: { in setDetails()
157 case MediaDetails.INDEX_FLASH: { in setDetails()
[all …]
DDetailsAddressResolver.java25 import com.android.gallery3d.data.MediaDetails;
107 context, MediaDetails.INDEX_LOCATION), addressText); in updateLocation()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaDetails.java34 public class MediaDetails implements Iterable<Entry<Integer, Object>> { class
112 private static void setExifData(MediaDetails details, ExifTag tag, in setExifData()
124 if (key == MediaDetails.INDEX_FLASH) { in setExifData()
125 MediaDetails.FlashState state = new MediaDetails.FlashState( in setExifData()
134 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo()
146 MediaDetails.INDEX_FLASH); in extractExifInfo()
148 MediaDetails.INDEX_WIDTH); in extractExifInfo()
150 MediaDetails.INDEX_HEIGHT); in extractExifInfo()
152 MediaDetails.INDEX_MAKE); in extractExifInfo()
154 MediaDetails.INDEX_MODEL); in extractExifInfo()
[all …]
DLocalMediaItem.java83 public MediaDetails getDetails() { in getDetails()
84 MediaDetails details = super.getDetails(); in getDetails()
85 details.addDetail(MediaDetails.INDEX_PATH, filePath); in getDetails()
86 details.addDetail(MediaDetails.INDEX_TITLE, caption); in getDetails()
88 details.addDetail(MediaDetails.INDEX_DATETIME, in getDetails()
90 details.addDetail(MediaDetails.INDEX_WIDTH, width); in getDetails()
91 details.addDetail(MediaDetails.INDEX_HEIGHT, height); in getDetails()
94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude}); in getDetails()
96 if (fileSize > 0) details.addDetail(MediaDetails.INDEX_SIZE, fileSize); in getDetails()
DUriImage.java252 public MediaDetails getDetails() { in getDetails()
253 MediaDetails details = super.getDetails(); in getDetails()
255 details.addDetail(MediaDetails.INDEX_WIDTH, mWidth); in getDetails()
256 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight); in getDetails()
259 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); in getDetails()
263 details.addDetail(MediaDetails.INDEX_PATH, filePath); in getDetails()
264 MediaDetails.extractExifInfo(details, filePath); in getDetails()
DMediaObject.java123 public MediaDetails getDetails() { in getDetails()
124 MediaDetails details = new MediaDetails(); in getDetails()
DLocalImage.java320 public MediaDetails getDetails() { in getDetails()
321 MediaDetails details = super.getDetails(); in getDetails()
322 details.addDetail(MediaDetails.INDEX_ORIENTATION, Integer.valueOf(rotation)); in getDetails()
326 MediaDetails.extractExifInfo(details, filePath); in getDetails()
DMediaSet.java178 public MediaDetails getDetails() { in getDetails()
179 MediaDetails details = super.getDetails(); in getDetails()
180 details.addDetail(MediaDetails.INDEX_TITLE, getName()); in getDetails()
DLocalVideo.java222 public MediaDetails getDetails() { in getDetails()
223 MediaDetails details = super.getDetails(); in getDetails()
226 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration( in getDetails()
/packages/apps/Camera2/src/com/android/camera/data/
DMediaDetails.java33 public class MediaDetails implements Iterable<Entry<Integer, Object>> { class
111 private static void setExifData(MediaDetails details, ExifTag tag, in setExifData()
123 if (key == MediaDetails.INDEX_FLASH) { in setExifData()
124 MediaDetails.FlashState state = new MediaDetails.FlashState( in setExifData()
137 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo()
148 MediaDetails.INDEX_FLASH); in extractExifInfo()
150 MediaDetails.INDEX_WIDTH); in extractExifInfo()
152 MediaDetails.INDEX_HEIGHT); in extractExifInfo()
154 MediaDetails.INDEX_MAKE); in extractExifInfo()
156 MediaDetails.INDEX_MODEL); in extractExifInfo()
[all …]
DFilmstripItemBase.java94 public Optional<MediaDetails> getMediaDetails() { in getMediaDetails()
95 MediaDetails mediaDetails = new MediaDetails(); in getMediaDetails()
96 mediaDetails.addDetail(MediaDetails.INDEX_TITLE, mData.getTitle()); in getMediaDetails()
97 mediaDetails.addDetail(MediaDetails.INDEX_WIDTH, getDimensions().getWidth()); in getMediaDetails()
98 mediaDetails.addDetail(MediaDetails.INDEX_HEIGHT, getDimensions().getHeight()); in getMediaDetails()
99 mediaDetails.addDetail(MediaDetails.INDEX_PATH, mData.getFilePath()); in getMediaDetails()
100 mediaDetails.addDetail(MediaDetails.INDEX_DATETIME, in getMediaDetails()
104 mediaDetails.addDetail(MediaDetails.INDEX_SIZE, mSizeInBytes); in getMediaDetails()
109 mediaDetails.addDetail(MediaDetails.INDEX_LOCATION, location.getLocationString()); in getMediaDetails()
DVideoItem.java130 public Optional<MediaDetails> getMediaDetails() { in getMediaDetails()
131 Optional<MediaDetails> optionalDetails = super.getMediaDetails(); in getMediaDetails()
133 MediaDetails mediaDetails = optionalDetails.get(); in getMediaDetails()
134 String duration = MediaDetails.formatDuration(mContext, in getMediaDetails()
136 mediaDetails.addDetail(MediaDetails.INDEX_DURATION, duration); in getMediaDetails()
DPhotoItem.java99 public Optional<MediaDetails> getMediaDetails() { in getMediaDetails()
100 Optional<MediaDetails> optionalDetails = super.getMediaDetails(); in getMediaDetails()
102 MediaDetails mediaDetails = optionalDetails.get(); in getMediaDetails()
103 MediaDetails.extractExifInfo(mediaDetails, mData.getFilePath()); in getMediaDetails()
104 mediaDetails.addDetail(MediaDetails.INDEX_ORIENTATION, mData.getOrientation()); in getMediaDetails()
DFilmstripItem.java65 public Optional<MediaDetails> getMediaDetails(); in getMediaDetails()
DPlaceholderItem.java129 public Optional<MediaDetails> getMediaDetails() { in getMediaDetails()
DSessionItem.java138 public Optional<MediaDetails> getMediaDetails() { in getMediaDetails()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java37 import com.android.gallery3d.data.MediaDetails;
768 public MediaDetails getDetails() { in getDetails()
DAlbumSetPage.java39 import com.android.gallery3d.data.MediaDetails;
754 public MediaDetails getDetails() { in getDetails()
DPhotoPage.java47 import com.android.gallery3d.data.MediaDetails;
1417 public MediaDetails getDetails() { in getDetails()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java95 import com.android.camera.data.MediaDetails;
2976 Optional<MediaDetails> details = data.getMediaDetails(); in showDetailsDialog()