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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DTaskDescription.java88 public void setThumbnail(Bitmap thumbnail) { argument
89 mThumbnail = thumbnail;
H A DRecentsPanelView.java147 // If we set the default thumbnail now, we avoid an onLayout when we update
148 // the thumbnail later (if they both have the same dimensions)
475 private void updateThumbnail(ViewHolder h, Bitmap thumbnail, boolean show, boolean anim) { argument
476 if (thumbnail != null) {
480 h.thumbnailViewImage.setImageBitmap(thumbnail);
485 h.thumbnailViewImageBitmap.getWidth() != thumbnail.getWidth() ||
486 h.thumbnailViewImageBitmap.getHeight() != thumbnail.getHeight()) {
491 float scale = mThumbnailWidth / (float) thumbnail.getWidth();
504 h.thumbnailViewImageBitmap = thumbnail;
516 // Look for a view showing this thumbnail, t
[all...]
/frameworks/base/core/java/android/app/
H A DActivityOptions.java58 * Bitmap for thumbnail animation.
64 * Start X position of thumbnail animation.
70 * Start Y position of thumbnail animation.
222 * Create an ActivityOptions specifying an animation where a thumbnail
229 * thumbnail location and size provided here.
231 * @param source The View that this thumbnail is animating from. This
233 * @param thumbnail The bitmap that will be shown as the initial thumbnail
241 Bitmap thumbnail, int startX, int startY) {
242 return makeThumbnailScaleUpAnimation(source, thumbnail, start
240 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
263 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
285 makeThumbnailScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
290 makeThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, boolean scaleUp) argument
[all...]
H A DActivityManager.java613 public Bitmap thumbnail; field in class:ActivityManager.RunningTaskInfo
642 if (thumbnail != null) {
644 thumbnail.writeToParcel(dest, 0);
659 thumbnail = Bitmap.CREATOR.createFromParcel(source);
661 thumbnail = null;
757 * to the index of the thumbnail returned by {@link #getTaskThumbnails(int)}.
H A DActivityManagerNative.java427 Bitmap thumbnail = data.readInt() != 0
430 activityStopped(token, map, thumbnail, description);
622 Bitmap thumbnail = data.readInt() != 0
625 reportThumbnail(token, thumbnail, description);
2231 Bitmap thumbnail, CharSequence description) throws RemoteException
2238 if (thumbnail != null) {
2240 thumbnail.writeToParcel(data, 0);
2502 Bitmap thumbnail, CharSequence description) throws RemoteException
2508 if (thumbnail != null) {
2510 thumbnail
2230 activityStopped(IBinder token, Bundle state, Bitmap thumbnail, CharSequence description) argument
2501 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument
[all...]
H A DIActivityManager.java97 Bitmap thumbnail, CharSequence description) throws RemoteException;
118 Bitmap thumbnail, CharSequence description) throws RemoteException;
96 activityStopped(IBinder token, Bundle state, Bitmap thumbnail, CharSequence description) argument
117 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument
H A DActivityThread.java2888 Bitmap thumbnail = mAvailThumbnailBitmap;
2890 if (thumbnail == null) {
2906 thumbnail = Bitmap.createBitmap(r.activity.getResources().getDisplayMetrics(),
2908 thumbnail.eraseColor(0);
2912 if (thumbnail != null) {
2918 cv.setBitmap(thumbnail);
2919 if (!r.activity.onCreateThumbnail(thumbnail, cv)) {
2920 mAvailThumbnailBitmap = thumbnail;
2921 thumbnail = null;
2929 "Unable to create thumbnail o
3045 Bitmap thumbnail; field in class:ActivityThread.StopInfo
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DAppWindowAnimator.java41 // Special surface for thumbnail animation.
42 Surface thumbnail; field in class:AppWindowAnimator
106 if (thumbnail != null) {
107 thumbnail.destroy();
108 thumbnail = null;
149 if (WindowManagerService.SHOW_TRANSACTIONS) WindowManagerService.logSurface(thumbnail,
150 "thumbnail", "POS " + tmpFloats[Matrix.MTRANS_X]
152 thumbnail.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]);
153 if (WindowManagerService.SHOW_TRANSACTIONS) WindowManagerService.logSurface(thumbnail,
154 "thumbnail", "alph
[all...]
/frameworks/ex/carousel/test/src/com/android/carouseltest/
H A DTaskSwitcherActivity.java69 Bitmap thumbnail; field in class:TaskSwitcherActivity.ActivityDescription
79 thumbnail = _thumbnail;
88 thumbnail = null;
145 Bitmap bitmap = desc.thumbnail == null ? mBlankBitmap : desc.thumbnail;
177 Log.v(TAG, "New thumbnail for id=" + id + ", dimensions=" + w + "x" + h
181 info.thumbnail = bitmap;
249 if (r.thumbnail != null) {
250 int thumbWidth = r.thumbnail.getWidth();
251 int thumbHeight = r.thumbnail
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp344 void* thumbnail = device->getThumbnail(objectID, length); local
345 if (! thumbnail)
348 env->SetByteArrayRegion(array, 0, length, (const jbyte *)thumbnail);
350 free(thumbnail);
/frameworks/base/services/java/com/android/server/am/
H A DActivityStack.java1057 final void activityStoppedLocked(ActivityRecord r, Bundle icicle, Bitmap thumbnail, argument
1070 r.updateThumbnail(thumbnail, description);
3521 // We are now idle. If someone is waiting for a thumbnail from
3571 // Send thumbnail if requested.
3576 Slog.w(TAG, "Exception thrown when requesting thumbnail", e);
3603 // Report back to any thumbnail receivers.
4448 // thumbnail to return.
H A DActivityManagerService.java575 * still report back to a pending thumbnail receiver.
4462 public final void activityStopped(IBinder token, Bundle icicle, Bitmap thumbnail, argument
4479 r.stack.activityStoppedLocked(r, icicle, thumbnail, description);
5678 if (ci.thumbnail == null && receiver != null) {
5712 if (localLOGV) Slog.v(TAG, "Requesting top thumbnail");
5716 Slog.w(TAG, "Exception thrown when requesting thumbnail", e);
5725 // activity should never have a canned thumbnail! Oh well.
6122 Bitmap thumbnail, CharSequence description) {
6123 //System.out.println("Report thumbnail for " + token + ": " + thumbnail);
6121 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument
6129 sendPendingThumbnail(ActivityRecord r, IBinder token, Bitmap thumbnail, CharSequence description, boolean always) argument
[all...]

Completed in 8736 milliseconds