/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 54 jfieldID nativeWindow; member 121 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get())); in android_view_TextureView_createNativeWindow() 126 ANativeWindow* nativeWindow = (ANativeWindow*) in android_view_TextureView_destroyNativeWindow() local 127 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow); in android_view_TextureView_destroyNativeWindow() 129 if (nativeWindow) { in android_view_TextureView_destroyNativeWindow() 130 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow() 132 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0); in android_view_TextureView_destroyNativeWindow() 137 jlong nativeWindow, jobject canvas, jobject dirtyRect) { in android_view_TextureView_lockCanvas() argument 139 if (!nativeWindow) { in android_view_TextureView_lockCanvas() 155 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas() [all …]
|
D | android_app_NativeActivity.cpp | 112 nativeWindow = NULL; in NativeCode() 139 nativeWindow = android_view_Surface_getNativeWindow(env, _surface); in setSurface() 141 nativeWindow = NULL; in setSurface() 154 sp<ANativeWindow> nativeWindow; member 486 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) { in onSurfaceCreated_native() 488 code->nativeWindow.get()); in onSurfaceCreated_native() 506 sp<ANativeWindow> oldNativeWindow = code->nativeWindow; in onSurfaceChanged_native() 508 if (oldNativeWindow != code->nativeWindow) { in onSurfaceChanged_native() 513 if (code->nativeWindow != NULL) { in onSurfaceChanged_native() 516 code->nativeWindow.get()); in onSurfaceChanged_native() [all …]
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 463 ANativeWindow *nativeWindow = (ANativeWindow *) in android_Player_realize() local 466 assert(nativeWindow != NULL); in android_Player_realize() 467 result = android_Player_setNativeWindow(mp, nativeWindow); in android_Player_realize() 722 SLresult android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) in android_Player_setNativeWindow() argument 726 if (nativeWindow == NULL) { in android_Player_setNativeWindow() 734 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value); in android_Player_setNativeWindow() 737 "errno %d", nativeWindow, err); in android_Player_setNativeWindow() 744 static_cast<android::Surface *>(nativeWindow)); in android_Player_setNativeWindow() 754 nativeWindow, value); in android_Player_setNativeWindow()
|
D | MediaPlayer_to_android.h | 44 ANativeWindow *nativeWindow);
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 242 ANativeWindow* nativeWindow; member 345 nativeWindow(window), buffer(0), previousBuffer(0), module(0), in egl_window_surface_v2_t() 355 nativeWindow->common.incRef(&nativeWindow->common); in egl_window_surface_v2_t() 356 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width); in egl_window_surface_v2_t() 357 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height); in egl_window_surface_v2_t() 367 nativeWindow->common.decRef(&nativeWindow->common); in ~egl_window_surface_v2_t() 373 native_window_set_usage(nativeWindow, in connect() 378 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, in connect() 386 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in connect() 424 nativeWindow->cancelBuffer(nativeWindow, buffer, -1); in disconnect() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 31 explicit SoftwareRenderer(const sp<ANativeWindow> &nativeWindow);
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 371 ANativeWindow *nativeWindow; in main() local 425 nativeWindow = getNativeWindow(); in main() 428 locND.hWindow = nativeWindow; in main() 440 &audioSnk, nativeWindow != NULL ? &imageVideoSink : NULL, NULL, NULL, abq ? 4 : 3, ids, in main() 852 if (nativeWindow != NULL) { in main() 853 ANativeWindow_release(nativeWindow); in main()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 41 SoftwareRenderer::SoftwareRenderer(const sp<ANativeWindow> &nativeWindow) in SoftwareRenderer() argument 45 mNativeWindow(nativeWindow), in SoftwareRenderer()
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 808 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); in nLockCanvas() argument 809 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas); in nUnlockCanvasAndPost() argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.h | 30 const sp<NativeWindowWrapper> &nativeWindow = NULL,
|
D | NuPlayerDecoder.cpp | 45 const sp<NativeWindowWrapper> &nativeWindow, in Decoder() argument 48 mNativeWindow(nativeWindow), in Decoder()
|
/frameworks/av/include/media/stagefright/ |
D | OMXCodec.h | 70 const sp<ANativeWindow> &nativeWindow = NULL); 238 const sp<ANativeWindow> &nativeWindow);
|
D | MediaCodec.h | 65 const sp<Surface> &nativeWindow,
|
D | ACodec.h | 250 const sp<ANativeWindow> &nativeWindow);
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 793 Object nativeWindow); in createWindowSurface() argument 800 EGLConfig config, Object nativeWindow) { in createWindowSurface() argument 803 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null); in createWindowSurface()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 1305 sp<ANativeWindow> nativeWindow = windowWrapper->getNativeWindow(); in configureCodec() local 1335 err = configureTunneledVideoPlayback(audioHwSync, nativeWindow); in configureCodec() 1338 audioHwSync, nativeWindow.get()); in configureCodec() 1366 err = native_window_set_sideband_stream(nativeWindow.get(), NULL); in configureCodec() 1389 if (nativeWindow->query( in configureCodec() 1390 nativeWindow.get(), in configureCodec() 1464 sp<NativeWindowWrapper> nativeWindow( in configureCodec() local 1466 CHECK(nativeWindow != NULL); in configureCodec() 1467 mNativeWindow = nativeWindow->getNativeWindow(); in configureCodec() 2138 int32_t audioHwSync, const sp<ANativeWindow> &nativeWindow) { in configureTunneledVideoPlayback() argument [all …]
|
D | AwesomePlayer.cpp | 106 const sp<ANativeWindow> &nativeWindow, const sp<AMessage> &format) in AwesomeLocalRenderer() 108 mTarget(new SoftwareRenderer(nativeWindow)) { in AwesomeLocalRenderer() 139 const sp<ANativeWindow> &nativeWindow, in AwesomeNativeWindowRenderer() 141 : mNativeWindow(nativeWindow) { in AwesomeNativeWindowRenderer()
|
D | MediaCodec.cpp | 254 const sp<Surface> &nativeWindow, in configure() argument 262 if (nativeWindow != NULL) { in configure() 265 new NativeWindowWrapper(nativeWindow)); in configure()
|
D | OMXCodec.cpp | 294 const sp<ANativeWindow> &nativeWindow) { in Create() argument 370 source, nativeWindow); in Create() 1419 const sp<ANativeWindow> &nativeWindow) in OMXCodec() argument 1445 ? NULL : nativeWindow) { in OMXCodec()
|