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

  /packages/apps/Gallery2/src/com/android/photos/data/
MediaRetriever.java 25 TemporaryThumbnail(5), Thumbnail(10), TemporaryPreview(15), Preview(20), Original(30);
40 return MediaSize.Thumbnail;
84 * for a given image size. For example, a thumbnail may be smaller or of a
85 * different aspect ratio than the generated thumbnail.
FileRetriever.java 64 if (imageSize == MediaSize.Thumbnail) {
80 } else if (imageSize == MediaSize.Thumbnail
MediaCacheDatabase.java 79 + MediaSize.Thumbnail.getValue();
82 + MediaSize.Thumbnail.getValue();
MediaCache.java 54 * The MediaCache is an LRU cache, but does not allow the thumbnail cache to
230 if (size == MediaSize.Thumbnail) {
347 * Retrieves a thumbnail. complete will be called when the thumbnail is
348 * available. If lowResolution is not null and a lower resolution thumbnail
349 * is available before the thumbnail, lowResolution will be called prior to
356 * available prior to retrieving the thumbnail, this will be
360 addTask(contentUri, complete, lowResolution, MediaSize.Thumbnail);
662 if (mediaSize == MediaSize.Thumbnail) {
MediaCacheUtils.java 75 return (size == MediaSize.Thumbnail) ? mTargetThumbnailSize : mTargetPreviewSize;
  /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/Camera/src/com/android/camera/
Thumbnail.java 24 public class Thumbnail {
VideoModule.java     [all...]
  /packages/apps/Gallery2/src/com/android/camera/
Thumbnail.java 24 public class Thumbnail {
VideoModule.java 595 // Make sure to disable the thumbnail preview after the
    [all...]
  /packages/apps/Gallery2/tests/src/com/android/photos/data/
MediaCacheTest.java 219 int targetSize = MediaCacheUtils.getTargetSize(MediaSize.Thumbnail);
264 targetSize = MediaCacheUtils.getTargetSize(MediaSize.Thumbnail);
332 assertNotNull(mMediaCache.getCachedFile(uri, MediaSize.Thumbnail));
341 assertNotNull(mMediaCache.getCachedFile(imageUri, MediaSize.Thumbnail));
342 long thumbSize = mMediaCache.getCachedFile(imageUri, MediaSize.Thumbnail).length();
355 assertNotNull(mMediaCache.getCachedFile(imageUri, MediaSize.Thumbnail));
367 assertNotNull(mMediaCache.getCachedFile(imageUri, MediaSize.Thumbnail));
369 assertNull(mMediaCache.getCachedFile(oldestUri, MediaSize.Thumbnail));
  /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 467 milliseconds