Home
last modified time | relevance | path

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

12

/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DHighResThumbnailLoader.java130 if ((t.thumbnail == null || t.thumbnail.reducedResolution) in startLoading()
153 if ((t.thumbnail == null || t.thumbnail.reducedResolution) && mLoading) { in onTaskVisible()
232 final ThumbnailData thumbnail = mActivityManager.getTaskThumbnail(t.key.id,
241 t.notifyTaskDataLoaded(thumbnail, t.icon);
DRecentsTaskLoadPlan.java137 ThumbnailData thumbnail = loader.getAndUpdateThumbnail(taskKey, in preloadPlan() local
152 thumbnail, title, titleDescription, activityColor, backgroundColor, in preloadPlan()
196 task.thumbnail = loader.getAndUpdateThumbnail(taskKey, in executePlan()
DRecentsTaskLoader.java191 t.notifyTaskDataLoaded(t.thumbnail, icon); in loadTaskData()
353 if (thumbnailData.thumbnail != null) { in getAndUpdateThumbnail()
/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/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java32 public final Bitmap thumbnail; field in ThumbnailData
43 thumbnail = null; in ThumbnailData()
55 thumbnail = Bitmap.wrapHardwareBuffer(snapshot.getSnapshot(), snapshot.getColorSpace()); in ThumbnailData()
DTask.java176 public ThumbnailData thumbnail; field in Task
259 public Task(TaskKey key, Drawable icon, ThumbnailData thumbnail, String title, in Task() argument
266 this.thumbnail = thumbnail; in Task()
290 this.thumbnail = o.thumbnail; in copyFrom()
338 this.thumbnail = thumbnailData; in notifyTaskDataLoaded()
349 thumbnail = null; in notifyTaskDataUnloaded()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.h47 int index, int colorFormat, bool metaOnly, bool thumbnail);
76 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
198 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat, thumbnail); in getImageInternal()
230 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()
386 bool thumbnail = (data.readInt32() != 0); in onTransact() local
388 index, colorFormat, metaOnly, thumbnail); in onTransact()
392 sp<IMemory> bitmap = getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in onTransact()
/frameworks/base/core/java/android/app/
DActivityOptions.java557 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
558 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
579 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
580 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
584 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument
589 opts.mThumbnail = thumbnail; in makeThumbnailAnimation()
637 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, in makeThumbnailAspectScaleDownAnimation() argument
639 return makeAspectScaledThumbnailAnimation(source, thumbnail, startX, startY, in makeThumbnailAspectScaleDownAnimation()
643 private static ActivityOptions makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, in makeAspectScaledThumbnailAnimation() argument
650 opts.mThumbnail = thumbnail; in makeAspectScaledThumbnailAnimation()
/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/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java182 if (thumbnailData != null && thumbnailData.thumbnail != null) { in setThumbnail()
183 Bitmap bm = thumbnailData.thumbnail; in setThumbnail()
378 || event.thumbnailData.thumbnail == null) { in onBusEvent()
/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/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.cpp860 info.mThumbCompressedSize = image_data.thumbnail.length; in getObjectInfo()
914 if (image_data.thumbnail.length == 0 in getThumbnail()
915 || image_data.thumbnail.format != ::piex::Image::kJpegCompressed) { in getThumbnail()
920 result = malloc(image_data.thumbnail.length); in getThumbnail()
923 image_data.thumbnail.offset, in getThumbnail()
924 image_data.thumbnail.length, in getThumbnail()
927 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.h55 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail = false);

12