Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java39 public final Bitmap thumbnail; field in ThumbnailData
52 thumbnail = null; in ThumbnailData()
72 thumbnail = Bitmap.createBitmap(taskSize.x, taskSize.y, ARGB_8888); in ThumbnailData()
73 thumbnail.eraseColor(Color.BLACK); in ThumbnailData()
75 thumbnail = Bitmap.wrapHardwareBuffer(buffer, snapshot.getColorSpace()); in ThumbnailData()
83 scale = (float) thumbnail.getWidth() / snapshot.getTaskSize().x; in ThumbnailData()
DTask.java222 public ThumbnailData thumbnail; field in Task
305 public Task(TaskKey key, Drawable icon, ThumbnailData thumbnail, String title, in Task() argument
312 this.thumbnail = thumbnail; in Task()
336 this.thumbnail = o.thumbnail; in copyFrom()
384 this.thumbnail = thumbnailData; in notifyTaskDataLoaded()
395 thumbnail = null; in notifyTaskDataUnloaded()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockInfo.java34 Supplier<Bitmap> thumbnail, Supplier<Bitmap> preview) { in ClockInfo() argument
38 mThumbnail = thumbnail; in ClockInfo()
107 public Builder setThumbnail(Supplier<Bitmap> thumbnail) { in setThumbnail() argument
108 mThumbnail = thumbnail; in setThumbnail()
/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/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.cpp133 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument
135 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
137 return getImageInternal(index, colorFormat, metaOnly, thumbnail, NULL); in getImageAtIndex()
156 int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect) { in getImageInternal() argument
200 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat, thumbnail); in getImageInternal()
232 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/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.cpp171 sp<IMemory> getImageAtIndex(int index, int colorFormat, bool metaOnly, bool thumbnail) in getImageAtIndex() argument
174 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
180 data.writeInt32(thumbnail); in getImageAtIndex()
389 bool thumbnail = (data.readInt32() != 0); in onTransact() local
391 index, colorFormat, metaOnly, thumbnail); in onTransact()
395 sp<IMemory> bitmap = getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in onTransact()
/frameworks/base/core/java/android/app/
DActivityOptions.java628 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
629 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
650 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
651 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
655 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument
660 opts.mThumbnail = thumbnail; in makeThumbnailAnimation()
708 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument
710 return makeAspectScaledThumbnailAnimation(source, thumbnail, startX, startY, in makeThumbnailAspectScaleDownAnimation()
714 private static ActivityOptions makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, in makeAspectScaledThumbnailAnimation() argument
721 opts.mThumbnail = thumbnail; in makeAspectScaledThumbnailAnimation()
DActivityManager.java1878 public Bitmap thumbnail; field in ActivityManager.RunningTaskInfo
1994 @Nullable TaskDescription description, @NonNull Bitmap thumbnail) { in addAppTask() argument
2000 final int tw = thumbnail.getWidth(); in addAppTask()
2001 final int th = thumbnail.getHeight(); in addAppTask()
2003 Bitmap bm = Bitmap.createBitmap(size.x, size.y, thumbnail.getConfig()); in addAppTask()
2020 canvas.drawBitmap(thumbnail, matrix, null); in addAppTask()
2023 thumbnail = bm; in addAppTask()
2030 intent, description, thumbnail); in addAppTask()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java65 BufferedImage thumbnail = scale(image, scale, scale); in requireSimilar() local
70 message = saveImageAndAppendMessage(thumbnail, message, relativePath); in requireSimilar()
80 assertImageSimilar(relativePath, goldenImage, thumbnail, MAX_PERCENT_DIFFERENCE); in requireSimilar()
/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.h98 … int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false, bool thumbnail = false);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
DExifInterface.java1831 ByteArrayOutputStream thumbnail = new ByteArrayOutputStream(); in setCompressedThumbnail() local
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
1835 return setCompressedThumbnail(thumbnail.toByteArray()); in setCompressedThumbnail()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp1541 const ImageItem &thumbnail = mItemIdToItemMap[thumbItemIndex]; in getImageMeta() local
1543 if (thumbnail.hvcc != NULL) { in getImageMeta()
1545 AMEDIAFORMAT_KEY_THUMBNAIL_WIDTH, thumbnail.width); in getImageMeta()
1547 AMEDIAFORMAT_KEY_THUMBNAIL_HEIGHT, thumbnail.height); in getImageMeta()
1550 thumbnail.hvcc->data(), thumbnail.hvcc->size()); in getImageMeta()
1552 imageIndex, thumbnail.width, thumbnail.height, thumbItemIndex); in getImageMeta()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp863 info.mThumbCompressedSize = image_data.thumbnail.length; in getObjectInfo()
920 if (image_data.thumbnail.length == 0 in getThumbnail()
921 || image_data.thumbnail.format != ::piex::Image::kJpegCompressed) { in getThumbnail()
926 result = malloc(image_data.thumbnail.length); in getThumbnail()
929 image_data.thumbnail.offset, in getThumbnail()
930 image_data.thumbnail.length, in getThumbnail()
933 outThumbSize = image_data.thumbnail.length; in getThumbnail()
Dandroid_mtp_MtpDevice.cpp518 void* thumbnail = device->getThumbnail(objectID, length); in android_mtp_MtpDevice_get_thumbnail() local
519 if (! thumbnail) in android_mtp_MtpDevice_get_thumbnail()
522 env->SetByteArrayRegion(array, 0, length, (const jbyte *)thumbnail); in android_mtp_MtpDevice_get_thumbnail()
524 free(thumbnail); in android_mtp_MtpDevice_get_thumbnail()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h53 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail = false);
/frameworks/base/media/java/android/media/
DThumbnailUtils.java428 Bitmap thumbnail = transform(matrix, source, width, height, in extractThumbnail() local
430 return thumbnail; in extractThumbnail()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp181 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail) { in getMetadataOnly() argument
191 if (thumbnail) { in getMetadataOnly()

12