Home
last modified time | relevance | path

Searched refs:thumbnailData (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionTaskView.kt68 private var thumbnailData: ThumbnailData? = null variable
72 fun bindTask(task: RecentTask?, thumbnailData: ThumbnailData?) { in bindTask()
74 this.thumbnailData = thumbnailData in bindTask()
104 val drawBackgroundOnly = task == null || bitmapShader == null || thumbnailData == null in onDraw()
122 val thumbnailBitmap = thumbnailData?.thumbnail in refresh()
142 val thumbnailData = thumbnailData ?: return in updateThumbnailMatrix() constant
143 val thumbnail = thumbnailData.thumbnail ?: return in updateThumbnailMatrix()
155 thumbnailData, in updateThumbnailMatrix()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/
DActivityTaskManagerThumbnailLoaderTest.kt42 val thumbnailData = ThumbnailData() in loadThumbnail_emptyThumbnail_returnsNull() constant
44 .thenReturn(thumbnailData) in loadThumbnail_emptyThumbnail_returnsNull()
55 val thumbnailData = ThumbnailData.fromSnapshot(snapshot) in loadThumbnail_thumbnailAvailable_returnsThumbnailData() constant
57 .thenReturn(thumbnailData) in loadThumbnail_thumbnailAvailable_returnsThumbnailData()
59 assertThat(loader.loadThumbnail(taskId)).isEqualTo(thumbnailData) in loadThumbnail_thumbnailAvailable_returnsThumbnailData()
77 val thumbnailData = ThumbnailData.fromSnapshot(createTaskSnapshot()) in captureThumbnail_thumbnailAvailable_returnsThumbnailData() constant
79 whenever(activityManager.takeTaskThumbnail(taskId)).thenReturn(thumbnailData) in captureThumbnail_thumbnailAvailable_returnsThumbnailData()
81 assertThat(loader.captureThumbnail(taskId)).isEqualTo(thumbnailData) in captureThumbnail_thumbnailAvailable_returnsThumbnailData()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DPreviewPositionHelper.java61 public void updateThumbnailMatrix(Rect thumbnailBounds, ThumbnailData thumbnailData, in updateThumbnailMatrix() argument
67 int thumbnailRotation = thumbnailData.rotation; in updateThumbnailMatrix()
70 float scale = thumbnailData.scale; in updateThumbnailMatrix()
76 thumbnailData.windowingMode == WINDOWING_MODE_FULLSCREEN && !isLargeScreen; in updateThumbnailMatrix()
107 thumbnailClipHint.left = thumbnailData.letterboxInsets.left; in updateThumbnailMatrix()
108 thumbnailClipHint.right = thumbnailData.letterboxInsets.right; in updateThumbnailMatrix()
109 thumbnailClipHint.top = thumbnailData.letterboxInsets.top; in updateThumbnailMatrix()
110 thumbnailClipHint.bottom = thumbnailData.letterboxInsets.bottom; in updateThumbnailMatrix()
/frameworks/av/media/libstagefright/tests/fuzzers/
DFrameDecoderHelpers.h101 std::vector<uint8_t> thumbnailData = fdp->ConsumeBytes<uint8_t>(thumbnailSize); variable
104 thumbnailData.data(), thumbnailData.size());
107 thumbnailData.data(), thumbnailData.size());
/frameworks/base/media/java/android/media/
DExifInterface.java4301 HashMap thumbnailData = mAttributes[IFD_TYPE_THUMBNAIL]; in setThumbnailData() local
4304 (ExifAttribute) thumbnailData.get(TAG_COMPRESSION); in setThumbnailData()
4309 handleThumbnailFromJfif(in, thumbnailData); in setThumbnailData()
4314 if (isSupportedDataType(thumbnailData)) { in setThumbnailData()
4315 handleThumbnailFromStrips(in, thumbnailData); in setThumbnailData()
4322 handleThumbnailFromJfif(in, thumbnailData); in setThumbnailData()
4328 private void handleThumbnailFromJfif(ByteOrderedDataInputStream in, HashMap thumbnailData) in handleThumbnailFromJfif() argument
4331 (ExifAttribute) thumbnailData.get(TAG_JPEG_INTERCHANGE_FORMAT); in handleThumbnailFromJfif()
4333 (ExifAttribute) thumbnailData.get(TAG_JPEG_INTERCHANGE_FORMAT_LENGTH); in handleThumbnailFromJfif()
4371 private void handleThumbnailFromStrips(ByteOrderedDataInputStream in, HashMap thumbnailData) in handleThumbnailFromStrips() argument
[all …]
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraRenderThread.cc275 const void* thumbnailData = local
280 if (!exifUtils->generateApp1(thumbnailData, thumbnailDataSize)) {