/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 31 ANativeWindow *nativeWindow /* nonnull */, in setNativeWindowSizeFormatAndUsage() argument 37 err = nativeWindowDisconnect(nativeWindow, "setNativeWindowSizeFormatAndUsage"); in setNativeWindowSizeFormatAndUsage() 43 err = nativeWindowConnect(nativeWindow, "setNativeWindowSizeFormatAndUsage"); in setNativeWindowSizeFormatAndUsage() 50 err = native_window_set_buffers_dimensions(nativeWindow, width, height); in setNativeWindowSizeFormatAndUsage() 56 err = native_window_set_buffers_format(nativeWindow, format); in setNativeWindowSizeFormatAndUsage() 72 err = native_window_set_buffers_transform(nativeWindow, transform); in setNativeWindowSizeFormatAndUsage() 79 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage); in setNativeWindowSizeFormatAndUsage() 90 err = nativeWindow->query( in setNativeWindowSizeFormatAndUsage() 91 nativeWindow, NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, &queuesToNativeWindow); in setNativeWindowSizeFormatAndUsage() 99 err = nativeWindow->query( in setNativeWindowSizeFormatAndUsage() [all …]
|
D | MediaCodecListOverrides.cpp | 153 const sp<Surface> nativeWindow; in doProfileCodecs() local 157 err = codec->configure(format, nativeWindow, crypto, flags); in doProfileCodecs()
|
D | SimpleDecodingSource.cpp | 50 const sp<MediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, in Create() argument 52 sp<Surface> surface = static_cast<Surface*>(nativeWindow.get()); in Create()
|
D | ACodec.cpp | 723 ANativeWindow *nativeWindow = surface.get(); in handleSetSurface() local 739 nativeWindow, &usageBits, !storingMetadataInDecodedBuffers()); in handleSetSurface() 754 err = nativeWindow->query( in handleSetSurface() 755 nativeWindow, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in handleSetSurface() 773 err = native_window_set_buffer_count(nativeWindow, buffers.size()); in handleSetSurface() 813 err = nativeWindow->cancelBuffer( in handleSetSurface() 814 nativeWindow, info.mGraphicBuffer->getNativeBuffer(), info.mFenceFd); in handleSetSurface() 833 mNativeWindow = nativeWindow; in handleSetSurface() 1049 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */, in setupNativeWindowSizeFormatAndUsage() argument 1072 if (nativeWindow->query( in setupNativeWindowSizeFormatAndUsage() [all …]
|
D | MediaCodec.cpp | 1201 const sp<Surface> &nativeWindow, in configure() argument 1204 return configure(format, nativeWindow, crypto, NULL, flags); in configure()
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 47 jfieldID nativeWindow; member 90 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get())); in android_view_TextureView_createNativeWindow() 95 ANativeWindow* nativeWindow = (ANativeWindow*) in android_view_TextureView_destroyNativeWindow() local 96 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow); in android_view_TextureView_destroyNativeWindow() 98 if (nativeWindow) { in android_view_TextureView_destroyNativeWindow() 99 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow() 101 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0); in android_view_TextureView_destroyNativeWindow() 106 jlong nativeWindow, jobject canvasObj, jobject dirtyRect) { in android_view_TextureView_lockCanvas() argument 108 if (!nativeWindow) { in android_view_TextureView_lockCanvas() 123 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas() [all …]
|
D | android_app_NativeActivity.cpp | 124 nativeWindow = NULL; in NativeCode() 156 nativeWindow = android_view_Surface_getNativeWindow(env, _surface); in setSurface() 158 nativeWindow = NULL; in setSurface() 171 sp<ANativeWindow> nativeWindow; member 547 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) { in onSurfaceCreated_native() 549 code->nativeWindow.get()); in onSurfaceCreated_native() 569 sp<ANativeWindow> oldNativeWindow = code->nativeWindow; in onSurfaceChanged_native() 571 if (oldNativeWindow != code->nativeWindow) { in onSurfaceChanged_native() 576 if (code->nativeWindow != NULL) { in onSurfaceChanged_native() 579 code->nativeWindow.get()); in onSurfaceChanged_native() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | RenderSurfaceCreationArgs.h | 44 sp<ANativeWindow> nativeWindow; member 75 RenderSurfaceCreationArgsBuilder& setNativeWindow(sp<ANativeWindow> nativeWindow) { in setNativeWindow() argument 76 mArgs.nativeWindow = nativeWindow; in setNativeWindow()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | SurfaceUtils.h | 37 ANativeWindow *nativeWindow /* nonnull */, 40 ANativeWindow *nativeWindow /* nonnull */, HDRStaticInfo *info /* nonnull */); 41 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */);
|
D | SimpleDecodingSource.h | 49 const sp<ANativeWindow> &nativeWindow,
|
D | MediaCodec.h | 107 const sp<Surface> &nativeWindow, 113 const sp<Surface> &nativeWindow, 225 status_t setSurface(const sp<Surface> &nativeWindow);
|
D | ACodec.h | 325 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */, 358 const sp<ANativeWindow> &nativeWindow);
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 465 ANativeWindow *nativeWindow = (ANativeWindow *) in android_Player_realize() local 468 assert(nativeWindow != NULL); in android_Player_realize() 469 result = android_Player_setNativeWindow(mp, nativeWindow); in android_Player_realize() 728 SLresult android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) in android_Player_setNativeWindow() argument 732 if (nativeWindow == NULL) { in android_Player_setNativeWindow() 740 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value); in android_Player_setNativeWindow() 743 "errno %d", nativeWindow, err); in android_Player_setNativeWindow() 750 static_cast<android::Surface *>(nativeWindow)); in android_Player_setNativeWindow() 760 nativeWindow, value); in android_Player_setNativeWindow()
|
D | MediaPlayer_to_android.h | 44 ANativeWindow *nativeWindow);
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 68 args.nativeWindow.get()), 70 args.nativeWindow.get()), 71 args.nativeWindow, args.displaySurface});
|
D | DisplayDevice.h | 228 sp<ANativeWindow> nativeWindow; member
|
D | SurfaceFlinger.cpp | 2531 auto nativeWindow = nativeWindowSurface->getNativeWindow(); in setupNewDisplayDeviceInternal() local 2532 creationArgs.nativeWindow = nativeWindow; in setupNewDisplayDeviceInternal() 2538 nativeWindow->setSwapInterval(nativeWindow.get(), 0); in setupNewDisplayDeviceInternal()
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 36 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 372 ANativeWindow *nativeWindow; in main() local 426 nativeWindow = getNativeWindow(); in main() 429 locND.hWindow = nativeWindow; in main() 441 &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/base/core/java/android/view/ |
D | TextureView.java | 860 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); in nLockCanvas() argument 861 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas); in nUnlockCanvasAndPost() argument
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 2527 auto nativeWindow = new mock::NativeWindow(); in TEST_F() local 2531 display.setNativeWindow(nativeWindow); in TEST_F() 2534 EXPECT_CALL(*nativeWindow, query(NATIVE_WINDOW_WIDTH, _)) in TEST_F() 2536 EXPECT_CALL(*nativeWindow, query(NATIVE_WINDOW_HEIGHT, _)) in TEST_F() 2538 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)).Times(1); in TEST_F() 2539 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_CONNECT)).Times(1); in TEST_F() 2540 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)).Times(1); in TEST_F() 2541 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(1); in TEST_F() 2572 auto nativeWindow = new mock::NativeWindow(); in TEST_F() local 2576 display.setNativeWindow(nativeWindow); in TEST_F() [all …]
|
D | TestableSurfaceFlinger.h | 592 auto& setNativeWindow(const sp<ANativeWindow>& nativeWindow) { in setNativeWindow() argument 593 mCreationArgs.nativeWindow = nativeWindow; in setNativeWindow()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 45 const sp<ANativeWindow> &nativeWindow, int32_t rotation) in SoftwareRenderer() argument 49 mNativeWindow(nativeWindow), in SoftwareRenderer()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | RenderSurface.cpp | 62 mNativeWindow(args.nativeWindow), in RenderSurface()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 824 Object nativeWindow); in createWindowSurface() argument 831 EGLConfig config, Object nativeWindow) { in createWindowSurface() argument 834 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null); in createWindowSurface()
|