Home
last modified time | relevance | path

Searched refs:dateTaken (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java108 int dateTaken = cursor.getInt(INDEX_DATE_TAKEN); in updateBucketEntriesFromTable() local
113 entry.dateTaken = dateTaken; in updateBucketEntriesFromTable()
115 entry.dateTaken = Math.max(entry.dateTaken, dateTaken); in updateBucketEntriesFromTable()
139 return b.dateTaken - a.dateTaken; in loadBucketEntriesFromImagesAndVideoTable()
222 public int dateTaken; field in BucketHelper.BucketEntry
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java164 if (image != null && (video == null || image.dateTaken >= video.dateTaken)) { in getLastThumbnail()
182 public Media(long id, int orientation, long dateTaken, Uri uri) { in Media() argument
185 this.dateTaken = dateTaken; in Media()
191 public final long dateTaken; field in Thumbnail.Media
DUtil.java588 public static String createJpegName(long dateTaken) { in createJpegName() argument
590 return sImageFileNamer.generateName(dateTaken); in createJpegName()
701 public String generateName(long dateTaken) { in generateName() argument
702 Date date = new Date(dateTaken); in generateName()
707 if (dateTaken / 1000 == mLastDate / 1000) { in generateName()
711 mLastDate = dateTaken; in generateName()
DVideoCamera.java344 private String createName(long dateTaken) { in createName() argument
345 Date date = new Date(dateTaken); in createName()
1392 long dateTaken = System.currentTimeMillis(); in generateVideoFilename() local
1393 String title = createName(dateTaken); in generateVideoFilename()
1401 mCurrentVideoValues.put(Video.Media.DATE_TAKEN, dateTaken); in generateVideoFilename()
2409 long dateTaken = System.currentTimeMillis(); in storeImage() local
2410 String title = Util.createJpegName(dateTaken); in storeImage()
2413 Uri uri = Storage.addImage(mContentResolver, title, dateTaken, loc, orientation, data, in storeImage()
DCamera.java850 long dateTaken; field in Camera.SaveRequest
894 r.dateTaken = System.currentTimeMillis(); in addImage()
935 storeImage(r.data, r.loc, r.width, r.height, r.dateTaken, in run()
992 int height, long dateTaken, int previewWidth) { in storeImage() argument
993 String title = Util.createJpegName(dateTaken); in storeImage()
995 Uri uri = Storage.addImage(mContentResolver, title, dateTaken, in storeImage()
/packages/apps/Gallery/src/com/android/camera/gallery/
DVideoList.java61 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN); in loadImageFromCursor() local
62 if (dateTaken == 0) { in loadImageFromCursor()
63 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000; in loadImageFromCursor()
73 mimeType, dateTaken, title); in loadImageFromCursor()
DImageList.java123 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN); in loadImageFromCursor() local
124 if (dateTaken == 0) { in loadImageFromCursor()
125 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000; in loadImageFromCursor()
135 contentUri(id), dataPath, mimeType, dateTaken, title, in loadImageFromCursor()
DVideoObject.java47 String mimeType, long dateTaken, String title) { in VideoObject() argument
49 mimeType, dateTaken, title); in VideoObject()
DImage.java47 String mimeType, long dateTaken, String title, in Image() argument
50 mimeType, dateTaken, title); in Image()
DBaseImage.java60 long dateTaken, String title) { in BaseImage() argument
68 mDateTaken = dateTaken; in BaseImage()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java321 private String createName(long dateTaken) { in createName() argument
322 Date date = new Date(dateTaken); in createName()
1220 long dateTaken = System.currentTimeMillis(); in generateVideoFilename() local
1221 String title = createName(dateTaken); in generateVideoFilename()
1230 mCurrentVideoValues.put(Video.Media.DATE_TAKEN, dateTaken); in generateVideoFilename()
1231 mCurrentVideoValues.put(MediaColumns.DATE_MODIFIED, dateTaken / 1000); in generateVideoFilename()
1947 long dateTaken = System.currentTimeMillis(); in storeImage() local
1948 String title = CameraUtil.instance().createJpegName(dateTaken); in storeImage()
1960 getServices().getMediaSaver().addImage(data, title, dateTaken, loc, orientation, exif, in storeImage()
DPanoUtil.java23 public static String createName(String format, long dateTaken) { in createName() argument
24 Date date = new Date(dateTaken); in createName()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java742 public String createJpegName(long dateTaken) { in createJpegName() argument
744 return mImageFileNamer.generateName(dateTaken); in createJpegName()
1026 public String generateName(long dateTaken) { in generateName() argument
1027 Date date = new Date(dateTaken); in generateName()
1032 if (dateTaken / 1000 == mLastDate / 1000) { in generateName()
1036 mLastDate = dateTaken; in generateName()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoUtil.java23 public static String createName(String format, long dateTaken) { in createName() argument
24 Date date = new Date(dateTaken); in createName()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java200 public static Uri addImage(ContentResolver cr, String title, long dateTaken, in addImage() argument
236 values.put(Images.Media.DATE_TAKEN, dateTaken); in addImage()
DMenuHelper.java430 long dateTaken = image.getDateTaken(); in onDetailsClicked()
431 if (dateTaken != 0) { in onDetailsClicked()