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

/frameworks/support/v4/jellybean/android/support/v4/app/
H A DActivityOptionsCompatJB.java40 Bitmap thumbnail, int startX, int startY) {
42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY));
39 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DTaskDescription.java91 public void setThumbnail(Drawable thumbnail) { argument
92 mThumbnail = thumbnail;
H A DRecentsPanelView.java153 // If we set the default thumbnail now, we avoid an onLayout when we update
154 // the thumbnail later (if they both have the same dimensions)
484 private void updateThumbnail(ViewHolder h, Drawable thumbnail, boolean show, boolean anim) { argument
485 if (thumbnail != null) {
489 h.thumbnailViewImage.setImageDrawable(thumbnail);
494 h.thumbnailViewDrawable.getIntrinsicWidth() != thumbnail.getIntrinsicWidth() ||
495 h.thumbnailViewDrawable.getIntrinsicHeight() != thumbnail.getIntrinsicHeight()) {
500 float scale = mThumbnailWidth / (float) thumbnail.getIntrinsicWidth();
513 h.thumbnailViewDrawable = thumbnail;
525 // Look for a view showing this thumbnail, t
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DActivityOptionsCompat.java85 * Create an ActivityOptions specifying an animation where a thumbnail is
91 * those bounds will be filled in for you based on the initial thumbnail
94 * @param source The View that this thumbnail is animating from. This
96 * @param thumbnail The bitmap that will be shown as the initial thumbnail
104 Bitmap thumbnail, int startX, int startY) {
107 ActivityOptionsCompatJB.makeThumbnailScaleUpAnimation(source, thumbnail,
103 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTask.java123 public Bitmap thumbnail; field in class:Task
184 public void notifyTaskDataLoaded(Bitmap thumbnail, Drawable applicationIcon) { argument
186 this.thumbnail = thumbnail;
195 thumbnail = defaultThumbnail;
/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/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java61 // Special surface for thumbnail animation. If deferThumbnailDestruction is enabled, then we
62 // will make sure that the thumbnail is destroyed after the other surface is completed. This
64 SurfaceControl thumbnail; field in class:AppWindowAnimator
72 // This flag indicates that the destruction of the thumbnail surface is synchronized with
73 // another animation, so defer the destruction of this thumbnail surface for a single frame
146 if (thumbnail != null) {
147 thumbnail.destroy();
148 thumbnail = null;
190 if (WindowManagerService.SHOW_TRANSACTIONS) WindowManagerService.logSurface(thumbnail,
191 "thumbnail", "PO
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp345 void* thumbnail = device->getThumbnail(objectID, length); local
346 if (! thumbnail)
349 env->SetByteArrayRegion(array, 0, length, (const jbyte *)thumbnail);
351 free(thumbnail);
/frameworks/base/core/java/android/app/
H A DActivityOptions.java72 * Bitmap for thumbnail animation.
78 * Start X position of thumbnail animation.
84 * Start Y position of thumbnail animation.
294 * Create an ActivityOptions specifying an animation where a thumbnail
301 * thumbnail location and size provided here.
303 * @param source The View that this thumbnail is animating from. This
305 * @param thumbnail The bitmap that will be shown as the initial thumbnail
313 Bitmap thumbnail, int startX, int startY) {
314 return makeThumbnailScaleUpAnimation(source, thumbnail, start
312 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
335 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
357 makeThumbnailScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
362 makeThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, boolean scaleUp) argument
396 makeThumbnailAspectScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
422 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
429 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument
[all...]
H A DActivityManager.java1026 public Bitmap thumbnail; field in class:ActivityManager.RunningTaskInfo
1061 if (thumbnail != null) {
1063 thumbnail.writeToParcel(dest, 0);
1078 thumbnail = Bitmap.CREATOR.createFromParcel(source);
1080 thumbnail = null;
1158 * @param thumbnail Thumbnail to use for the recents entry. Should be the size given by
1167 @Nullable TaskDescription description, @NonNull Bitmap thumbnail) {
1173 final int tw = thumbnail.getWidth();
1174 final int th = thumbnail.getHeight();
1176 Bitmap bm = Bitmap.createBitmap(size.x, size.y, thumbnail
1166 addAppTask(@onNull Activity activity, @NonNull Intent intent, @Nullable TaskDescription description, @NonNull Bitmap thumbnail) argument
[all...]
H A DActivityManagerNative.java583 Bitmap thumbnail = Bitmap.CREATOR.createFromParcel(data);
584 int res = addAppTask(activityToken, intent, descr, thumbnail);
2997 ActivityManager.TaskDescription description, Bitmap thumbnail) throws RemoteException {
3004 thumbnail.writeToParcel(data, 0);
2996 addAppTask(IBinder activityToken, Intent intent, ActivityManager.TaskDescription description, Bitmap thumbnail) argument
H A DIActivityManager.java123 ActivityManager.TaskDescription description, Bitmap thumbnail) throws RemoteException;
122 addAppTask(IBinder activityToken, Intent intent, ActivityManager.TaskDescription description, Bitmap thumbnail) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java150 private Bitmap mLastThumbnail; // Last thumbnail captured for this item.
151 private final File mLastThumbnailFile; // File containing last thumbnail.
423 * Sets the last thumbnail.
424 * @return whether the thumbnail was set
426 boolean setLastThumbnail(Bitmap thumbnail) { argument
427 if (mLastThumbnail != thumbnail) {
428 mLastThumbnail = thumbnail;
429 if (thumbnail == null) {
434 mService.mTaskPersister.saveImage(thumbnail, mFilename);
447 // Only load the thumbnail fil
[all...]
H A DActivityManagerService.java8242 ActivityManager.TaskDescription description, Bitmap thumbnail) throws RemoteException {
8258 if (thumbnail.getWidth() != mThumbnailWidth
8259 || thumbnail.getHeight() != mThumbnailHeight) {
8260 throw new IllegalArgumentException("Bad thumbnail size: got "
8261 + thumbnail.getWidth() + "x" + thumbnail.getHeight() + ", require "
8314 task.setLastThumbnail(thumbnail);
8241 addAppTask(IBinder activityToken, Intent intent, ActivityManager.TaskDescription description, Bitmap thumbnail) argument

Completed in 7536 milliseconds