/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserBookmarksAdapterItem.java | 23 public BitmapDrawable thumbnail; field in class:BrowserBookmarksAdapterItem
|
H A D | BrowserBookmarksAdapter.java | 96 if (item.thumbnail == null || !item.has_thumbnail) { 99 thumb.setImageDrawable(item.thumbnail); 111 Bitmap thumbnail = item.thumbnail != null ? item.thumbnail.getBitmap() : null; 112 thumbnail = BrowserBookmarksPage.getBitmap(c, 113 BookmarksLoader.COLUMN_INDEX_THUMBNAIL, thumbnail); 114 item.has_thumbnail = thumbnail != null; 115 if (thumbnail != null 116 && (item.thumbnail [all...] |
H A D | BrowserSnapshotPage.java | 271 ImageView thumbnail = (ImageView) view.findViewById(R.id.thumb); 274 thumbnail.setImageResource(R.drawable.browser_thumbnail); 278 thumbnail.setImageBitmap(thumbBitmap);
|
H A D | Bookmarks.java | 63 * @param thumbnail A thumbnail for the bookmark. 70 String name, Bitmap thumbnail, long parent) { 79 bitmapToBytes(thumbnail)); 69 addBookmark(Context context, boolean showToast, String url, String name, Bitmap thumbnail, long parent) argument
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | FileImageRequest.java | 48 // Before using the FileInputStream, check if the Exif has a thumbnail that we can use. 50 byte[] thumbnail = null; 54 thumbnail = exif.getThumbnail(); 60 if (thumbnail != null) { 65 BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length, options); 76 // the thumbnail itself but at least on some phones, the thumbnail 88 return BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail [all...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
H A D | DataUriThumbnailDrawable.java | 31 byte[] thumbnail = null; 35 thumbnail = exif.getThumbnail(); 38 return thumbnail;
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
H A D | LiveWallpaperListAdapter.java | 105 holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail); 112 if (holder.thumbnail != null) { 113 holder.thumbnail.setImageDrawable(wallpaperInfo.thumbnail); 118 if (holder.thumbnail == null) { 119 holder.title.setCompoundDrawablesWithIntrinsicBounds(null, wallpaperInfo.thumbnail, 128 public Drawable thumbnail; field in class:LiveWallpaperListAdapter.LiveWallpaperInfo 135 ImageView thumbnail; field in class:LiveWallpaperListAdapter.ViewHolder 199 Bitmap thumbnail [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
H A D | SingleImageSaver.java | 29 * Implementations should save and close the image and thumbnail (if 34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail, argument
|
H A D | MostRecentImageSaver.java | 72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); 73 if (thumbnail != null) { 76 mThumbnails.remove(thumbnail.getTimestamp()); 79 mSingleImageSaver.saveAndCloseImage(fullSize, Optional.fromNullable(thumbnail),
|
H A D | JpegImageBackendImageSaver.java | 54 * and just routes this image artifact as the thumbnail and to remote devices. 75 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, argument 77 // TODO: Use thumbnail to speed up RGB thumbnail creation whenever 79 if (thumbnail.isPresent()) { 80 thumbnail.get().close(); 122 // Just start the thumbnail now, since there's no earlier event. 154 /** Factor to downsample full-size JPEG image for use in thumbnail bitmap. */
|
H A D | YuvImageBackendImageSaver.java | 53 /** Progress for JPEG saving once the intermediate thumbnail is done. */ 74 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, argument 76 // TODO Use thumbnail to speedup RGB thumbnail creation whenever 78 if (thumbnail.isPresent()) { 79 thumbnail.get().close();
|
/packages/apps/Camera2/src/com/android/camera/session/ |
H A D | SessionNotifier.java | 53 /** Notify that the full size thumbnail is available. */ 54 public void notifySessionThumbnailAvailable(final Bitmap thumbnail); argument
|
H A D | CaptureSessionManagerImpl.java | 46 * <li>For longer operations, update the thumbnail and status message using the 48 * <li>For longer operations, update the thumbnail and status message using the 214 public void notifySessionThumbnailAvailable(final Bitmap thumbnail) { argument 220 listener.onSessionThumbnailUpdate(thumbnail);
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | AttachmentProvider.java | 98 * - If thumbnail Uri, always returns "image/png" (even if there's no attachment) 134 * and "thumbnail", which attempts to generate a thumbnail image. 138 * TODO: The thumbnail format returns null for its failure cases, instead of throwing 198 Bitmap thumbnail = createThumbnail(type, in); 199 if (thumbnail == null) { 202 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true); 204 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out); 208 LogUtils.d(Logging.LOG_TAG, "openFile/thumbnail faile [all...] |
/packages/apps/Gallery2/src/com/android/photos/adapters/ |
H A D | PhotoThumbnailAdapter.java | 49 ImageView iv = (ImageView) view.findViewById(R.id.thumbnail);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Thumbnail.java | 52 // whether this thumbnail is read from file 55 // Camera, VideoCamera, and Panorama share the same thumbnail. Use sLock 83 // We only rotate the thumbnail once even if we get OOM. 96 Log.w(TAG, "Failed to rotate thumbnail", t); 150 Thumbnail thumbnail = createThumbnail(uri, bitmap, 0); 151 if (thumbnail != null) thumbnail.setFromFile(true); 152 return thumbnail; 162 // If there is only image or video, get its thumbnail. If both exist, 163 // get the thumbnail o [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaThumbRequest.java | 108 Uri updateDatabase(Bitmap thumbnail) { argument 123 values.put(Images.Thumbnails.WIDTH, thumbnail.getWidth()); 124 values.put(Images.Thumbnails.HEIGHT, thumbnail.getHeight()); 134 * Check if the corresponding thumbnail and mini-thumb have been created 137 * created, MINI_KIND thumbnail is stored in JPEG file and MICRO_KIND 138 * thumbnail is stored in a random access file (MiniThumbFile). 172 // If we can't retrieve the thumbnail, first check if there is one 186 Log.w(TAG, "Can't create mini thumbnail for " + mPath); 238 Log.w(TAG, "can't create bitmap for thumbnail.");
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | AppController.java | 310 * Starts the post-capture animation with the given thumbnail. 312 * @param thumbnail The thumbnail for the animation. 314 public void startPostCaptureAnimation(Bitmap thumbnail); argument
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | PhotoItem.java | 77 * thumbnail loading. 200 // tiny thumbnail to prevent un-intended "flash of low resolution image" 207 // If we do not have a placeholder bitmap, render a thumbnail with 210 .thumbnail(renderTinySize(uri)); 216 .thumbnail(renderScreenSize(uri));
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 57 * thumbnail. 66 * Sets the compressed thumbnail. 68 protected void setCompressedThumbnail(byte[] thumbnail) { argument 69 mThumbnail = thumbnail; 73 * Returns true it this header contains a compressed thumbnail. 194 * Removes the thumbnail and its related tags. IFD1 will be removed.
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 57 * thumbnail. 66 * Sets the compressed thumbnail. 68 protected void setCompressedThumbnail(byte[] thumbnail) { argument 69 mThumbnail = thumbnail; 73 * Returns true it this header contains a compressed thumbnail. 194 * Removes the thumbnail and its related tags. IFD1 will be removed.
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
H A D | ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 57 * thumbnail. 66 * Sets the compressed thumbnail. 68 protected void setCompressedThumbnail(byte[] thumbnail) { argument 69 mThumbnail = thumbnail; 73 * Returns true it this header contains a compressed thumbnail. 194 * Removes the thumbnail and its related tags. IFD1 will be removed.
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | LiveWallpaperListAdapter.java | 115 public LiveWallpaperTile(Drawable thumbnail, WallpaperInfo info, Intent intent) { argument 116 mThumbnail = thumbnail;
|
H A D | SavedWallpaperImages.java | 114 Log.e(TAG, "Error decoding thumbnail for wallpaper #" + position); 156 public void writeImage(Bitmap thumbnail, byte[] imageBytes) { argument 167 thumbnail.compress(Bitmap.CompressFormat.JPEG, 95, thumbFileStream);
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A D | ExifData.java | 57 * Gets the compressed thumbnail. Returns null if there is no compressed 58 * thumbnail. 67 * Sets the compressed thumbnail. 69 protected void setCompressedThumbnail(byte[] thumbnail) { argument 70 mThumbnail = thumbnail; 74 * Returns true it this header contains a compressed thumbnail. 195 * Removes the thumbnail and its related tags. IFD1 will be removed.
|