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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DThumbnailData.java23 * Data for a single thumbnail.
26 public Bitmap thumbnail; field in class:ThumbnailData
H A DTask.java144 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, argument
300 this.thumbnail = thumbnail;
310 thumbnail
198 Task(TaskKey key, int affiliationTaskId, int affiliationColor, Drawable icon, Bitmap 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) argument
[all...]
/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/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/DocumentsUI/perf-tests/src/com/android/documentsui/
H A DStressProvider.java168 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, argument
231 createRandomTime(index), thumbnail);
208 StubDocument(String mimeType, String id, int size, long lastModified, int thumbnail) 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/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java75 // 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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java118 // so ignore the current activity and try and preload the thumbnail for the
371 // Only preload the icon (but not the thumbnail since it may not have been taken for
376 // the dimensions of the thumbnail that we need for the transition into Recents, but
715 Bitmap thumbnail = drawThumbnailTransitionBitmap(task, mTmpTransform,
719 specs.add(new AppTransitionAnimationSpec(task.key.id, thumbnail, toTaskRect));
731 Bitmap thumbnail = drawThumbnailTransitionBitmap(toTask, toTransform,
733 if (thumbnail != null) {
736 thumbnail, (int) toTaskRect.left, (int) toTaskRect.top,
739 // If both the screenshot and thumbnail fails, then just fall back to the default transition
772 Bitmap thumbnail) {
771 drawThumbnailTransitionBitmap(Task toTask, TaskViewTransform toTransform, Bitmap thumbnail) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityOptions.java104 * Bitmap for thumbnail animation.
110 * Start X position of thumbnail animation.
116 * Start Y position of thumbnail animation.
429 * Create an ActivityOptions specifying an animation where a thumbnail
436 * thumbnail location and size provided here.
438 * @param source The View that this thumbnail is animating from. This
440 * @param thumbnail The bitmap that will be shown as the initial thumbnail
448 Bitmap thumbnail, int startX, int startY) {
449 return makeThumbnailScaleUpAnimation(source, thumbnail, start
447 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
470 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
492 makeThumbnailScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
497 makeThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, boolean scaleUp) argument
531 makeThumbnailAspectScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
557 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
564 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument
[all...]
H A DActivityManager.java1577 public Bitmap thumbnail; field in class:ActivityManager.RunningTaskInfo
1625 if (thumbnail != null) {
1627 thumbnail.writeToParcel(dest, 0);
1645 thumbnail = Bitmap.CREATOR.createFromParcel(source);
1647 thumbnail = null;
1726 * @param thumbnail Thumbnail to use for the recents entry. Should be the size given by
1735 @Nullable TaskDescription description, @NonNull Bitmap thumbnail) {
1741 final int tw = thumbnail.getWidth();
1742 final int th = thumbnail.getHeight();
1744 Bitmap bm = Bitmap.createBitmap(size.x, size.y, thumbnail
1734 addAppTask(@onNull Activity activity, @NonNull Intent intent, @Nullable TaskDescription description, @NonNull Bitmap thumbnail) argument
[all...]
H A DActivityManagerNative.java650 Bitmap thumbnail = Bitmap.CREATOR.createFromParcel(data);
651 int res = addAppTask(activityToken, intent, descr, thumbnail);
3692 ActivityManager.TaskDescription description, Bitmap thumbnail) throws RemoteException {
3699 thumbnail.writeToParcel(data, 0);
3691 addAppTask(IBinder activityToken, Intent intent, ActivityManager.TaskDescription description, Bitmap thumbnail) argument
H A DIActivityManager.java136 ActivityManager.TaskDescription description, Bitmap thumbnail) throws RemoteException;
135 addAppTask(IBinder activityToken, Intent intent, ActivityManager.TaskDescription description, Bitmap thumbnail) argument
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp515 void* thumbnail = device->getThumbnail(objectID, length); local
516 if (! thumbnail)
519 env->SetByteArrayRegion(array, 0, length, (const jbyte *)thumbnail);
521 free(thumbnail);
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java229 private Bitmap mLastThumbnail; // Last thumbnail captured for this item.
230 private final File mLastThumbnailFile; // File containing last thumbnail.
570 * Sets the last thumbnail with the current task bounds and the system orientation.
571 * @return whether the thumbnail was set
573 boolean setLastThumbnailLocked(Bitmap thumbnail) { argument
590 return setLastThumbnailLocked(thumbnail, taskWidth, taskHeight, serviceConfig.orientation);
594 * Sets the last thumbnail with the current task bounds.
595 * @return whether the thumbnail was set
597 private boolean setLastThumbnailLocked(Bitmap thumbnail, int taskWidth, int taskHeight, argument
599 if (mLastThumbnail != thumbnail) {
[all...]
H A DActivityManagerService.java9216 ActivityManager.TaskDescription description, Bitmap thumbnail) throws RemoteException {
9232 if (thumbnail.getWidth() != mThumbnailWidth
9233 || thumbnail.getHeight() != mThumbnailHeight) {
9234 throw new IllegalArgumentException("Bad thumbnail size: got "
9235 + thumbnail.getWidth() + "x" + thumbnail.getHeight() + ", require "
9268 // Use the full screen as the context for the task thumbnail
9297 task.setLastThumbnailLocked(thumbnail);
9215 addAppTask(IBinder activityToken, Intent intent, ActivityManager.TaskDescription description, Bitmap thumbnail) argument

Completed in 453 milliseconds