HomeSort by relevance Sort by last modified time
    Searched defs:thumbnail (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
PictureData.java 24 Bitmap thumbnail; field in class:PictureData
26 public PictureData(int resourceId, String description, Bitmap thumbnail) {
29 this.thumbnail = thumbnail;
BitmapUtils.java 64 Bitmap thumbnail = getThumbnail(bitmap, 200); local
66 pictures.add(new PictureData(resourceId, description, thumbnail));
85 * Create and return a thumbnail image given the original source bitmap and a max
101 Bitmap thumbnail = Bitmap.createScaledBitmap(original, scaledWidth, scaledHeight, true); local
103 return thumbnail;
  /development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/
WindowAnimations.java 46 final ImageView thumbnail = (ImageView) findViewById(R.id.thumbnail); local
90 // representations. Here, we scale up from a thumbnail image of the final sub-activity
91 thumbnail.setOnClickListener(new View.OnClickListener() {
94 BitmapDrawable drawable = (BitmapDrawable) thumbnail.getDrawable();
98 thumbnail, bm, 0, 0).toBundle();
  /frameworks/base/core/java/com/android/internal/content/
PdfUtils.java 46 * Returns the front page of the pdf as a thumbnail
49 * @return AssetFileDescriptor containing the thumbnail as a bitmap.
59 Bitmap thumbnail = Bitmap.createBitmap(size.x, size.y, local
61 frontPage.render(thumbnail, null, null, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY);
68 // The use of Bitmap.CompressFormat.JPEG leads to a black PDF background on the thumbnail
69 thumbnail.compress(Bitmap.CompressFormat.PNG, quality, out);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
ThumbnailData.java 24 * Data for a single thumbnail.
29 public Bitmap thumbnail; field in class:ThumbnailData
37 out.thumbnail = Bitmap.createHardwareBitmap(snapshot.getSnapshot());
RecentsTaskLoadPlan.java 198 ThumbnailData thumbnail = loader.getAndUpdateThumbnail(taskKey, local
211 thumbnail, title, titleDescription, dismissDescription, appInfoDescription,
262 task.thumbnail = loader.getAndUpdateThumbnail(taskKey,
Task.java 145 public ThumbnailData thumbnail; field in class:Task
203 ThumbnailData thumbnail, String title, String titleDescription,
214 this.thumbnail = thumbnail;
243 this.thumbnail = o.thumbnail;
305 this.thumbnail = thumbnailData;
315 thumbnail = null;
  /packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
MostRecentImageSaver.java 72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); local
73 if (thumbnail != null) {
76 mThumbnails.remove(thumbnail.getTimestamp());
79 mSingleImageSaver.saveAndCloseImage(fullSize, Optional.fromNullable(thumbnail),
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
FetchDownloadsLoader.java 89 Bitmap thumbnail = local
93 result.thumbnails.put(currentFile, thumbnail);
DownloadsDeletionPreferenceGroup.java 174 Bitmap thumbnail = mDeletionType.getCachedThumbnail(file); local
175 if (thumbnail != null) {
176 filePreference.setIcon(new BitmapDrawable(res, thumbnail));
  /frameworks/base/services/core/java/com/android/server/wm/
AppWindowAnimator.java 76 // Special surface for thumbnail animation. If deferThumbnailDestruction is enabled, then we
77 // will make sure that the thumbnail is destroyed after the other surface is completed. This
79 SurfaceControl thumbnail; field in class:AppWindowAnimator
82 // the thumbnail layer to +1 to the highest layer position and replace all setter instances
88 // This flag indicates that the destruction of the thumbnail surface is synchronized with
89 // another animation, so defer the destruction of this thumbnail surface for a single frame
218 if (thumbnail != null) {
219 thumbnail.hide();
220 mService.mWindowPlacerLocked.destroyAfterTransaction(thumbnail);
221 thumbnail = null
    [all...]
  /art/tools/ahat/src/
Summarizer.java 106 // Annotate bitmaps with a thumbnail.
108 String thumbnail = ""; local
  /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...]
  /external/ImageMagick/MagickCore/
montage.c 353 *thumbnail;
424 thumbnail=NewImageList();
434 thumbnail=ThumbnailImage(image,geometry.width,geometry.height,exception);
435 if (thumbnail == (Image *) NULL)
437 image_list[i]=thumbnail;
447 if (thumbnail == (Image *) NULL)
348 *thumbnail; local
    [all...]
  /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...]
DrawableRequestBuilder.java 54 * Loads and displays the {@link GlideDrawable} retrieved by the given thumbnail request if it finishes before this
55 * request. Best used for loading thumbnail {@link GlideDrawable}s that are smaller and will be loaded more quickly
60 * @see #thumbnail(float)
63 * Note - Any options on the main request will not be passed on to the thumbnail request. For example, if
64 * you want an animation to occur when either the full {@link GlideDrawable} loads or the thumbnail loads,
65 * you need to call {@link #animate(int)} on both the thumb and the full request. For a simpler thumbnail
66 * option where these options are applied to the humbnail as well, see {@link #thumbnail(float)}.
70 * Only the thumbnail call on the main request will be obeyed, recursive calls to this method are ignored.
73 * @param thumbnailRequest The request to use to load the thumbnail.
76 public DrawableRequestBuilder<ModelType> thumbnail( method in class:DrawableRequestBuilder
86 public DrawableRequestBuilder<ModelType> thumbnail( method in class:DrawableRequestBuilder
96 public DrawableRequestBuilder<ModelType> thumbnail(float sizeMultiplier) { method in class:DrawableRequestBuilder
    [all...]
GifRequestBuilder.java 48 public GifRequestBuilder<ModelType> thumbnail(GenericRequestBuilder<?, ?, ?, GifDrawable> thumbnailRequest) { method in class:GifRequestBuilder
49 super.thumbnail(thumbnailRequest);
54 * Loads and displays the GIF retrieved by the given thumbnail request if it finishes before this
55 * request. Best used for loading thumbnail GIFs that are smaller and will be loaded more quickly
60 * @see #thumbnail(float)
63 * Note - Any options on the main request will not be passed on to the thumbnail request. For example, if
64 * you want an animation to occur when either the full GIF loads or the thumbnail loads,
65 * you need to call {@link #animate(int)} on both the thumb and the full request. For a simpler thumbnail
66 * option where these options are applied to the humbnail as well, see {@link #thumbnail(float)}.
70 * Only the thumbnail call on the main request will be obeyed, recursive calls to this method are ignored
76 public GifRequestBuilder<ModelType> thumbnail(GifRequestBuilder<?> thumbnailRequest) { method in class:GifRequestBuilder
85 public GifRequestBuilder<ModelType> thumbnail(float sizeMultiplier) { method in class:GifRequestBuilder
    [all...]
GenericRequestBuilder.java 112 * Loads and displays the resource retrieved by the given thumbnail request if it finishes before this request.
113 * Best used for loading thumbnail resources that are smaller and will be loaded more quickly than the full size
117 * @see #thumbnail(float)
120 * Recursive calls to thumbnail are supported.
123 * @param thumbnailRequest The request to use to load the thumbnail.
126 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( method in class:GenericRequestBuilder
135 * by the given size multiplier. If the thumbnail load completes before the fullsize load, the thumbnail will
136 * be shown. If the thumbnail load completes afer the fullsize load, the thumbnail will not be shown
158 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( method in class:GenericRequestBuilder
    [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
piex.cc 123 // Reads the jpeg compressed thumbnail information.
133 preview_image_data->thumbnail = thumbnail_data.thumbnail;
253 &preview_image_data->thumbnail.offset,
254 &preview_image_data->thumbnail.length)) {
435 // Find the jpeg compressed thumbnail and preview image.
437 Image thumbnail; local
443 thumbnail = temp_image;
452 // Try to find the largest thumbnail/preview.
454 if (temp_image > thumbnail) {
    [all...]
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
SavedWallpaperImages.java 123 public void writeImage(Bitmap thumbnail, byte[] imageBytes) {
134 thumbnail.compress(Bitmap.CompressFormat.JPEG, 95, thumbFileStream);
  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
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
134 ImageView thumbnail; field in class:LiveWallpaperListAdapter.ViewHolder
196 Bitmap thumbnail = Bitmap.createBitmap(thumbWidth, thumbHeight local
    [all...]
  /frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
ImageUtils.java 50 * Normally, this test will fail when there is a missing thumbnail. However, when
53 * the test repeatedly to get to each new render assertion generating its thumbnail.
65 BufferedImage thumbnail = scale(image, scale, scale); local
69 String message = "Unable to load golden thumbnail: " + relativePath + "\n";
70 message = saveImageAndAppendMessage(thumbnail, message, relativePath);
80 assertImageSimilar(relativePath, goldenImage, thumbnail, MAX_PERCENT_DIFFERENCE);
233 // When creating a thumbnail, using the above code doesn't work very well;
252 // So, now we *start* the thumbnail operation by resizing from width 1000 to
318 * Saves the generated thumbnail image and appends the info message to an initial message
329 initialMessage += "Thumbnail for current rendering stored at " + output.getPath()
    [all...]
  /packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
StressProvider.java 168 return getContext().getResources().openRawResourceFd(document.thumbnail);
193 document.thumbnail != -1 ? Document.FLAG_SUPPORTS_THUMBNAIL : 0);
206 final int thumbnail; field in class:StressProvider.StubDocument
209 int thumbnail) {
214 this.thumbnail = thumbnail;
227 public static StubDocument createFile(Context context, String mimeType, int thumbnail,
231 createRandomTime(index), 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...]

Completed in 350 milliseconds

1 2 3 4 5