/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 28 ANativeWindow *nativeWindow /* nonnull */, 34 err = nativeWindowDisconnect(nativeWindow, "setNativeWindowSizeFormatAndUsage"); 40 err = nativeWindowConnect(nativeWindow, "setNativeWindowSizeFormatAndUsage"); 47 err = native_window_set_buffers_dimensions(nativeWindow, width, height); 53 err = native_window_set_buffers_format(nativeWindow, format); 69 err = native_window_set_buffers_transform(nativeWindow, transform); 76 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage); 87 err = nativeWindow->query( 88 nativeWindow, NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSE 131 setNativeWindowHdrMetadata(ANativeWindow *nativeWindow, HDRStaticInfo *info) argument [all...] |
H A D | SimpleDecodingSource.cpp | 49 const sp<MediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, 51 sp<Surface> surface = static_cast<Surface*>(nativeWindow.get()); 48 Create( const sp<MediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, const char *desiredCodec, bool skipMediaCodecList) argument
|
H A D | MediaCodecListOverrides.cpp | 153 const sp<Surface> nativeWindow; local 157 err = codec->configure(format, nativeWindow, crypto, flags);
|
H A D | MediaCodec.cpp | 999 const sp<Surface> &nativeWindow, 1002 return configure(format, nativeWindow, crypto, NULL, flags); 997 configure( const sp<AMessage> &format, const sp<Surface> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument
|
H A D | ACodec.cpp | 726 ANativeWindow *nativeWindow = surface.get(); local 742 nativeWindow, &usageBits, !storingMetadataInDecodedBuffers()); 757 err = nativeWindow->query( 758 nativeWindow, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, 776 err = native_window_set_buffer_count(nativeWindow, buffers.size()); 813 err = nativeWindow->cancelBuffer( 814 nativeWindow, info.mGraphicBuffer->getNativeBuffer(), info.mFenceFd); 833 mNativeWindow = nativeWindow; 1049 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */, 1072 if (nativeWindow 1881 sp<ANativeWindow> nativeWindow = local 3074 configureTunneledVideoPlayback( int32_t audioHwSync, const sp<ANativeWindow> &nativeWindow) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 51 jfieldID nativeWindow; member in struct:android::__anon921 122 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get())); 127 ANativeWindow* nativeWindow = (ANativeWindow*) local 128 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow); 130 if (nativeWindow) { 131 sp<ANativeWindow> window(nativeWindow); 133 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0); 138 jlong nativeWindow, jobject canvas, jobject dirtyRect) { 140 if (!nativeWindow) { 156 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); 137 android_view_TextureView_lockCanvas(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas, jobject dirtyRect) argument 184 android_view_TextureView_unlockCanvasAndPost(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas) argument [all...] |
H A D | android_app_NativeActivity.cpp | 124 nativeWindow = NULL; 156 nativeWindow = android_view_Surface_getNativeWindow(env, _surface); 158 nativeWindow = NULL; 171 sp<ANativeWindow> nativeWindow; member in struct:android::NativeCode 543 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) { 545 code->nativeWindow.get()); 565 sp<ANativeWindow> oldNativeWindow = code->nativeWindow; 567 if (oldNativeWindow != code->nativeWindow) { 572 if (code->nativeWindow != NULL) { 575 code->nativeWindow [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 40 const sp<ANativeWindow> &nativeWindow, int32_t rotation) 44 mNativeWindow(nativeWindow), 39 SoftwareRenderer( const sp<ANativeWindow> &nativeWindow, int32_t rotation) argument
|
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.cpp | 461 ANativeWindow *nativeWindow = (ANativeWindow *) local 464 assert(nativeWindow != NULL); 465 result = android_Player_setNativeWindow(mp, nativeWindow); 718 * nativeWindow can be NULL, but if NULL it is treated as an error 720 SLresult android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) argument 724 if (nativeWindow == NULL) { 732 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value); 735 "errno %d", nativeWindow, err); 742 static_cast<android::Surface *>(nativeWindow)); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 845 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument 846 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas); argument
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 372 ANativeWindow *nativeWindow; local 426 nativeWindow = getNativeWindow(); 429 locND.hWindow = nativeWindow; 441 &audioSnk, nativeWindow != NULL ? &imageVideoSink : NULL, NULL, NULL, abq ? 4 : 3, ids, 852 if (nativeWindow != NULL) { 853 ANativeWindow_release(nativeWindow);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 222 const sp<ANativeWindow>& nativeWindow, 237 mNativeWindow(nativeWindow), 216 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, int32_t hwcId, bool isSecure, const wp<IBinder>& displayToken, const sp<ANativeWindow>& nativeWindow, const sp<DisplaySurface>& displaySurface, std::unique_ptr<RE::Surface> renderSurface, int displayWidth, int displayHeight, bool hasWideColorGamut, const HdrCapabilities& hdrCapabilities, const int32_t supportedPerFrameMetadata, const std::unordered_map<ColorMode, std::vector<RenderIntent>>& hwcColorModes, int initialPowerMode) argument
|
H A D | SurfaceFlinger.cpp | 2294 auto nativeWindow = nativeWindowSurface->getNativeWindow(); local 2302 renderSurface->setNativeWindow(nativeWindow.get()); 2314 nativeWindow->setSwapInterval(nativeWindow.get(), 0); 2322 new DisplayDevice(this, state.type, hwcId, state.isSecure, display, nativeWindow,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | TestableSurfaceFlinger.h | 279 auto& setNativeWindow(const sp<ANativeWindow>& nativeWindow) { argument 280 mNativeWindow = nativeWindow;
|
H A D | DisplayTransactionTest.cpp | 1711 auto nativeWindow = new mock::NativeWindow(); local 1715 display.setNativeWindow(nativeWindow); 1731 EXPECT_CALL(*renderSurface, setNativeWindow(nativeWindow)).Times(1); 1752 auto nativeWindow = new mock::NativeWindow(); local 1756 display.setNativeWindow(nativeWindow); 1772 EXPECT_CALL(*renderSurface, setNativeWindow(nativeWindow)).Times(1);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 823 Object nativeWindow); 830 EGLConfig config, Object nativeWindow) { 833 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null); 822 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument 829 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 264 ANativeWindow* nativeWindow; member in struct:android::egl_window_surface_v2_t 366 nativeWindow(window), buffer(0), previousBuffer(0), bits(NULL) 372 nativeWindow->common.incRef(&nativeWindow->common); 373 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width); 374 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height); 384 nativeWindow->common.decRef(&nativeWindow [all...] |