Searched refs:surfaceObj (Results 1 – 4 of 4) sorted by relevance
/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 | 87 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()
|
D | android_view_SurfaceControl.cpp | 255 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/ |
D | android_view_Surface.h | 65 JNIEnv* env, jobject surfaceObj); 71 extern sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj);
|