Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DHardwareLayer.java38 private VirtualRefBasePtr mFinalizer; field in HardwareLayer
46 mFinalizer = new VirtualRefBasePtr(deferredUpdater); in HardwareLayer()
56 nSetLayerPaint(mFinalizer.get(), paint != null ? paint.getNativeInstance() : 0); in setLayerPaint()
66 return mFinalizer != null && mFinalizer.get() != 0; in isValid()
79 mFinalizer.release(); in destroy()
80 mFinalizer = null; in destroy()
84 return mFinalizer.get(); in getDeferredLayerUpdater()
110 return nPrepare(mFinalizer.get(), width, height, isOpaque); in prepare()
119 nSetTransform(mFinalizer.get(), matrix.native_instance); in setTransform()
127 mRenderer.detachSurfaceTexture(mFinalizer.get()); in detachSurfaceTexture()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/libcore/util/
DNativeAllocationRegistry_Delegate.java40 private final FreeFunction mFinalizer; field in NativeAllocationRegistry_Delegate
43 mFinalizer = finalizer; in NativeAllocationRegistry_Delegate()
57 delegate.mFinalizer.free(nativePtr); in applyFreeFunction()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java101 private Runnable mFinalizer; field in Canvas
113 mFinalizer = NoImagePreloadHolder.sRegistry.registerNativeAllocation( in Canvas()
116 mFinalizer = null; in Canvas()
135 mFinalizer = NoImagePreloadHolder.sRegistry.registerNativeAllocation( in Canvas()
147 mFinalizer = NoImagePreloadHolder.sRegistry.registerNativeAllocation( in Canvas()
1975 if (mFinalizer != null) { in release()
1976 mFinalizer.run(); in release()
1977 mFinalizer = null; in release()