Searched defs:surfaceObj (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp68 jobject surfaceObj = android_view_Surface_createFromIGraphicBufferProducer(env, bufferProducer); local
69 if (surfaceObj == NULL) {
77 surfaceObj, width, height, flags, session);
78 env->DeleteLocalRef(surfaceObj);
H A Dandroid_view_Surface.cpp90 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { argument
91 return android_view_Surface_getSurface(env, surfaceObj);
94 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) { argument
96 jobject lock = env->GetObjectField(surfaceObj,
100 env->GetLongField(surfaceObj, gSurfaceClassInfo.mNativeObject));
118 jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, local
120 if (surfaceObj == NULL) {
129 return surfaceObj;
H A Dandroid_view_SurfaceControl.cpp192 jobject surfaceObj, jobject sourceCropObj, jint width, jint height,
196 sp<Surface> consumer = android_view_Surface_getSurface(env, surfaceObj);
191 nativeScreenshot(JNIEnv* env, jclass clazz, jobject displayTokenObj, jobject surfaceObj, jobject sourceCropObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers, bool useIdentityTransform) argument

Completed in 67 milliseconds