HomeSort by relevance Sort by last modified time
    Searched defs:thumbnail (Results 1 - 25 of 112) 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/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
ThumbnailData.java 27 * Data for a single thumbnail.
31 public final Bitmap thumbnail; field in class:ThumbnailData
42 thumbnail = null;
54 thumbnail = Bitmap.createHardwareBitmap(snapshot.getSnapshot());
RecentsTaskLoadPlan.java 134 ThumbnailData thumbnail = loader.getAndUpdateThumbnail(taskKey, local
149 thumbnail, title, titleDescription, activityColor, backgroundColor,
193 task.thumbnail = loader.getAndUpdateThumbnail(taskKey,
Task.java 135 public ThumbnailData thumbnail; field in class:Task
182 public Task(TaskKey key, Drawable icon, ThumbnailData thumbnail, String title,
189 this.thumbnail = thumbnail;
212 this.thumbnail = o.thumbnail;
256 this.thumbnail = thumbnailData;
266 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),
  /art/tools/ahat/src/main/com/android/ahat/
Summarizer.java 101 // Annotate bitmaps with a thumbnail.
103 String thumbnail = ""; local
  /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));
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/
TaskSystemShortcut.java 193 Bitmap thumbnail = RecentsTransition.drawViewIntoHardwareBitmap( external variable declarations
201 taskId, thumbnail, taskBounds));
  /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...]
  /frameworks/av/media/libmedia/
IMediaMetadataRetriever.cpp 170 sp<IMemory> getImageAtIndex(int index, int colorFormat, bool metaOnly, bool thumbnail)
172 ALOGV("getImageAtIndex: index %d, colorFormat(%d) metaOnly(%d) thumbnail(%d)",
173 index, colorFormat, metaOnly, thumbnail);
179 data.writeInt32(thumbnail);
385 bool thumbnail = (data.readInt32() != 0); local
386 ALOGV("getImageAtIndex: index(%d), colorFormat(%d), metaOnly(%d), thumbnail(%d)",
387 index, colorFormat, metaOnly, thumbnail);
391 sp<IMemory> bitmap = getImageAtIndex(index, colorFormat, metaOnly, thumbnail);
  /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);
230 // When creating a thumbnail, using the above code doesn't work very well;
249 // So, now we *start* the thumbnail operation by resizing from width 1000 to
315 * Saves the generated thumbnail image and appends the info message to an initial message
326 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/Launcher3/quickstep/src/com/android/quickstep/views/
TaskThumbnailView.java 61 public void setValue(TaskThumbnailView thumbnail, float dimAlphaMultiplier) {
62 thumbnail.setDimAlphaMultipler(dimAlphaMultiplier);
113 * Updates this thumbnail.
121 if (thumbnailData != null && thumbnailData.thumbnail != null) {
122 Bitmap bm = thumbnailData.thumbnail;
145 * If dimAlpha is 0, no dimming is applied; if dimAlpha is 1, the thumbnail will be black.
184 // Draw the background in all cases, except when the thumbnail data is opaque
223 final float thumbnailWidth = mThumbnailData.thumbnail.getWidth() -
225 final float thumbnailHeight = mThumbnailData.thumbnail.getHeight() -
232 // If we haven't measured , skip the thumbnail drawing and only draw the backgroun
    [all...]

Completed in 503 milliseconds

1 2 3 4 5