/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/Camera2/src/com/android/camera/ |
Thumbnail.java | 24 public class Thumbnail {
|
VideoModule.java | [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_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
image_encoder.js | 127 * Return a thumbnail for an image. 129 * @param {number=} opt_shrinkage Thumbnail should be at least this much smaller 131 * @return {HTMLCanvasElement} Thumbnail canvas. 181 // can save to file and generate a thumbnail. 204 * @param {HTMLCanvasElement} canvas Canvas to use as thumbnail. 205 * @param {number} quality Thumbnail quality.
|
exif_encoder.js | 22 var EXIF_TAG_JPG_THUMB_OFFSET = 0x0201; // Pointer from TIFF to thumbnail. 23 var EXIF_TAG_JPG_THUMB_LENGTH = 0x0202; // Length of thumbnail data. 83 * @param {HTMLCanvasElement} canvas Thumbnail canvas. 84 * @param {number} quality (0..1] Thumbnail encoding quality. 105 var thumbnail = this.ifd_.thumbnail; 106 if (!thumbnail) 107 thumbnail = this.ifd_.thumbnail = {}; 109 ExifEncoder.findOrCreateTag(thumbnail, EXIF_TAG_IMAGE_WIDTH).value [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
file_grid.js | 20 * Thumbnail quality. 99 * Decorates thumbnail. 101 * @param {Entry} entry Entry to render a thumbnail for. 105 li.className = 'thumbnail-item'; 110 frame.className = 'thumbnail-frame'; 124 bottom.className = 'thumbnail-bottom'; 130 * Decorates the box containing a centered thumbnail image. 133 * @param {Entry} entry Entry which thumbnail is generating for. 136 * @param {FileGrid.ThumbnailQuality} quality Thumbnail quality. 144 box.setAttribute('generic-thumbnail', 'folder') [all...] |
file_transfer_controller.js | 224 * Preloads an image thumbnail for the specified file entry. 227 * @param {Entry} entry Entry to preload a thumbnail for. 230 var metadataTypes = 'thumbnail|filesystem'; 247 * Renders a drag-and-drop thumbnail. 250 * @return {HTMLElement} Element containing the thumbnail. 273 // Option 2. Thumbnail image available, then render it without 276 thumbnailImage.classList.add('drag-thumbnail'); 282 // Option 3. Thumbnail not available. Render an icon and a label.
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/ |
exif_parser.js | 20 var EXIF_TAG_JPG_THUMB_OFFSET = 0x0201; // Pointer from TIFF to thumbnail. 21 var EXIF_TAG_JPG_THUMB_LENGTH = 0x0202; // Length of thumbnail data. 190 thumbnail: {} 200 // Thumbnail Directory chained from the end of the image directory. 202 this.vlog('Read thumbnail directory.'); 204 this.readDirectory(br, metadata.ifd.thumbnail); 205 // If no thumbnail orientation is encoded, assume same orientation as 208 this.parseOrientation(metadata.ifd.thumbnail) || 230 // Thumbnail may be linked from the image directory. 231 if (EXIF_TAG_JPG_THUMB_OFFSET in metadata.ifd.thumbnail & [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/ |
ribbon.js | 8 * Scrollable thumbnail ribbon at the bottom of the Gallery in the Slide mode. 286 * Create a DOM element for a thumbnail. 304 var thumbnail = this.ownerDocument.createElement('div'); 305 thumbnail.className = 'ribbon-image'; 306 thumbnail.addEventListener('click', function() { 312 util.createChild(thumbnail, 'image-wrapper'); 315 this.setThumbnailImage_.bind(this, thumbnail, url)); 320 this.renderCache_[url] = thumbnail; 321 return thumbnail; 325 * Set the thumbnail image [all...] |
mosaic_mode.js | 482 return; // Thumbnail unchanged, nothing to do. 596 // Unload a thumbnail. 609 // Load a thumbnail. 622 // Load a thumbnail. [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/ |
media_util.js | 8 * Loads a thumbnail using provided url. In CANVAS mode, loaded images 18 * jpeg thumbnail if available. Default: USE_EMBEDDED. 52 if (opt_metadata.thumbnail && opt_metadata.thumbnail.url && 54 this.thumbnailUrl_ = opt_metadata.thumbnail.url; 56 opt_metadata.thumbnail.transform; 62 // Use fallback as the primary thumbnail. 65 } // else the generic thumbnail based on the media type will be used. 70 * in a container, when loading a thumbnail in FillMode.AUTO mode. 77 * Type of displaying a thumbnail within a box [all...] |
/external/chromium_org/content/common/gpu/media/ |
video_decode_accelerator_unittest.cc | [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...] |