Home
last modified time | relevance | path

Searched refs:thumbnail (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/services/java/com/android/server/wm/
DAppWindowAnimator.java47 SurfaceControl thumbnail; field in AppWindowAnimator
117 if (thumbnail != null) { in clearThumbnail()
118 thumbnail.destroy(); in clearThumbnail()
119 thumbnail = null; in clearThumbnail()
160 if (WindowManagerService.SHOW_TRANSACTIONS) WindowManagerService.logSurface(thumbnail, in stepThumbnailAnimation()
163 thumbnail.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]); in stepThumbnailAnimation()
164 if (WindowManagerService.SHOW_TRANSACTIONS) WindowManagerService.logSurface(thumbnail, in stepThumbnailAnimation()
171 thumbnail.setAlpha(thumbnailTransformation.getAlpha()); in stepThumbnailAnimation()
174 thumbnail.setLayer(thumbnailLayer + WindowManagerService.WINDOW_LAYER_MULTIPLIER in stepThumbnailAnimation()
176 thumbnail.setMatrix(tmpFloats[Matrix.MSCALE_X], tmpFloats[Matrix.MSKEW_Y], in stepThumbnailAnimation()
[all …]
/frameworks/ex/carousel/test/src/com/android/carouseltest/
DTaskSwitcherActivity.java69 Bitmap thumbnail; field in TaskSwitcherActivity.ActivityDescription
79 thumbnail = _thumbnail; in ActivityDescription()
88 thumbnail = null; in clear()
145 Bitmap bitmap = desc.thumbnail == null ? mBlankBitmap : desc.thumbnail; in getTexture()
181 info.thumbnail = bitmap;
249 if (r.thumbnail != null) { in updateRunningTasks()
250 int thumbWidth = r.thumbnail.getWidth(); in updateRunningTasks()
251 int thumbHeight = r.thumbnail.getHeight(); in updateRunningTasks()
255 desc.thumbnail = r.thumbnail; in updateRunningTasks()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectBrowser.java94 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle()); in getView()
95 if (thumbnail != null) { in getView()
96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); in getView()
98 ImageView thumbView = (ImageView)view.findViewById(R.id.thumbnail); in getView()
DObjectViewer.java152 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle()); in onResume()
153 if (thumbnail != null) { in onResume()
154 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); in onResume()
156 ImageView thumbView = (ImageView)findViewById(R.id.thumbnail); in onResume()
/frameworks/base/core/java/android/app/
DActivityOptions.java241 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
242 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
264 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
265 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
286 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleDownAnimation() argument
287 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, false); in makeThumbnailScaleDownAnimation()
291 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument
296 opts.mThumbnail = thumbnail; in makeThumbnailAnimation()
DIThumbnailReceiver.aidl27 void newThumbnail(int id, in Bitmap thumbnail, CharSequence description); in newThumbnail() argument
DActivityManager.java665 public Bitmap thumbnail; field in ActivityManager.RunningTaskInfo
700 if (thumbnail != null) { in writeToParcel()
702 thumbnail.writeToParcel(dest, 0); in writeToParcel()
717 thumbnail = Bitmap.CREATOR.createFromParcel(source); in readFromParcel()
719 thumbnail = null; in readFromParcel()
DActivityThread.java2920 Bitmap thumbnail = mAvailThumbnailBitmap; in createThumbnailBitmap() local
2922 if (thumbnail == null) { in createThumbnailBitmap()
2938 thumbnail = Bitmap.createBitmap(r.activity.getResources().getDisplayMetrics(), in createThumbnailBitmap()
2940 thumbnail.eraseColor(0); in createThumbnailBitmap()
2944 if (thumbnail != null) { in createThumbnailBitmap()
2950 cv.setBitmap(thumbnail); in createThumbnailBitmap()
2951 if (!r.activity.onCreateThumbnail(thumbnail, cv)) { in createThumbnailBitmap()
2952 mAvailThumbnailBitmap = thumbnail; in createThumbnailBitmap()
2953 thumbnail = null; in createThumbnailBitmap()
2965 thumbnail = null; in createThumbnailBitmap()
[all …]
/frameworks/base/docs/html/training/contacts-provider/
Ddisplay-contact-badge.jd55 initially appears as a thumbnail image. Although you can use any {@link android.graphics.Bitmap}
56 for the thumbnail image, you usually use a {@link android.graphics.Bitmap} decoded from the
57 contact's photo thumbnail image.
181 <h3>Set the photo thumbnail</h3>
184 load the contact's thumbnail photo. To load the photo, get a URI for the photo from the
186 thumbnail photo, and read the file into a {@link android.graphics.Bitmap}.
201 // The column in which to find the thumbnail ID
204 * The thumbnail URI, expressed as a String.
210 * Gets the photo thumbnail column index if
216 // Otherwise, sets the thumbnail column to the _ID column
[all …]
/frameworks/support/v4/jellybean/android/support/v4/app/
DActivityOptionsCompatJB.java40 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY)); in makeThumbnailScaleUpAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DTaskDescription.java88 public void setThumbnail(Drawable thumbnail) { in setThumbnail() argument
89 mThumbnail = thumbnail; in setThumbnail()
DRecentsPanelView.java484 private void updateThumbnail(ViewHolder h, Drawable thumbnail, boolean show, boolean anim) { in updateThumbnail() argument
485 if (thumbnail != null) { in updateThumbnail()
489 h.thumbnailViewImage.setImageDrawable(thumbnail); in updateThumbnail()
494 h.thumbnailViewDrawable.getIntrinsicWidth() != thumbnail.getIntrinsicWidth() || in updateThumbnail()
495 h.thumbnailViewDrawable.getIntrinsicHeight() != thumbnail.getIntrinsicHeight()) { in updateThumbnail()
500 float scale = mThumbnailWidth / (float) thumbnail.getIntrinsicWidth(); in updateThumbnail()
513 h.thumbnailViewDrawable = thumbnail; in updateThumbnail()
DRecentTasksLoader.java193 Bitmap thumbnail = am.getTaskTopThumbnail(td.persistentTaskId); in loadThumbnailAndIcon() local
197 + td + ": " + thumbnail); in loadThumbnailAndIcon()
199 if (thumbnail != null) { in loadThumbnailAndIcon()
200 td.setThumbnail(new BitmapDrawable(mContext.getResources(), thumbnail)); in loadThumbnailAndIcon()
/frameworks/support/v4/java/android/support/v4/app/
DActivityOptionsCompat.java102 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
105 ActivityOptionsCompatJB.makeThumbnailScaleUpAnimation(source, thumbnail, in makeThumbnailScaleUpAnimation()
/frameworks/base/docs/html/training/animation/
Dzoom.jd36 galleries to animate a view from a thumbnail to a full-size image that fills the screen.
39 expands an image thumbnail to fill the screen:
77 …. The following example creates an {@link android.widget.ImageButton} for clickable image thumbnail
105 from the bounds of the thumbnail button above, to its final laid-out
143 // Hook up clicks on the thumbnail views.
167 zooms from an image thumbnail to an enlarged view by doing the following things:
188 {@link android.widget.ImageView} minimizes back down to the size of the image thumbnail and
211 // The start bounds are the global visible rectangle of the thumbnail,
244 // Hide the thumbnail and show the zoomed-in view. When the animation
246 // thumbnail.
[all …]
/frameworks/base/docs/html/distribute/googleplay/spotlight/
Dindex.jd19 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
48 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
77 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
106 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
Dgames.jd22 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
99 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
173 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
Dtablets.jd24 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
107 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
198 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
288 <img alt="" class="screenshot thumbnail" style="-webkit-border-radius: 5px;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp345 void* thumbnail = device->getThumbnail(objectID, length); in android_mtp_MtpDevice_get_thumbnail() local
346 if (! thumbnail) in android_mtp_MtpDevice_get_thumbnail()
349 env->SetByteArrayRegion(array, 0, length, (const jbyte *)thumbnail); in android_mtp_MtpDevice_get_thumbnail()
351 free(thumbnail); in android_mtp_MtpDevice_get_thumbnail()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java232 Bitmap thumbnail = transform(matrix, source, width, height, in extractThumbnail() local
234 return thumbnail; in extractThumbnail()
/frameworks/base/docs/html/training/multiple-threads/
Dindex.jd46 display them on a thumbnail screen runs substantially faster when you do each decode on a
/frameworks/base/docs/html/channels/
Dio2013.jd271 // get 180x320 thumbnail
272 var thumbs = entry.media$group.media$thumbnail;
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd92 displayed in a 128x96 pixel thumbnail in an {@link android.widget.ImageView}.</p>
158 android.widget.ImageView} that displays a 100x100 pixel thumbnail, as shown in the following example
/frameworks/base/docs/html/develop/
Dindex.jd233 var thumbUrl = entry.media$group.media$thumbnail[0].url;
251 // use the first entry's thumbnail for the playlist
282 var thumbUrl = entry.media$group.media$thumbnail[0].url;

12