Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DSurface.java84 long mNativeObject; // package scope only for SurfaceControl access field in Surface
175 if (mNativeObject != 0) { in release()
176 nativeRelease(mNativeObject); in release()
204 if (mNativeObject == 0) return false; in isValid()
205 return nativeIsValid(mNativeObject); in isValid()
231 return nativeIsConsumerRunningBehind(mNativeObject); in isConsumerRunningBehind()
264 mLockedObject = nativeLockCanvas(mNativeObject, mCanvas, inOutDirty); in lockCanvas()
292 if (mNativeObject != mLockedObject) { in unlockSwCanvasAndPost()
294 Long.toHexString(mNativeObject) + ") != mLockedObject (0x" + in unlockSwCanvasAndPost()
334 nativeGetWidth(mNativeObject), in lockHardwareCanvas()
[all …]
DSurfaceControl.java88 long mNativeObject; // package visibility only for Surface.java access field in SurfaceControl
287 mNativeObject = nativeCreate(session, name, w, h, format, flags); in SurfaceControl()
288 if (mNativeObject == 0) { in SurfaceControl()
302 if (mNativeObject != 0) { in finalize()
303 nativeRelease(mNativeObject); in finalize()
321 if (mNativeObject != 0) { in release()
322 nativeRelease(mNativeObject); in release()
323 mNativeObject = 0; in release()
334 if (mNativeObject != 0) { in destroy()
335 nativeDestroy(mNativeObject); in destroy()
[all …]
DGraphicBuffer.java59 private final long mNativeObject; field in GraphicBuffer
95 mNativeObject = nativeObject; in GraphicBuffer()
171 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { in lockCanvas()
196 nUnlockCanvasAndPost(mNativeObject, mCanvas); in unlockCanvasAndPost()
211 nDestroyGraphicBuffer(mNativeObject); in destroy()
232 if (!mDestroyed) nDestroyGraphicBuffer(mNativeObject); in finalize()
264 nWriteGraphicBufferToParcel(mNativeObject, dest); in writeToParcel()
/frameworks/base/media/java/android/media/
DMediaMuxer.java108 private long mNativeObject; field in MediaMuxer
132 mNativeObject = nativeSetup(fd, format); in MediaMuxer()
160 nativeSetOrientationHint(mNativeObject, degrees); in setOrientationHint()
195 if (mState == MUXER_STATE_INITIALIZED && mNativeObject != 0) { in setLocation()
196 nativeSetLocation(mNativeObject, latitudex10000, longitudex10000); in setLocation()
208 if (mNativeObject == 0) { in start()
212 nativeStart(mNativeObject); in start()
225 nativeStop(mNativeObject); in stop()
238 if (mNativeObject != 0) { in finalize()
239 nativeRelease(mNativeObject); in finalize()
[all …]
/frameworks/base/core/jni/
Dandroid_view_GraphicBuffer.cpp66 jfieldID mNativeObject; member
266 jlong nativeObject = env->GetLongField(obj, gGraphicBufferClassInfo.mNativeObject); in graphicBufferForJavaObject()
312 GET_FIELD_ID(gGraphicBufferClassInfo.mNativeObject, clazz, "mNativeObject", "J"); in register_android_view_GraphicBuffer()
Dandroid_view_Surface.cpp64 jfieldID mNativeObject; member
100 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface()
462 gSurfaceClassInfo.mNativeObject = in register_android_view_Surface()