HomeSort by relevance Sort by last modified time
    Searched refs:Thumbnail (Results 1 - 11 of 11) sorted by null

  /packages/apps/Camera/src/com/android/camera/
ThumbnailHolder.java 27 private static Thumbnail sLastThumbnail;
51 public static synchronized Thumbnail getLastThumbnail(ContentResolver resolver) {
52 if (sLastThumbnail != null) { // Thumbnail exists. Checks validity.
54 Thumbnail t = sLastThumbnail;
68 public static synchronized void keep(Thumbnail t) {
ActivityBase.java 66 // The bitmap of the last captured picture thumbnail and the URI of the
68 protected Thumbnail mThumbnail;
69 protected int mThumbnailViewWidth; // layout width of the thumbnail
70 protected AsyncTask<Void, Void, Thumbnail> mLoadThumbnailTask;
71 // An imageview showing the last captured picture thumbnail.
267 // Suppose users tap the thumbnail view, go to the gallery, delete the
268 // image, and coming back to the camera. Thumbnail file will be invalid.
269 // Since the new thumbnail will be loaded in another thread later, the
282 private class LoadThumbnailTask extends AsyncTask<Void, Void, Thumbnail> {
290 protected Thumbnail doInBackground(Void... params)
    [all...]
Thumbnail.java 44 public class Thumbnail {
45 private static final String TAG = "Thumbnail";
52 // whether this thumbnail is read from file
55 // Camera, VideoCamera, and Panorama share the same thumbnail. Use sLock
59 private Thumbnail(Uri uri, Bitmap bitmap, int orientation) {
82 // We only rotate the thumbnail once even if we get OOM.
95 Log.w(TAG, "Failed to rotate thumbnail", t);
127 public static Thumbnail getLastThumbnailFromFile(File filesDir, ContentResolver resolver) {
155 Thumbnail thumbnail = createThumbnail(uri, bitmap, 0) local
    [all...]
Camera.java     [all...]
VideoCamera.java     [all...]
PanoramaActivity.java 312 // If the activity is paused, save the thumbnail to the file here.
315 // Set the thumbnail bitmap here because mThumbnailView must be accessed
685 mThumbnailView = (RotateImageView) findViewById(R.id.thumbnail);
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Thumbnail.java 44 public class Thumbnail {
45 private static final String TAG = "Thumbnail";
52 // whether this thumbnail is read from file
55 // Camera, VideoCamera, and Panorama share the same thumbnail. Use sLock
59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) {
83 // We only rotate the thumbnail once even if we get OOM.
96 Log.w(TAG, "Failed to rotate thumbnail", t);
127 public static Thumbnail loadFrom(File file) {
150 Thumbnail thumbnail = createThumbnail(uri, bitmap, 0) local
    [all...]
Camera.java 156 // A popup window that contains a bigger thumbnail and a list of apps to share.
158 // The bitmap of the last captured picture thumbnail and the URI of the
160 private Thumbnail mThumbnail;
161 // An imageview showing showing the last captured picture thumbnail.
372 if (!mIsImageCaptureIntent) { // no thumbnail in image capture intent
417 // Load the thumbnail from the disk.
418 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME));
426 mThumbnail = Thumbnail.getLastThumbnail(mContentResolver);
    [all...]
VideoCamera.java 161 // A popup window that contains a bigger thumbnail and a list of apps to share.
163 // The bitmap of the last captured video thumbnail and the URI of the
165 private Thumbnail mThumbnail;
166 // An imageview showing showing the last captured picture thumbnail.
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java 31 import com.android.camera.Thumbnail;
148 private Thumbnail mThumbnail;
309 // If the activity is paused, save the thumbnail to the file here.
312 // Set the thumbnail bitmap here because mThumbnailView must be accessed
316 // Share popup may still have the reference to the old thumbnail. Clear it.
718 mThumbnailView = (RotateImageView) findViewById(R.id.thumbnail);
809 // Load the thumbnail from the disk.
811 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME));
    [all...]
  /external/chromium/chrome/browser/resources/file_manager/js/
file_manager.js 9 // Thumbnail view is painful without the exif reader.
426 THUMBNAIL: 'thumb'
503 this.dialogDom_.querySelector('button.thumbnail-view').addEventListener(
509 'button.thumbnail-view').style.display = 'none';
604 this.dialogDom_.querySelector('button.thumbnail-view').disabled = false;
605 } else if (type == FileManager.ListType.THUMBNAIL) {
611 this.dialogDom_.querySelector('button.thumbnail-view').disabled = true;
622 * Initialize the file thumbnail grid.
625 this.grid_ = this.dialogDom_.querySelector('.thumbnail-grid');
735 if (this.listType_ == FileManager.ListType.THUMBNAIL) {
    [all...]

Completed in 1255 milliseconds