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

1 2 3 4 5 6

  /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;
  /cts/tests/app/src/android/app/cts/
ActivityManagerRunningTaskInfoTest.java 34 mRunningTaskInfo.thumbnail = null;
58 assertNull(values.thumbnail);
61 // test thumbnail is not null
62 mRunningTaskInfo.thumbnail = Bitmap.createBitmap(480, 320,
69 assertNotNull(values.thumbnail);
70 assertEquals(320, values.thumbnail.getHeight());
71 assertEquals(480, values.thumbnail.getWidth());
72 assertEquals(Bitmap.Config.RGB_565, values.thumbnail.getConfig());
86 assertNull(values.thumbnail);
89 // test thumbnail is not nul
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
ThumbnailData.java 23 * Data for a single thumbnail.
26 public Bitmap thumbnail; field in class:ThumbnailData
Task.java 144 public Bitmap thumbnail; field in class:Task
199 Bitmap thumbnail, String title, String titleDescription, String dismissDescription,
210 this.thumbnail = thumbnail;
238 this.thumbnail = o.thumbnail;
297 public void notifyTaskDataLoaded(Bitmap thumbnail, Drawable applicationIcon,
300 this.thumbnail = thumbnail;
310 thumbnail = defaultThumbnail
    [all...]
RecentsTaskLoader.java 194 // Load the thumbnail if it is stale or we haven't cached one yet
197 if (DEBUG) Log.d(TAG, "Loading thumbnail: " + t.key);
201 if (cachedThumbnailData.thumbnail == null) {
202 cachedThumbnailData.thumbnail = mDefaultThumbnail;
219 t.notifyTaskDataLoaded(newThumbnailData.thumbnail, newIcon,
324 /** Returns the size of the thumbnail cache. */
362 Bitmap thumbnail = null; local
366 thumbnail = thumbnailData.thumbnail;
370 // Grab the thumbnail/icon from the cache, if either don't exist, then trigger a reload an
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
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.length
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/drawables/
DataUriThumbnailDrawable.java 31 byte[] thumbnail = null;
35 thumbnail = exif.getThumbnail();
38 return thumbnail;
  /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/support/v4/jellybean/android/support/v4/app/
ActivityOptionsCompatJB.java 40 Bitmap thumbnail, int startX, int startY) {
42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY));
  /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/src/com/android/systemui/recents/tv/views/
RecentsTvTransitionHelper.java 58 if (task.thumbnail != null && task.thumbnail.getWidth() > 0 &&
59 task.thumbnail.getHeight() > 0) {
107 // Check both the rect and the thumbnail for null. The rect can be null if the user
110 // The thumbnail can be null if the app was partially launched on TV. In this case
112 if (taskRect == null || task.thumbnail == null) {
133 Bitmap thumbnail = Bitmap.createScaledBitmap(task.thumbnail, taskRect.width(), local
136 .overridePendingAppTransitionAspectScaledThumb(thumbnail, taskRect.left,
  /frameworks/base/services/core/java/com/android/server/wm/
AppWindowAnimator.java 75 // Special surface for thumbnail animation. If deferThumbnailDestruction is enabled, then we
76 // will make sure that the thumbnail is destroyed after the other surface is completed. This
78 SurfaceControl thumbnail; field in class:AppWindowAnimator
84 // This flag indicates that the destruction of the thumbnail surface is synchronized with
85 // another animation, so defer the destruction of this thumbnail surface for a single frame
198 if (thumbnail != null) {
199 thumbnail.hide();
200 mService.mWindowPlacerLocked.destroyAfterTransaction(thumbnail);
201 thumbnail = null;
271 if (SHOW_TRANSACTIONS) WindowManagerService.logSurface(thumbnail,
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
SingleImageSaver.java 29 * Implementations should save and close the image and thumbnail (if
34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail,
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/Camera2/src/com/android/camera/session/
SessionNotifier.java 53 /** Notify that the full size thumbnail is available. */
54 public void notifySessionThumbnailAvailable(final Bitmap thumbnail);
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
ObjectBrowser.java 94 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle());
95 if (thumbnail != null) {
96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length);
98 ImageView thumbView = (ImageView)view.findViewById(R.id.thumbnail);
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);
  /external/piex/src/
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)) {
428 // Find the jpeg compressed thumbnail and preview image.
430 Image thumbnail; local
436 thumbnail = temp_image;
445 // Try to find the largest thumbnail/preview.
447 if (temp_image > thumbnail) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
RecentsTvImpl.java 80 // Try starting with a thumbnail transition
86 // Fall through below to the non-thumbnail transition
130 if (thumbnailData.thumbnail != null) {
131 Bitmap thumbnail = Bitmap.createScaledBitmap(thumbnailData.thumbnail, rect.width(), local
134 thumbnail, (int) rect.left, (int) rect.top, (int) rect.width(),
137 // If both the screenshot and thumbnail fails, then just fall back to the default transition
  /frameworks/base/packages/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);
  /external/glide/library/src/main/java/com/bumptech/glide/
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...]
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...]
  /frameworks/base/media/jni/
android_media_ExifInterface.cpp 103 ALOGI("No memory to get thumbnail");
110 // Read thumbnail.
139 if (image_data.thumbnail.length > 0
140 && image_data.thumbnail.format == ::piex::Image::kJpegCompressed) {
142 map.add(String8("ThumbnailOffset"), String8::format("%d", image_data.thumbnail.offset));
143 map.add(String8("ThumbnailLength"), String8::format("%d", image_data.thumbnail.length));
296 std::unique_ptr<jbyte[]> thumbnailData(new jbyte[image_data.thumbnail.length]);
298 ALOGE("No memory to parse a thumbnail");
301 jbyteArray jthumbnailByteArray = env->NewByteArray(image_data.thumbnail.length);
303 ALOGE("No memory to parse a thumbnail");
    [all...]

Completed in 762 milliseconds

1 2 3 4 5 6