Home
last modified time | relevance | path

Searched refs:dateTaken (Results 1 – 20 of 20) 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/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()
DDrmImageList.java62 long miniThumbMagic, String mimeType, long dateTaken, in DrmImage() argument
65 mimeType, dateTaken, title, rotation); in DrmImage()
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/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/Camera/src/com/android/camera/
DPanoUtil.java23 public static String createName(String format, long dateTaken) { in createName() argument
24 Date date = new Date(dateTaken); in createName()
DUtil.java653 public static String createJpegName(long dateTaken) { in createJpegName() argument
655 return sImageFileNamer.generateName(dateTaken); in createJpegName()
759 public String generateName(long dateTaken) { in generateName() argument
760 Date date = new Date(dateTaken); in generateName()
765 if (dateTaken / 1000 == mLastDate / 1000) { in generateName()
769 mLastDate = dateTaken; in generateName()
DVideoModule.java339 private String createName(long dateTaken) { in createName() argument
340 Date date = new Date(dateTaken); in createName()
1391 long dateTaken = System.currentTimeMillis(); in generateVideoFilename() local
1392 String title = createName(dateTaken); in generateVideoFilename()
1401 mCurrentVideoValues.put(Video.Media.DATE_TAKEN, dateTaken); in generateVideoFilename()
2555 long dateTaken = System.currentTimeMillis(); in storeImage() local
2556 String title = Util.createJpegName(dateTaken); in storeImage()
2559 Uri uri = Storage.addImage(mContentResolver, title, dateTaken, loc, orientation, data, in storeImage()
DPhotoModule.java1160 long dateTaken, int width, int height, int rotation) { in prepareUri() argument
1168 mDateTaken = dateTaken; in prepareUri()
/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/Gallery2/tests/src/com/android/gallery3d/data/
DLocalDataTest.java256 static void insertImageData(SQLiteDatabase db, long dateTaken, in insertImageData() argument
262 + dateTaken + ", 1280395646, 1275934796, '" + bucketId + "', " in insertImageData()
379 static void insertVideoData(SQLiteDatabase db, long dateTaken, in insertVideoData() argument
385 + dateTaken + ", 1281503663, 1281503662, '" + bucketId + "', " in insertVideoData()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java203 public static Uri addImage(ContentResolver cr, String title, long dateTaken, in addImage() argument
239 values.put(Images.Media.DATE_TAKEN, dateTaken); in addImage()
DMenuHelper.java430 long dateTaken = image.getDateTaken(); in onDetailsClicked()
431 if (dateTaken != 0) { in onDetailsClicked()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorActivity.java666 long dateTaken = System.currentTimeMillis(); in getVideoOutputMediaFileTitle() local
667 Date date = new Date(dateTaken); in getVideoOutputMediaFileTitle()