Searched refs:thumbnail (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/core/java/android/app/
H A DIThumbnailReceiver.aidl27 void newThumbnail(int id, in Bitmap thumbnail, CharSequence description);
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 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...]
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 DActivityManagerNative.java427 Bitmap thumbnail = data.readInt() != 0
430 activityStopped(token, map, thumbnail, description);
622 Bitmap thumbnail = data.readInt() != 0
625 reportThumbnail(token, thumbnail, description);
2246 Bitmap thumbnail, CharSequence description) throws RemoteException
2253 if (thumbnail != null) {
2255 thumbnail.writeToParcel(data, 0);
2517 Bitmap thumbnail, CharSequence description) throws RemoteException
2523 if (thumbnail != null) {
2525 thumbnail
2245 activityStopped(IBinder token, Bundle state, Bitmap thumbnail, CharSequence description) argument
2516 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument
[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...]
H A DWindowAnimator.java468 if (appAnimator != null && appAnimator.thumbnail != null) {
H A DWindowManagerService.java237 * Animation thumbnail is as far as possible below the window above
238 * the thumbnail (or in other words as far as possible above the window
271 /** Fraction of animation at which the recents thumbnail becomes completely transparent */
498 // Used for thumbnail transitions. True if we're scaling up, false if scaling down
3380 // Animation for zooming thumbnail from its initial size to
3430 // Entering app zooms out from the center of the thumbnail.
4384 if (tAppAnimator.thumbnail != null) {
4385 // The old token is animating with a thumbnail, transfer
4387 if (wAppAnimator.thumbnail != null) {
4388 wAppAnimator.thumbnail
[all...]
/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.java148 // If we set the default thumbnail now, we avoid an onLayout when we update
149 // the thumbnail later (if they both have the same dimensions)
482 private void updateThumbnail(ViewHolder h, Bitmap thumbnail, boolean show, boolean anim) { argument
483 if (thumbnail != null) {
487 h.thumbnailViewImage.setImageBitmap(thumbnail);
492 h.thumbnailViewImageBitmap.getWidth() != thumbnail.getWidth() ||
493 h.thumbnailViewImageBitmap.getHeight() != thumbnail.getHeight()) {
498 float scale = mThumbnailWidth / (float) thumbnail.getWidth();
511 h.thumbnailViewImageBitmap = thumbnail;
523 // Look for a view showing this thumbnail, t
[all...]
H A DRecentTasksLoader.java106 // Render the default thumbnail background
196 Bitmap thumbnail = am.getTaskTopThumbnail(td.persistentTaskId);
200 + td + ": " + thumbnail);
202 if (thumbnail != null) {
203 td.setThumbnail(thumbnail);
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectBrowser.java94 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);
H A DObjectViewer.java151 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle());
152 if (thumbnail != null) {
153 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length);
155 ImageView thumbView = (ImageView)findViewById(R.id.thumbnail);
/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/media/java/android/media/
H A DThumbnailUtils.java65 * Constant used to indicate the dimension of mini thumbnail.
71 * Constant used to indicate the dimension of micro thumbnail.
77 * This method first examines if the thumbnail embedded in EXIF is bigger than our target
78 * size. If not, then it'll create a thumbnail from original image. Due to efficiency
82 * This method always returns a "square thumbnail" for MICRO_KIND thumbnail.
143 // now we make it a "square thumbnail" for MICRO_KIND thumbnail
152 * Create a video thumbnail for a video. May return null if the video is
216 * @param options options used during thumbnail extractio
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaImageItem.java627 final Bitmap thumbnail = scaleImage(mFilename, width, height);
629 callback.onThumbnail(thumbnail, indices[i]);
928 * @param width The thumbnail width
929 * @param height The thumbnail height
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java574 * still report back to a pending thumbnail receiver.
4461 public final void activityStopped(IBinder token, Bundle icicle, Bitmap thumbnail, argument
4478 r.stack.activityStoppedLocked(r, icicle, thumbnail, description);
5689 if (ci.thumbnail == null && receiver != null) {
5723 if (localLOGV) Slog.v(TAG, "Requesting top thumbnail");
5727 Slog.w(TAG, "Exception thrown when requesting thumbnail", e);
5736 // activity should never have a canned thumbnail! Oh well.
6133 Bitmap thumbnail, CharSequence description) {
6134 //System.out.println("Report thumbnail for " + token + ": " + thumbnail);
6132 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument
6140 sendPendingThumbnail(ActivityRecord r, IBinder token, Bitmap thumbnail, CharSequence description, boolean always) argument
[all...]
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.

Completed in 381 milliseconds