Searched defs:thumbnail (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DThumbnailData.java24 * Data for a single thumbnail.
29 public Bitmap thumbnail; field in class:ThumbnailData
37 out.thumbnail = Bitmap.createHardwareBitmap(snapshot.getSnapshot());
H A DTask.java145 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;
202 Task(TaskKey key, int affiliationTaskId, int affiliationColor, Drawable icon, ThumbnailData thumbnail, String title, String titleDescription, String dismissDescription, String appInfoDescription, int colorPrimary, int colorBackground, boolean isLaunchTarget, boolean isStackTask, boolean isSystemApp, boolean isDockable, Rect bounds, ActivityManager.TaskDescription taskDescription, int resizeMode, ComponentName topActivity, boolean isLocked) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifData.java56 * 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.
/frameworks/support/compat/java/android/support/v4/app/
H A DActivityOptionsCompat.java124 * Create an ActivityOptions specifying an animation where a thumbnail is
130 * those bounds will be filled in for you based on the initial thumbnail
133 * @param source The View that this thumbnail is animating from. This
135 * @param thumbnail The bitmap that will be shown as the initial thumbnail
143 Bitmap thumbnail, int startX, int startY) {
146 source, thumbnail, startX, startY));
142 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java76 // 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
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp518 void* thumbnail = device->getThumbnail(objectID, length); local
519 if (! thumbnail)
522 env->SetByteArrayRegion(array, 0, length, (const jbyte *)thumbnail);
524 free(thumbnail);
/frameworks/av/media/libstagefright/
H A DItemTable.cpp497 ALOGV("Image item id %d uses thumbnail item id %d", mRefs[i], mItemId);
1426 const ImageItem &thumbnail = mItemIdToImageMap[thumbnailIndex]; local
1428 meta->setInt32(kKeyThumbnailWidth, thumbnail.width);
1429 meta->setInt32(kKeyThumbnailHeight, thumbnail.height);
1431 thumbnail.hvcc->data(), thumbnail.hvcc->size());
1432 ALOGV("thumbnail meta: %dx%d, index %zd",
1433 thumbnail.width, thumbnail.height, thumbnailIndex);
1435 ALOGW("Referenced thumbnail doe
[all...]
/frameworks/base/core/java/android/app/
H A DActivityOptions.java112 * Bitmap for thumbnail animation.
118 * Start X position of thumbnail animation.
124 * Start Y position of thumbnail animation.
470 * Create an ActivityOptions specifying an animation where a thumbnail
477 * thumbnail location and size provided here.
479 * @param source The View that this thumbnail is animating from. This
481 * @param thumbnail The bitmap that will be shown as the initial thumbnail
489 Bitmap thumbnail, int startX, int startY) {
490 return makeThumbnailScaleUpAnimation(source, thumbnail, start
488 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
510 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
515 makeThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, boolean scaleUp) argument
567 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
574 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument
[all...]
H A DActivityManager.java1892 public Bitmap thumbnail; field in class:ActivityManager.RunningTaskInfo
1940 if (thumbnail != null) {
1942 thumbnail.writeToParcel(dest, 0);
1960 thumbnail = Bitmap.CREATOR.createFromParcel(source);
1962 thumbnail = null;
2041 * @param thumbnail Thumbnail to use for the recents entry. Should be the size given by
2050 @Nullable TaskDescription description, @NonNull Bitmap thumbnail) {
2056 final int tw = thumbnail.getWidth();
2057 final int th = thumbnail.getHeight();
2059 Bitmap bm = Bitmap.createBitmap(size.x, size.y, thumbnail
2049 addAppTask(@onNull Activity activity, @NonNull Intent intent, @Nullable TaskDescription description, @NonNull Bitmap thumbnail) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java284 private Bitmap mLastThumbnail; // Last thumbnail captured for this item.
285 private final File mLastThumbnailFile; // File containing last thumbnail.
1028 * Sets the last thumbnail with the current task bounds and the system orientation.
1029 * @return whether the thumbnail was set
1031 boolean setLastThumbnailLocked(Bitmap thumbnail) { argument
1050 return setLastThumbnailLocked(thumbnail, taskWidth, taskHeight, orientation);
1054 * Sets the last thumbnail with the current task bounds.
1055 * @return whether the thumbnail was set
1057 private boolean setLastThumbnailLocked(Bitmap thumbnail, int taskWidth, int taskHeight, argument
1059 if (mLastThumbnail != thumbnail) {
[all...]
H A DActivityManagerService.java10077 ActivityManager.TaskDescription description, Bitmap thumbnail) throws RemoteException {
10093 if (thumbnail.getWidth() != mThumbnailWidth
10094 || thumbnail.getHeight() != mThumbnailHeight) {
10095 throw new IllegalArgumentException("Bad thumbnail size: got "
10096 + thumbnail.getWidth() + "x" + thumbnail.getHeight() + ", require "
10147 task.setLastThumbnailLocked(thumbnail);
10076 addAppTask(IBinder activityToken, Intent intent, ActivityManager.TaskDescription description, Bitmap thumbnail) argument
[all...]

Completed in 289 milliseconds