Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java52 private MemoryFile mImage; field in ContentResolverTest
61 mImage = new MemoryFile("temp.png", mSize); in setUp()
66 mImage.close(); in tearDown()
67 mImage = null; in tearDown()
81 bitmap.compress(Bitmap.CompressFormat.PNG, 90, mImage.getOutputStream()); in initImage()
84 new ParcelFileDescriptor(mImage.getFileDescriptor()), 0, mSize, null); in initImage()
/frameworks/base/tests/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/layoutlib/bridge/src/android/graphics/
DBitmapShader_Delegate.java103 private final BufferedImage mImage; field in BitmapShader_Delegate.BitmapShaderPaint
109 mImage = image; in BitmapShaderPaint()
135 if (!colorModel.isCompatibleRaster(mImage.getRaster())) { in createContext()
204 int x = getCoordinate(Math.round(fx), mImage.getWidth(), mTileModeX); in getColor()
205 int y = getCoordinate(Math.round(fy), mImage.getHeight(), mTileModeY); in getColor()
207 return mImage.getRGB(x, y); in getColor()
DBitmap_Delegate.java79 private final BufferedImage mImage; field in Bitmap_Delegate
190 return mImage; in getImage()
322 BufferedImage image = delegate.mImage; in nativeErase()
347 return delegate.mImage.getWidth(); in nativeRowBytes()
385 return delegate.mImage.getRGB(x, y); in nativeGetPixel()
593 int size = nativeRowBytes(nativeBitmap) * delegate.mImage.getHeight(); in nativeGetAllocationByteCount()
687 mImage = image; in Bitmap_Delegate()
696 int width = delegate.mImage.getWidth(); in createBitmap()
697 int height = delegate.mImage.getHeight(); in createBitmap()
/frameworks/layoutlib/bridge/tests/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/libs/hwui/surfacetexture/
DImageConsumer.cpp69 inline sk_sp<SkImage> getImage() { return mImage; } in getImage()
90 sk_sp<SkImage> mImage; member in android::AutoBackendTextureRelease
124 mImage.reset(); in unref()
147 mImage = SkImage::MakeFromTexture(context, in makeImage()
155 if (mImage.get()) { in makeImage()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java124 private BufferedImage mImage; field in RenderSessionImpl
476 mImage = null; in renderAndBuildResult()
494 mImage = params.getImageFactory().getImage( in renderAndBuildResult()
498 mImage = new BufferedImage( in renderAndBuildResult()
508 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult()
516 Bitmap bitmap = Bitmap_Delegate.createBitmap(mImage, in renderAndBuildResult()
527 mImage.getWidth() != mMeasuredScreenWidth && in renderAndBuildResult()
528 mImage.getHeight() != mMeasuredScreenHeight && in renderAndBuildResult()
533 float scaleX = (float)mImage.getWidth() / mMeasuredScreenWidth; in renderAndBuildResult()
534 float scaleY = (float)mImage.getHeight() / mMeasuredScreenHeight; in renderAndBuildResult()
[all …]
DGcSnapshot.java97 private final BufferedImage mImage; field in GcSnapshot.Layer
116 mImage = mBitmap.getImage(); in Layer()
132 mImage = image; in Layer()
143 return mImage; in getImage()
160 return new Layer((Graphics2D) mGraphics.create(), mImage, mFlags); in makeCopy()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java239 return item != null ? item.mImage : null; in getImageFromWriteQueue()
594 Bitmap mImage; field in TaskPersister.ImageWriteQueueItem
598 mImage = image; in ImageWriteQueueItem()
608 final Bitmap bitmap = mImage; in process()
628 mImage = item.mImage; in updateFrom()
634 + ", image=(" + mImage.getWidth() + "x" + mImage.getHeight() + ")}"; in toString()
/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/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/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/base/media/java/android/media/
DMediaCodec.java2971 private Image mImage; field in BufferMap.CodecBuffer
2980 if (mImage != null) { in free()
2981 mImage.close(); in free()
2982 mImage = null; in free()
2988 mImage = image; in setImage()
/frameworks/base/libs/hwui/hwui/
DBitmap.h173 sk_sp<SkImage> mImage; // Cache is used only for HW Bitmaps with Skia pipeline. variable
DBitmap.cpp227 mImage = SkImage::MakeFromAHardwareBuffer(reinterpret_cast<AHardwareBuffer*>(buffer), in Bitmap()
329 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/config/
Dhiddenapi-greylist-max-o.txt36899 Landroid/media/MediaCodec$BufferMap$CodecBuffer;->mImage:Landroid/media/Image;