Home
last modified time | relevance | path

Searched refs:surfaceObj (Results 1 – 4 of 4) 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.cpp87 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getNativeWindow() argument
88 return android_view_Surface_getSurface(env, surfaceObj); in android_view_Surface_getNativeWindow()
91 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getSurface() argument
93 jobject lock = env->GetObjectField(surfaceObj, in android_view_Surface_getSurface()
97 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject)); in android_view_Surface_getSurface()
105 jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, in android_view_Surface_createFromSurface() local
107 if (surfaceObj == NULL) { in android_view_Surface_createFromSurface()
116 return surfaceObj; in android_view_Surface_createFromSurface()
Dandroid_view_SurfaceControl.cpp255 jobject surfaceObj, jobject sourceCropObj, jint width, jint height, in nativeScreenshot() argument
262 sp<Surface> consumer = android_view_Surface_getSurface(env, surfaceObj); in nativeScreenshot()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_Surface.h65 JNIEnv* env, jobject surfaceObj);
71 extern sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj);