Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DSurface.java74 int mNativeObject; // package scope only for SurfaceControl access field in Surface
158 if (mNativeObject != 0) { in release()
159 nativeRelease(mNativeObject); in release()
183 if (mNativeObject == 0) return false; in isValid()
184 return nativeIsValid(mNativeObject); in isValid()
210 return nativeIsConsumerRunningBehind(mNativeObject); in isConsumerRunningBehind()
243 mLockedObject = nativeLockCanvas(mNativeObject, mCanvas, inOutDirty); in lockCanvas()
262 if (mNativeObject != mLockedObject) { in unlockCanvasAndPost()
264 Integer.toHexString(mNativeObject) + ") != mLockedObject (0x" + in unlockCanvasAndPost()
310 int surfaceControlPtr = other.mNativeObject; in copyFrom()
[all …]
DSurfaceControl.java80 int mNativeObject; // package visibility only for Surface.java access field in SurfaceControl
238 mNativeObject = nativeCreate(session, name, w, h, format, flags); in SurfaceControl()
239 if (mNativeObject == 0) { in SurfaceControl()
253 if (mNativeObject != 0) { in finalize()
254 nativeRelease(mNativeObject); in finalize()
272 if (mNativeObject != 0) { in release()
273 nativeRelease(mNativeObject); in release()
274 mNativeObject = 0; in release()
285 if (mNativeObject != 0) { in destroy()
286 nativeDestroy(mNativeObject); in destroy()
[all …]
DGraphicBuffer.java59 private final int 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.java111 private int mNativeObject; field in MediaMuxer
133 mNativeObject = nativeSetup(fd, format); in MediaMuxer()
161 nativeSetOrientationHint(mNativeObject, degrees); in setOrientationHint()
196 if (mState == MUXER_STATE_INITIALIZED && mNativeObject != 0) { in setLocation()
197 nativeSetLocation(mNativeObject, latitudex10000, longitudex10000); in setLocation()
209 if (mNativeObject == 0) { in start()
213 nativeStart(mNativeObject); in start()
226 nativeStop(mNativeObject); in stop()
239 if (mNativeObject != 0) { in finalize()
240 nativeRelease(mNativeObject); in finalize()
[all …]
/frameworks/base/core/jni/
Dandroid_view_GraphicBuffer.cpp65 jfieldID mNativeObject; member
264 jint nativeObject = env->GetIntField(obj, gGraphicBufferClassInfo.mNativeObject); in graphicBufferForJavaObject()
310 GET_FIELD_ID(gGraphicBufferClassInfo.mNativeObject, clazz, "mNativeObject", "I"); in register_android_view_GraphicBuffer()
Dandroid_view_Surface.cpp59 jfieldID mNativeObject; member
100 env->GetIntField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface()
383 gSurfaceClassInfo.mNativeObject = in register_android_view_Surface()