Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java94 int dateTaken = cursor.getInt(INDEX_DATE_TAKEN); in updateBucketEntriesFromTable() local
99 entry.dateTaken = dateTaken; in updateBucketEntriesFromTable()
101 entry.dateTaken = Math.max(entry.dateTaken, dateTaken); in updateBucketEntriesFromTable()
125 return b.dateTaken - a.dateTaken; in loadBucketEntriesFromImagesAndVideoTable()
206 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/UniversalMediaPlayer/java/com/android/pump/db/
DOther.java88 public boolean setDateTaken(long dateTaken) { in setDateTaken() argument
89 if (dateTaken == mDateTaken) { in setDateTaken()
92 mDateTaken = dateTaken; in setDateTaken()
DVideoStore.java256 long dateTaken = cursor.getLong(dateTakenColumn); in loadData() local
257 updated |= other.setDateTaken(dateTaken); in loadData()
/packages/apps/Camera2/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()
DVideoModule.java321 private String createName(long dateTaken) { in createName() argument
322 Date date = new Date(dateTaken); in createName()
1221 long dateTaken = System.currentTimeMillis(); in generateVideoFilename() local
1222 String title = createName(dateTaken); in generateVideoFilename()
1231 mCurrentVideoValues.put(Video.Media.DATE_TAKEN, dateTaken); in generateVideoFilename()
1232 mCurrentVideoValues.put(MediaColumns.DATE_MODIFIED, dateTaken / 1000); in generateVideoFilename()
1948 long dateTaken = System.currentTimeMillis(); in storeImage() local
1949 String title = CameraUtil.instance().createJpegName(dateTaken); in storeImage()
1961 getServices().getMediaSaver().addImage(data, title, dateTaken, loc, orientation, exif, in storeImage()
/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/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/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()