Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DSurface.java118 long mNativeObject; // package scope only for SurfaceControl access field in Surface
257 if (mNativeObject != 0) { in release()
258 nativeRelease(mNativeObject); in release()
299 if (mNativeObject == 0) return false; in isValid()
300 return nativeIsValid(mNativeObject); in isValid()
327 return nativeGetNextFrameNumber(mNativeObject); in getNextFrameNumber()
340 return nativeIsConsumerRunningBehind(mNativeObject); in isConsumerRunningBehind()
373 mLockedObject = nativeLockCanvas(mNativeObject, mCanvas, inOutDirty); in lockCanvas()
401 if (mNativeObject != mLockedObject) { in unlockSwCanvasAndPost()
403 Long.toHexString(mNativeObject) + ") != mLockedObject (0x" + in unlockSwCanvasAndPost()
[all …]
DSurfaceControl.java204 long mNativeObject; // package visibility only for Surface.java access field in SurfaceControl
397 if (mNativeObject != 0) { in assignNativeObject()
400 mNativeObject = nativeObject; in assignNativeObject()
410 assignNativeObject(nativeCopyFromSurfaceControl(other.mNativeObject)); in copyFrom()
791 mNativeObject = nativeCreate(session, name, w, h, format, flags, in SurfaceControl()
792 parent != null ? parent.mNativeObject : 0, metaParcel); in SurfaceControl()
796 if (mNativeObject == 0) { in SurfaceControl()
813 mNativeObject = other.mNativeObject; in SurfaceControl()
815 other.mNativeObject = 0; in SurfaceControl()
857 if (mNativeObject == 0) { in writeToParcel()
[all …]
/frameworks/base/media/java/android/media/
DMediaMuxer.java322 private long mNativeObject; field in MediaMuxer
372 mNativeObject = nativeSetup(fd, format); in setUpMediaMuxer()
397 nativeSetOrientationHint(mNativeObject, degrees); in setOrientationHint()
432 if (mState == MUXER_STATE_INITIALIZED && mNativeObject != 0) { in setLocation()
433 nativeSetLocation(mNativeObject, latitudex10000, longitudex10000); in setLocation()
447 if (mNativeObject == 0) { in start()
451 nativeStart(mNativeObject); in start()
465 nativeStop(mNativeObject); in stop()
478 if (mNativeObject != 0) { in finalize()
479 nativeRelease(mNativeObject); in finalize()
[all …]
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java97 private long mNativeObject; field in HardwareBuffer
238 mNativeObject = nativeObject; in HardwareBuffer()
243 mCleaner = registry.registerNativeAllocation(this, mNativeObject); in HardwareBuffer()
265 return nGetWidth(mNativeObject); in getWidth()
276 return nGetHeight(mNativeObject); in getHeight()
288 return nGetFormat(mNativeObject); in getFormat()
299 return nGetLayers(mNativeObject); in getLayers()
310 return nGetUsage(mNativeObject); in getUsage()
336 mNativeObject = 0; in close()
352 return mNativeObject == 0; in isClosed()
[all …]
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java58 private final long mNativeObject; field in GraphicBuffer
95 mNativeObject = nativeObject; in GraphicBuffer()
185 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { in lockCanvas()
210 nUnlockCanvasAndPost(mNativeObject, mCanvas); in unlockCanvasAndPost()
225 nDestroyGraphicBuffer(mNativeObject); in destroy()
246 if (!mDestroyed) nDestroyGraphicBuffer(mNativeObject); in finalize()
278 nWriteGraphicBufferToParcel(mNativeObject, dest); in writeToParcel()
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp57 jfieldID mNativeObject; member
204 env->GetLongField(hardwareBufferObj, gHardwareBufferClassInfo.mNativeObject)); in android_hardware_HardwareBuffer_getNativeHardwareBuffer()
278 gHardwareBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, in register_android_hardware_HardwareBuffer()
Dandroid_view_Surface.cpp66 jfieldID mNativeObject; member
115 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface()
572 gSurfaceClassInfo.mNativeObject = GetFieldIDOrDie(env, in register_android_view_Surface()
/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp61 jfieldID mNativeObject; member
271 jlong nativeObject = env->GetLongField(obj, gGraphicBufferClassInfo.mNativeObject); in graphicBufferForJavaObject()
317 gGraphicBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt76433 Landroid/view/SurfaceControl$Transaction;->mNativeObject:J
76485 Landroid/view/SurfaceControl;->mNativeObject:J