Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java40 public final Bitmap thumbnail; field in ThumbnailData
54 thumbnail = null; in ThumbnailData()
68 if (thumbnail != null) { in recycleBitmap()
69 thumbnail.recycle(); in recycleBitmap()
74 Bitmap thumbnail = null; in makeThumbnail() local
77 thumbnail = Bitmap.wrapHardwareBuffer(buffer, snapshot.getColorSpace()); in makeThumbnail()
84 if (thumbnail == null) { in makeThumbnail()
86 thumbnail = Bitmap.createBitmap(taskSize.x, taskSize.y, ARGB_8888); in makeThumbnail()
87 thumbnail.eraseColor(Color.BLACK); in makeThumbnail()
89 return thumbnail; in makeThumbnail()
[all …]
/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/service/controls/templates/
DThumbnailTemplate.java51 @NonNull Icon thumbnail, in ThumbnailTemplate() argument
54 Preconditions.checkNotNull(thumbnail); in ThumbnailTemplate()
57 mThumbnail = thumbnail; in ThumbnailTemplate()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.h47 int index, int colorFormat, bool metaOnly, bool thumbnail);
75 int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect);
DStagefrightMetadataRetriever.cpp134 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument
136 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
138 return getImageInternal(index, colorFormat, metaOnly, thumbnail, NULL); in getImageAtIndex()
157 int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect) { in getImageInternal() argument
244 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat, thumbnail, bitDepth); in getImageInternal()
261 if (thumbnail && format != NULL in getImageInternal()
269 if (!thumbnail && isHeif && format != NULL) { in getImageInternal()
288 int64_t frameTimeUs = thumbnail ? -1 : 0; in getImageInternal()
DMetadataRetrieverClient.cpp216 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument
218 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
225 sp<IMemory> frame = mRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
DMetadataRetrieverClient.h56 int index, int colorFormat, bool metaOnly, bool thumbnail);
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionTaskView.kt123 val thumbnailBitmap = thumbnailData?.thumbnail in refresh()
147 previewRect.set(0, 0, thumbnailData.thumbnail.width, thumbnailData.thumbnail.height) in updateThumbnailMatrix()
DRecentTaskViewHolder.kt75 val thumbnail = thumbnailLoader.loadThumbnail(task.taskId) in <lambda>() constant
76 thumbnailView.bindTask(task, thumbnail) in <lambda>()
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp158 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument
160 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
166 return mRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
DIMediaMetadataRetriever.cpp134 sp<IMemory> getImageAtIndex(int index, int colorFormat, bool metaOnly, bool thumbnail) in getImageAtIndex() argument
137 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
143 data.writeInt32(thumbnail); in getImageAtIndex()
331 bool thumbnail = (data.readInt32() != 0); in onTransact() local
333 index, colorFormat, metaOnly, thumbnail); in onTransact()
334 sp<IMemory> bitmap = getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in onTransact()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskThumbnailLoader.kt41 if (thumbnailData.thumbnail == null) null else thumbnailData in loadThumbnail()
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmetadataretriever_fuzzer.cpp85 bool thumbnail = mFdp.ConsumeBool(); in getData() local
86 mMdRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in getData()
/frameworks/av/media/libmedia/include/media/
DMediaMetadataRetrieverInterface.h49 int index, int colorFormat, bool metaOnly, bool thumbnail) = 0;
DIMediaMetadataRetriever.h48 int index, int colorFormat, bool metaOnly, bool thumbnail) = 0;
Dmediametadataretriever.h101 … int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false, bool thumbnail = false);
/frameworks/av/media/module/extractors/mp4/
DItemTable.cpp1605 const ImageItem &thumbnail = mItemIdToItemMap[thumbItemIndex]; in getImageMeta() local
1606 if (thumbnail.hvcc != NULL || thumbnail.av1c != NULL) { in getImageMeta()
1608 AMEDIAFORMAT_KEY_THUMBNAIL_WIDTH, thumbnail.width); in getImageMeta()
1610 AMEDIAFORMAT_KEY_THUMBNAIL_HEIGHT, thumbnail.height); in getImageMeta()
1611 if (thumbnail.hvcc != NULL) { in getImageMeta()
1614 thumbnail.hvcc->data(), thumbnail.hvcc->size()); in getImageMeta()
1622 "thumbnail-csd-av1c", thumbnail.av1c->data(), thumbnail.av1c->size()); in getImageMeta()
1625 imageIndex, thumbnail.width, thumbnail.height, thumbItemIndex); in getImageMeta()
/frameworks/base/core/java/android/app/
DActivityOptions.java841 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
842 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
863 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
864 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
868 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument
873 opts.mThumbnail = thumbnail; in makeThumbnailAnimation()
921 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument
923 return makeAspectScaledThumbnailAnimation(source, thumbnail, startX, startY, in makeThumbnailAspectScaleDownAnimation()
927 private static ActivityOptions makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, in makeAspectScaledThumbnailAnimation() argument
934 opts.mThumbnail = thumbnail; in makeAspectScaledThumbnailAnimation()
/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/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListeners.java347 final ThumbnailData thumbnail = new ThumbnailData(snapshot); in handleMessage() local
351 msg.arg1, thumbnail); in handleMessage()
355 thumbnail.recycleBitmap(); in handleMessage()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp921 info.mThumbCompressedSize = image_data.thumbnail.length; in getObjectInfo()
978 if (image_data.thumbnail.length == 0 in getThumbnail()
979 || image_data.thumbnail.format != ::piex::Image::kJpegCompressed) { in getThumbnail()
984 result = malloc(image_data.thumbnail.length); in getThumbnail()
987 image_data.thumbnail.offset, in getThumbnail()
988 image_data.thumbnail.length, in getThumbnail()
991 outThumbSize = image_data.thumbnail.length; in getThumbnail()
Dandroid_mtp_MtpDevice.cpp668 void* thumbnail = device->getThumbnail(objectID, length); in android_mtp_MtpDevice_get_thumbnail() local
669 if (! thumbnail) in android_mtp_MtpDevice_get_thumbnail()
672 env->SetByteArrayRegion(array, 0, length, (const jbyte *)thumbnail); in android_mtp_MtpDevice_get_thumbnail()
674 free(thumbnail); in android_mtp_MtpDevice_get_thumbnail()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DThumbnailBehavior.kt84 val drawable = template.thumbnail in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java261 void showImagePreview(@Nullable Bitmap thumbnail) { in showImagePreview() argument
262 if (thumbnail == null) { in showImagePreview()
266 mImagePreview.setImageBitmap(thumbnail); in showImagePreview()

12