/packages/apps/DocumentsUI/src/com/android/documentsui/ |
ThumbnailCache.java | 38 * An LRU cache that supports finding the thumbnail of the requested uri with a different size than 53 * Creates a thumbnail LRU cache. 63 * Obtains thumbnail given a uri and a size. 65 * @param uri the uri of the thumbnail in need 66 * @param size the desired size of the thumbnail 67 * @return the thumbnail result 73 // There is not any thumbnail for this uri. 77 // Look for thumbnail of the same size. 86 // Look for thumbnail of bigger sizes. 99 // Look for thumbnail of smaller sizes [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
ObjectViewer.java | 152 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle()); 153 if (thumbnail != null) { 154 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); 156 ImageView thumbView = (ImageView)findViewById(R.id.thumbnail);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
DownloadsDeletionPreferenceGroup.java | 174 Bitmap thumbnail = mDeletionType.getCachedThumbnail(file); local 175 if (thumbnail != null) { 176 filePreference.setIcon(new BitmapDrawable(res, thumbnail));
|
FetchDownloadsLoader.java | 89 Bitmap thumbnail = local 93 result.thumbnails.put(currentFile, thumbnail);
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
BitmapRequestBuilder.java | 121 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail(float sizeMultiplier) { method in class:BitmapRequestBuilder 122 super.thumbnail(sizeMultiplier); 127 * Loads and displays the {@link android.graphics.Bitmap} retrieved by the given thumbnail request if it finishes 128 * before this request. Best used for loading thumbnail {@link Bitmap}s that are smaller and will be loaded more 133 * @see #thumbnail(float) 136 * Note - Any options on the main request will not be passed on to the thumbnail request. For example, if 137 * you want an animation to occur when either the full {@link android.graphics.Bitmap} loads or the thumbnail 138 * loads, you need to call {@link #animate(int)} on both the thumb and the full request. For a simpler thumbnail 139 * option where these options are applied to the humbnail as well, see {@link #thumbnail(float)}. 143 * Only the thumbnail call on the main request will be obeyed, recursive calls to this method are ignored 149 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail(BitmapRequestBuilder<?, TranscodeType> method in class:BitmapRequestBuilder 431 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail( method in class:BitmapRequestBuilder [all...] |
/external/piex/src/ |
piex_types.h | 80 // Optional data to find the preview and thumbnail image to handle them 81 // correctly. A thumbnail is typically 160x120 pixel small and usually 85 Image thumbnail; member in struct:piex::PreviewImageData
|
/frameworks/av/media/libmedia/include/media/ |
IMediaMetadataRetriever.h | 48 int index, int colorFormat, bool metaOnly, bool thumbnail) = 0;
|
MediaMetadataRetrieverInterface.h | 49 int index, int colorFormat, bool metaOnly, bool thumbnail) = 0;
|
mediametadataretriever.h | 93 int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false, bool thumbnail = false);
|
/frameworks/av/media/libmediaplayerservice/ |
MetadataRetrieverClient.h | 56 int index, int colorFormat, bool metaOnly, bool thumbnail);
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
AttachmentProvider.java | 56 * content://com.android.mail.attachmentprovider/acct#/attach#/THUMBNAIL/width#/height# 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 197 Bitmap thumbnail = createThumbnail(type, in); local 198 if (thumbnail == null) { 201 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true); 203 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out) [all...] |
/frameworks/base/packages/SystemUI/shared/tests/src/com/android/systemui/shared/recents/model/ |
HighResThumbnailLoaderTest.java | 122 mTask.thumbnail = new ThumbnailData(); 123 mTask.thumbnail.reducedResolution = false;
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
ActivityOptionsCompat.java | 130 * Create an ActivityOptions specifying an animation where a thumbnail is 136 * those bounds will be filled in for you based on the initial thumbnail 139 * @param source The View that this thumbnail is animating from. This 141 * @param thumbnail The bitmap that will be shown as the initial thumbnail 150 @NonNull Bitmap thumbnail, int startX, int startY) { 153 source, thumbnail, startX, startY));
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
LiveWallpaperInfo.java | 38 public LiveWallpaperInfo(Drawable thumbnail, WallpaperInfo info, Intent intent) { 39 mThumbnail = thumbnail;
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
BrowseViewHolder.java | 44 mAlbumArt = itemView.findViewById(com.android.car.media.R.id.thumbnail);
|
/packages/apps/Gallery2/src/com/android/photos/adapters/ |
PhotoThumbnailAdapter.java | 49 ImageView iv = (ImageView) view.findViewById(R.id.thumbnail);
|
/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...] |
/frameworks/av/media/libmedia/ |
mediametadataretriever.cpp | 158 int index, int colorFormat, bool metaOnly, bool thumbnail) { 159 ALOGV("getImageAtIndex: index(%d) colorFormat(%d) metaOnly(%d) thumbnail(%d)", 160 index, colorFormat, metaOnly, thumbnail); 166 return mRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail);
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
RecentsTaskLoadPlan.java | 134 ThumbnailData thumbnail = loader.getAndUpdateThumbnail(taskKey, local 149 thumbnail, title, titleDescription, activityColor, backgroundColor, 193 task.thumbnail = loader.getAndUpdateThumbnail(taskKey,
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
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, 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. */
|
YuvImageBackendImageSaver.java | 53 /** Progress for JPEG saving once the intermediate thumbnail is done. */ 74 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, 76 // TODO Use thumbnail to speedup RGB thumbnail creation whenever 78 if (thumbnail.isPresent()) { 79 thumbnail.get().close();
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 100 // Only requests from Thumbnail API has this group_id parameter. In other cases, 108 Uri updateDatabase(Bitmap thumbnail) { 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.") [all...] |
/external/ImageMagick/MagickCore/ |
effect.c | 2266 *thumbnail; local [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 37 * Thumbnail generation routines for media provider. 59 * Constant used to indicate the dimension of mini thumbnail. 65 * Constant used to indicate the dimension of micro thumbnail. 71 * This method first examines if the thumbnail embedded in EXIF is bigger than our target 72 * size. If not, then it'll create a thumbnail from original image. Due to efficiency 76 * This method always returns a "square thumbnail" for MICRO_KIND thumbnail. 142 // now we make it a "square thumbnail" for MICRO_KIND thumbnail 151 * Create a video thumbnail for a video. May return null if the video i 231 Bitmap thumbnail = transform(matrix, source, width, height, local 532 Bitmap thumbnail = null; local [all...] |
/frameworks/base/core/java/android/app/ |
ActivityOptions.java | 118 * Bitmap for thumbnail animation. 124 * Start X position of thumbnail animation. 130 * Start Y position of thumbnail animation. 520 * Create an ActivityOptions specifying an animation where a thumbnail 527 * thumbnail location and size provided here. 529 * @param source The View that this thumbnail is animating from. This 531 * @param thumbnail The bitmap that will be shown as the initial thumbnail 539 Bitmap thumbnail, int startX, int startY) { 540 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null) [all...] |