Home
last modified time | relevance | path

Searched refs:Thumbnail (Results 1 – 6 of 6) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java44 public class Thumbnail { class
59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) { in Thumbnail() method in Thumbnail
127 public static Thumbnail loadFrom(File file) { in loadFrom()
150 Thumbnail thumbnail = createThumbnail(uri, bitmap, 0); in loadFrom()
155 public static Thumbnail getLastThumbnail(ContentResolver resolver) { in getLastThumbnail()
247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize, in createThumbnail()
299 private static Thumbnail createThumbnail(Uri uri, Bitmap bitmap, int orientation) { in createThumbnail()
305 return new Thumbnail(uri, bitmap, orientation); in createThumbnail()
DVideoCamera.java165 private Thumbnail mThumbnail;
1002 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in onPause()
1636 Bitmap videoFrame = Thumbnail.createVideoThumbnail(mCurrentVideoFilename, in getThumbnail()
1639 mThumbnail = new Thumbnail(mCurrentVideoUri, videoFrame, 0); in getThumbnail()
1650 bitmap = Thumbnail.createVideoThumbnail(mVideoFileDescriptor.getFileDescriptor(), in showAlert()
1653 bitmap = Thumbnail.createVideoThumbnail(mCurrentVideoFilename, in showAlert()
1760 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton()
1765 mThumbnail = Thumbnail.getLastThumbnail(mContentResolver); in updateThumbnailButton()
2420 mThumbnail = Thumbnail.createThumbnail(data, orientation, inSampleSize, uri); in storeImage()
DCamera.java160 private Thumbnail mThumbnail;
418 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton()
426 mThumbnail = Thumbnail.getLastThumbnail(mContentResolver); in updateThumbnailButton()
876 private Thumbnail mPendingThumbnail;
975 Thumbnail t; in updateThumbnail()
1011 Thumbnail t = Thumbnail.createThumbnail( in storeImage()
1614 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in onPause()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java31 import com.android.camera.Thumbnail;
148 private Thumbnail mThumbnail;
811 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton()
820 mThumbnail = Thumbnail.getLastThumbnail(contentResolver); in updateThumbnailButton()
831 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in saveThumbnailToFile()
869 mThumbnail = Thumbnail.createThumbnail( in saveHighResMosaic()
/packages/apps/Camera2/src/com/android/camera/
DThumbnail.java24 public class Thumbnail { class
DVideoModule.java1428 bitmap = Thumbnail.createVideoThumbnailBitmap(mVideoFileDescriptor.getFileDescriptor(), in getVideoThumbnail()
1433 bitmap = Thumbnail.createVideoThumbnailBitmap( in getVideoThumbnail()