Searched refs:surfaceObj (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/jni/include/android_runtime/ |
D | android_view_Surface.h | 33 JNIEnv* env, jobject surfaceObj); 39 extern sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj);
|
/frameworks/base/core/jni/ |
D | android_media_RemoteDisplay.cpp | 68 … 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()
|
D | android_view_Surface.cpp | 103 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getNativeWindow() argument 104 return android_view_Surface_getSurface(env, surfaceObj); in android_view_Surface_getNativeWindow() 107 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getSurface() argument 109 jobject lock = env->GetObjectField(surfaceObj, in android_view_Surface_getSurface() 113 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface() 121 jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, in android_view_Surface_createFromSurface() local 123 if (surfaceObj == NULL) { in android_view_Surface_createFromSurface() 132 return surfaceObj; in android_view_Surface_createFromSurface()
|