Home
last modified time | relevance | path

Searched refs:jsurface (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp175 jlong proxyPtr, jobject jsurface, jboolean discardBuffer) { in android_view_ThreadedRenderer_setSurface() argument
178 if (jsurface) { in android_view_ThreadedRenderer_setSurface()
179 window = fromSurface(env, jsurface); in android_view_ThreadedRenderer_setSurface()
454 jobject clazz, jobject jsurface, jint left, jint top, in android_view_ThreadedRenderer_copySurfaceInto() argument
458 ANativeWindow* window = fromSurface(env, jsurface); in android_view_ThreadedRenderer_copySurfaceInto()
/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp171 JNIEnv *env, jobject thiz, jobject jsurface) { in android_media_MediaSync_native_setSurface() argument
181 if (jsurface != NULL) { in android_media_MediaSync_native_setSurface()
182 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); in android_media_MediaSync_native_setSurface()
Dandroid_media_MediaPlayer.cpp326 setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface, jboolean mediaPlayerMustBeAlive) in setVideoSurface() argument
339 if (jsurface) { in setVideoSurface()
340 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); in setVideoSurface()
366 android_media_MediaPlayer_setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface) in android_media_MediaPlayer_setVideoSurface() argument
368 setVideoSurface(env, thiz, jsurface, true /* mediaPlayerMustBeAlive */); in android_media_MediaPlayer_setVideoSurface()
Dandroid_media_ImageWriter.cpp365 static jlong ImageWriter_init(JNIEnv* env, jobject thiz, jobject weakThiz, jobject jsurface, in ImageWriter_init() argument
371 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); in ImageWriter_init()
Dandroid_media_MediaCodec.cpp1284 jobject jsurface, in android_media_MediaCodec_native_configure() argument
1304 if (jsurface != NULL) { in android_media_MediaCodec_native_configure()
1305 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); in android_media_MediaCodec_native_configure()
1335 jobject jsurface) { in android_media_MediaCodec_native_setSurface() argument
1344 if (jsurface != NULL) { in android_media_MediaCodec_native_setSurface()
1345 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); in android_media_MediaCodec_native_setSurface()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp600 jlong ptr, jint deviceId, jint streamId, jobject jsurface) { in nativeAddOrUpdateStream() argument
602 if (!jsurface) { in nativeAddOrUpdateStream()
605 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); in nativeAddOrUpdateStream()