/packages/apps/Camera2/src/com/android/camera/ui/ |
DetailsDialog.java | 33 import com.android.camera.data.MediaDetails; 51 * @param mediaDetails the media details to display. 54 public static Dialog create(Context context, MediaDetails mediaDetails) { 57 detailsList.setAdapter(new DetailsAdapter(context, mediaDetails)); 72 * {@link MediaDetails} instance. 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: [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DetailsHelper.java | 25 import com.android.gallery3d.data.MediaDetails; 35 public MediaDetails getDetails(); 104 case MediaDetails.INDEX_TITLE: 106 case MediaDetails.INDEX_DESCRIPTION: 108 case MediaDetails.INDEX_DATETIME: 110 case MediaDetails.INDEX_LOCATION: 112 case MediaDetails.INDEX_PATH: 114 case MediaDetails.INDEX_WIDTH: 116 case MediaDetails.INDEX_HEIGHT: 118 case MediaDetails.INDEX_ORIENTATION [all...] |
DialogDetailsView.java | 35 import com.android.gallery3d.data.MediaDetails; 53 private MediaDetails mDetails; 79 MediaDetails details = mSource.getDetails(); 88 private void setDetails(MediaDetails details) { 127 public DetailsAdapter(MediaDetails details) { 134 private void setDetails(Context context, MediaDetails details) { 140 case MediaDetails.INDEX_LOCATION: { 146 case MediaDetails.INDEX_SIZE: { 151 case MediaDetails.INDEX_WHITE_BALANCE: { 157 case MediaDetails.INDEX_FLASH: [all...] |
DetailsAddressResolver.java | 25 import com.android.gallery3d.data.MediaDetails; 107 context, MediaDetails.INDEX_LOCATION), addressText);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalMediaItem.java | 83 public MediaDetails getDetails() { 84 MediaDetails details = super.getDetails(); 85 details.addDetail(MediaDetails.INDEX_PATH, filePath); 86 details.addDetail(MediaDetails.INDEX_TITLE, caption); 88 details.addDetail(MediaDetails.INDEX_DATETIME, 90 details.addDetail(MediaDetails.INDEX_WIDTH, width); 91 details.addDetail(MediaDetails.INDEX_HEIGHT, height); 94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude}); 96 if (fileSize > 0) details.addDetail(MediaDetails.INDEX_SIZE, fileSize);
|
MediaDetails.java | 34 public class MediaDetails implements Iterable<Entry<Integer, Object>> { 36 private static final String TAG = "MediaDetails"; 112 private static void setExifData(MediaDetails details, ExifTag tag, 124 if (key == MediaDetails.INDEX_FLASH) { 125 MediaDetails.FlashState state = new MediaDetails.FlashState( 134 public static void extractExifInfo(MediaDetails details, String filePath) { 146 MediaDetails.INDEX_FLASH); 148 MediaDetails.INDEX_WIDTH); 150 MediaDetails.INDEX_HEIGHT) [all...] |
UriImage.java | 251 public MediaDetails getDetails() { 252 MediaDetails details = super.getDetails(); 254 details.addDetail(MediaDetails.INDEX_WIDTH, mWidth); 255 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight); 258 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); 262 details.addDetail(MediaDetails.INDEX_PATH, filePath); 263 MediaDetails.extractExifInfo(details, filePath);
|
MediaObject.java | 123 public MediaDetails getDetails() { 124 MediaDetails details = new MediaDetails();
|
LocalVideo.java | 218 public MediaDetails getDetails() { 219 MediaDetails details = super.getDetails(); 222 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration(
|
LocalImage.java | 320 public MediaDetails getDetails() { 321 MediaDetails details = super.getDetails(); 322 details.addDetail(MediaDetails.INDEX_ORIENTATION, Integer.valueOf(rotation)); 326 MediaDetails.extractExifInfo(details, filePath);
|
MediaSet.java | 178 public MediaDetails getDetails() { 179 MediaDetails details = super.getDetails(); 180 details.addDetail(MediaDetails.INDEX_TITLE, getName());
|
/packages/apps/Camera2/src/com/android/camera/data/ |
FilmstripItemBase.java | 94 public Optional<MediaDetails> getMediaDetails() { 95 MediaDetails mediaDetails = new MediaDetails(); 96 mediaDetails.addDetail(MediaDetails.INDEX_TITLE, mData.getTitle()); 97 mediaDetails.addDetail(MediaDetails.INDEX_WIDTH, getDimensions().getWidth()); 98 mediaDetails.addDetail(MediaDetails.INDEX_HEIGHT, getDimensions().getHeight()) [all...] |
MediaDetails.java | 33 public class MediaDetails implements Iterable<Entry<Integer, Object>> { 35 private static final Log.Tag TAG = new Log.Tag("MediaDetails"); 111 private static void setExifData(MediaDetails details, ExifTag tag, 123 if (key == MediaDetails.INDEX_FLASH) { 124 MediaDetails.FlashState state = new MediaDetails.FlashState( 135 * MediaDetails instance. 137 public static void extractExifInfo(MediaDetails details, String filePath) { 148 MediaDetails.INDEX_FLASH); 150 MediaDetails.INDEX_WIDTH) [all...] |
VideoItem.java | 130 public Optional<MediaDetails> getMediaDetails() { 131 Optional<MediaDetails> optionalDetails = super.getMediaDetails(); 133 MediaDetails mediaDetails = optionalDetails.get(); 134 String duration = MediaDetails.formatDuration(mContext, 136 mediaDetails.addDetail(MediaDetails.INDEX_DURATION, duration);
|
PhotoItem.java | 99 public Optional<MediaDetails> getMediaDetails() { 100 Optional<MediaDetails> optionalDetails = super.getMediaDetails(); 102 MediaDetails mediaDetails = optionalDetails.get(); 103 MediaDetails.extractExifInfo(mediaDetails, mData.getFilePath()); 104 mediaDetails.addDetail(MediaDetails.INDEX_ORIENTATION, mData.getOrientation());
|
FilmstripItem.java | 65 public Optional<MediaDetails> getMediaDetails();
|
PlaceholderItem.java | 129 public Optional<MediaDetails> getMediaDetails() {
|
SessionItem.java | 138 public Optional<MediaDetails> getMediaDetails() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumPage.java | 37 import com.android.gallery3d.data.MediaDetails; 768 public MediaDetails getDetails() {
|
AlbumSetPage.java | 39 import com.android.gallery3d.data.MediaDetails; 754 public MediaDetails getDetails() {
|
PhotoPage.java | 50 import com.android.gallery3d.data.MediaDetails; [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CameraActivity.java | 96 import com.android.camera.data.MediaDetails; [all...] |