Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DImageTile.java42 private final Image mImage; field in ImageTile
55 mImage = requireNonNull(image, "image"); in ImageTile()
57 requireNonNull(mImage.getHardwareBuffer(), "image must be a hardware image"); in ImageTile()
62 mNode = new RenderNode("Tile{" + Integer.toHexString(mImage.hashCode()) + "}"); in getDisplayList()
67 final int w = Math.min(mImage.getWidth(), mLocation.width()); in getDisplayList()
68 final int h = Math.min(mImage.getHeight(), mLocation.height()); in getDisplayList()
74 canvas.drawBitmap(Bitmap.wrapHardwareBuffer(mImage.getHardwareBuffer(), COLOR_SPACE), in getDisplayList()
103 mImage.close(); in close()
111 return "{location=" + mLocation + ", source=" + mImage in toString()
112 + ", buffer=" + mImage.getHardwareBuffer() + "}"; in toString()
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
DCarouselTemplateData.java202 private final Icon mImage; field in CarouselTemplateData.CarouselItem
217 mImage = in.readTypedObject(Icon.CREATOR); in CarouselItem()
225 mImage = image; in CarouselItem()
237 return mImage; in getImage()
275 out.writeTypedObject(mImage, flags); in writeToParcel()
286 mImage, in equals()
287 that.mImage) && SmartspaceUtils.isEqual(mLowerText, that.mLowerText) in equals()
293 return Objects.hash(mUpperText, mImage, mLowerText, mTapAction); in hashCode()
300 + ", mImage=" + mImage in toString()
315 private Icon mImage; field in CarouselTemplateData.CarouselItem.Builder
[all …]
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DPixelCopyWindow.java27 private ImageView mImage; field in PixelCopyWindow
41 mImage = new ImageView(this); in onCreate()
47 layout.addView(mImage); in onCreate()
91 mImage.setImageBitmap(null); in takeScreenshot()
94 mImage.setImageBitmap(bitmap); in takeScreenshot()
/frameworks/native/libs/renderengine/skia/
DAutoBackendTexture.cpp42 mImage = nullptr; in unref()
72 mImage = image; in makeImage()
74 return mImage; in makeImage()
DAutoBackendTexture.h146 sk_sp<SkImage> mImage = nullptr; variable
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/
DRenderResult.java35 private BufferedImage mImage; field in RenderResult
42 mImage = image; in RenderResult()
70 return mImage; in getImage()
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java58 private MemoryFile mImage; field in ContentResolverTest
67 mImage = new MemoryFile("temp.png", mSize); in setUp()
72 mImage.close(); in tearDown()
73 mImage = null; in tearDown()
87 bitmap.compress(Bitmap.CompressFormat.PNG, 90, mImage.getOutputStream()); in initImage()
90 new ParcelFileDescriptor(mImage.getFileDescriptor()), 0, mSize, null); in initImage()
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DAtfBufferedImage.java42 @NotNull private final BufferedImage mImage; field in AtfBufferedImage
89 mImage = image; in AtfBufferedImage()
112 return new AtfBufferedImage(mImage, mMetric, left, top, width, height, mScaleX, mScaleY); in crop()
131 BufferedImage cropped = mImage.getSubimage( in getPixels()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DImageWrapper.java126 private Image mImage = null; field in ImageWrapper
132 if (mImage == null) { in get()
133 mImage = new ExtensionImage(this); in get()
135 return mImage; in get()
157 mImage.close(); in decrement()
/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.h47 inline sk_sp<SkImage> getImage() const { return mImage; } in getImage()
71 sk_sp<SkImage> mImage; variable
DAutoBackendTextureRelease.cpp96 mImage.reset(); in unref()
127 mImage = SkImages::BorrowTextureFrom( in makeImage()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java133 private BufferedImage mImage; field in RenderSessionImpl
523 mImage = params.getImageFactory().getImage( in renderAndBuildResult()
527 mImage = new BufferedImage( in renderAndBuildResult()
534 mBitmap = Bitmap.createBitmap(mImage.getWidth(), mImage.getHeight(), in renderAndBuildResult()
536 … int[] imageData = ((DataBufferInt) mImage.getRaster().getDataBuffer()).getData(); in renderAndBuildResult()
537 … mBitmap.setPixels(imageData, 0, mImage.getWidth(), 0, 0, mImage.getWidth(), mImage.getHeight()); in renderAndBuildResult()
547 mImage.getWidth() != mMeasuredScreenWidth && in renderAndBuildResult()
548 mImage.getHeight() != mMeasuredScreenHeight && in renderAndBuildResult()
553 scaleX = mImage.getWidth() * 1.0f / mMeasuredScreenWidth; in renderAndBuildResult()
554 scaleY = mImage.getHeight() * 1.0f / mMeasuredScreenHeight; in renderAndBuildResult()
[all …]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java211 private final Image mImage; field in CameraOps.ImageSaver
217 mImage = image; in ImageSaver()
231 ByteBuffer buffer = mImage.getPlanes()[0].getBuffer(); in run()
233 Log.v(TAG, "S>> size=" + mImage.getWidth() + in run()
234 "," + mImage.getHeight()); in run()
237 Log.v(TAG, "S>> bytes out " + bytes.length / mImage.getWidth()); in run()
241 mImage.close(); in run()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java243 return item != null ? item.mImage : null; in getImageFromWriteQueue()
644 Bitmap mImage; field in TaskPersister.ImageWriteQueueItem
648 mImage = image; in ImageWriteQueueItem()
658 final Bitmap bitmap = mImage; in process()
678 mImage = item.mImage; in updateFrom()
684 + ", image=(" + mImage.getWidth() + "x" + mImage.getHeight() + ")}"; in toString()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript41 rs_allocation mImage;
51 return convert_float3(rsGetElementAt_uchar4(mImage, in.x, in.y).xyz);
98 convert_float3(rsGetElementAt_uchar4(mImage, coord.x, coord.y).xyz);
140 mImage = image;
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h110 return mImage; in getMediaImage2()
138 MediaImage2 mImage;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java232 private QrYuvLuminanceSource mImage; field in QrCamera.DecodingTask
251 mImage = getFrameImage(imageData); in doInBackground()
258 Result qrCode = decodeQrCode(mImage); in doInBackground()
261 qrCode = decodeQrCode(mImage.invert()); in doInBackground()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java196 private final Image mImage; field in CameraOps.ImageSaver
201 mImage = image; in ImageSaver()
213 ByteBuffer buffer = mImage.getPlanes()[0].getBuffer(); in run()
218 mImage.close(); in run()
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp219 :mImage(img), in Image()
229 if (mImage.mNumPlanes != 3) { in Image()
237 if (mImage.mBitDepth == 8 in Image()
246 } else if (mImage.mBitDepth == 8 in Image()
289 if (mImage.mNumPlanes != 3) { in getYUVPlaneOffsetAndStride()
293 const MediaImage2::PlaneInfo &yPlane = mImage.mPlane[MediaImage2::PlaneIndex::Y]; in getYUVPlaneOffsetAndStride()
298 const MediaImage2::PlaneInfo &uPlane = mImage.mPlane[MediaImage2::PlaneIndex::U]; in getYUVPlaneOffsetAndStride()
303 const MediaImage2::PlaneInfo &vPlane = mImage.mPlane[MediaImage2::PlaneIndex::V]; in getYUVPlaneOffsetAndStride()
317 const MediaImage2::PlaneInfo &uPlane = mImage.mPlane[MediaImage2::PlaneIndex::U]; in isNV21()
318 const MediaImage2::PlaneInfo &vPlane = mImage.mPlane[MediaImage2::PlaneIndex::V]; in isNV21()
[all …]
/frameworks/base/libs/hwui/hwui/
DBitmap.h229 sk_sp<SkImage> mImage; // Cache is used only for HW Bitmaps with Skia pipeline. variable
DBitmap.cpp298 mImage = SkImages::DeferredFromAHardwareBuffer(buffer, mInfo.alphaType(), in Bitmap()
401 sk_sp<SkImage> image = mImage; in makeImage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java1146 private final Image mImage; field in Camera2ReprocessCaptureTest.ImageResultHolder
1150 mImage = image; in ImageResultHolder()
1155 return mImage; in getImage()
/frameworks/base/media/java/android/media/
DMediaCodec.java4246 private Image mImage; field in BufferMap.CodecBuffer
4255 if (mImage != null) { in free()
4256 mImage.close(); in free()
4257 mImage = null; in free()
4263 mImage = image; in setImage()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt26770 Landroid/media/MediaCodec$BufferMap$CodecBuffer;->mImage:Landroid/media/Image;