HomeSort by relevance Sort by last modified time
    Searched refs:mNativeObject (Results 1 - 6 of 6) sorted by null

  /frameworks/base/core/java/android/view/
Surface.java 87 long mNativeObject; // package scope only for SurfaceControl access
89 private int mGenerationId; // incremented each time mNativeObject changes
193 if (mNativeObject != 0) {
194 nativeRelease(mNativeObject);
222 if (mNativeObject == 0) return false;
223 return nativeIsValid(mNativeObject);
248 return nativeGetNextFrameNumber(mNativeObject);
261 return nativeIsConsumerRunningBehind(mNativeObject);
289 // double-lock, but that won't happen if mNativeObject was updated. We can't
294 mLockedObject = nativeLockCanvas(mNativeObject, mCanvas, inOutDirty)
    [all...]
SurfaceControl.java 97 long mNativeObject; // package visibility only for Surface.java access
296 mNativeObject = nativeCreate(session, name, w, h, format, flags);
297 if (mNativeObject == 0) {
311 if (mNativeObject != 0) {
312 nativeRelease(mNativeObject);
330 if (mNativeObject != 0) {
331 nativeRelease(mNativeObject);
332 mNativeObject = 0;
343 if (mNativeObject != 0) {
344 nativeDestroy(mNativeObject);
    [all...]
GraphicBuffer.java 59 private final long mNativeObject;
95 mNativeObject = nativeObject;
171 if (nLockCanvas(mNativeObject, mCanvas, dirty)) {
196 nUnlockCanvasAndPost(mNativeObject, mCanvas);
211 nDestroyGraphicBuffer(mNativeObject);
232 if (!mDestroyed) nDestroyGraphicBuffer(mNativeObject);
264 nWriteGraphicBufferToParcel(mNativeObject, dest);
  /frameworks/base/media/java/android/media/
MediaMuxer.java 122 private long mNativeObject;
147 mNativeObject = nativeSetup(fd, format);
177 nativeSetOrientationHint(mNativeObject, degrees);
212 if (mState == MUXER_STATE_INITIALIZED && mNativeObject != 0) {
213 nativeSetLocation(mNativeObject, latitudex10000, longitudex10000);
227 if (mNativeObject == 0) {
231 nativeStart(mNativeObject);
245 nativeStop(mNativeObject);
258 if (mNativeObject != 0) {
259 nativeRelease(mNativeObject);
    [all...]
  /frameworks/base/core/jni/
android_view_GraphicBuffer.cpp 59 jfieldID mNativeObject;
255 jlong nativeObject = env->GetLongField(obj, gGraphicBufferClassInfo.mNativeObject);
288 gGraphicBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, clazz, "mNativeObject", "J");
android_view_Surface.cpp 64 jfieldID mNativeObject;
95 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject));
353 // should be passed to nativeUnlockCanvasAndPost in place of mNativeObject,
582 gSurfaceClassInfo.mNativeObject = GetFieldIDOrDie(env,
583 gSurfaceClassInfo.clazz, "mNativeObject", "J");

Completed in 230 milliseconds