Home
last modified time | relevance | path

Searched refs:surfaceObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_RemoteDisplay.cpp68 … jobject surfaceObj = android_view_Surface_createFromIGraphicBufferProducer(env, bufferProducer); in onDisplayConnected() local
69 if (surfaceObj == NULL) { in onDisplayConnected()
77 surfaceObj, width, height, flags, session); in onDisplayConnected()
78 env->DeleteLocalRef(surfaceObj); in onDisplayConnected()
Dandroid_view_Surface.cpp96 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getNativeWindow() argument
97 return android_view_Surface_getSurface(env, surfaceObj); in android_view_Surface_getNativeWindow()
100 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getSurface() argument
102 jobject lock = env->GetObjectField(surfaceObj, in android_view_Surface_getSurface()
106 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface()
114 jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, in android_view_Surface_createFromSurface() local
116 if (surfaceObj == NULL) { in android_view_Surface_createFromSurface()
125 return surfaceObj; in android_view_Surface_createFromSurface()