Home
last modified time | relevance | path

Searched refs:mFinalizer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/
DHardwareLayer.java37 private VirtualRefBasePtr mFinalizer; field in HardwareLayer
45 mFinalizer = new VirtualRefBasePtr(deferredUpdater); in HardwareLayer()
55 nSetLayerPaint(mFinalizer.get(), paint.getNativeInstance()); in setLayerPaint()
65 return mFinalizer != null && mFinalizer.get() != 0; in isValid()
78 mFinalizer.release(); in destroy()
79 mFinalizer = null; in destroy()
83 return mFinalizer.get(); in getDeferredLayerUpdater()
109 return nPrepare(mFinalizer.get(), width, height, isOpaque); in prepare()
118 nSetTransform(mFinalizer.get(), matrix.native_instance); in setTransform()
126 mRenderer.detachSurfaceTexture(mFinalizer.get()); in detachSurfaceTexture()
[all …]
/frameworks/base/graphics/java/android/graphics/
DBitmap.java54 private final BitmapFinalizer mFinalizer; field in Bitmap
128 mFinalizer = new BitmapFinalizer(nativeBitmap); in Bitmap()
130 mFinalizer.setNativeAllocationByteCount(nativeAllocationByteCount); in Bitmap()
231 nativeReconfigure(mFinalizer.mNativeBitmap, width, height, config.nativeInt, in reconfigure()
308 if (!mRecycled && mFinalizer.mNativeBitmap != 0) { in recycle()
309 if (nativeRecycle(mFinalizer.mNativeBitmap)) { in recycle()
342 return nativeGenerationId(mFinalizer.mNativeBitmap); in getGenerationId()
498 nativeCopyPixelsToBuffer(mFinalizer.mNativeBitmap, dst); in copyPixelsToBuffer()
538 nativeCopyPixelsFromBuffer(mFinalizer.mNativeBitmap, src); in copyPixelsFromBuffer()
560 Bitmap b = nativeCopy(mFinalizer.mNativeBitmap, config.nativeInt, isMutable); in copy()
[all …]
DCanvas.java89 private final CanvasFinalizer mFinalizer; field in Canvas
125 mFinalizer = new CanvasFinalizer(mNativeCanvasWrapper); in Canvas()
127 mFinalizer = null; in Canvas()
146 mFinalizer = new CanvasFinalizer(mNativeCanvasWrapper); in Canvas()
157 mFinalizer = new CanvasFinalizer(mNativeCanvasWrapper); in Canvas()
1963 mFinalizer.dispose(); in release()