Searched refs:anw (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/gui/tests/
H A DSurface_test.cpp58 sp<ANativeWindow> anw(mSurface);
60 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER,
69 sp<ANativeWindow> anw(mSurface);
71 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER,
79 sp<ANativeWindow> anw(mSurface);
93 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(),
95 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3));
98 status_t err = anw
[all...]
H A DSurfaceTextureClient_test.cpp589 sp<ANativeWindow> anw(mSTC);
605 ASSERT_EQ(OK, native_window_set_buffers_geometry(anw.get(), 0, 0, fmts[i]));
606 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt));
H A DSurfaceTexture_test.cpp732 ProducerThread(const sp<ANativeWindow>& anw, argument
734 mANW(anw),
968 ProducerThread(const sp<ANativeWindow>& anw): argument
969 mANW(anw),
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp52 ANativeWindow* anw = mSurface.get(); local
54 err = native_window_api_connect(anw, NATIVE_WINDOW_API_CPU);
58 anw, GRALLOC_USAGE_SW_READ_NEVER | GRALLOC_USAGE_SW_WRITE_OFTEN);
61 err = native_window_set_buffer_count(anw, 3);
65 anw, NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW);
69 anw, mWidth, mHeight, HAL_PIXEL_FORMAT_YV12);
72 err = native_window_set_buffers_transform(anw, 0);
H A DNativeWindowRenderer.cpp381 void NativeWindowRenderer::queueInternalBuffer(ANativeWindow *anw, argument
385 native_window_set_buffers_timestamp(anw, timeUs * 1000);
386 status_t err = anw->queueBuffer(anw, buffer->graphicBuffer().get());
396 void NativeWindowRenderer::queueExternalBuffer(ANativeWindow* anw, argument
398 native_window_set_buffers_geometry(anw, width, height,
400 native_window_set_usage(anw, GRALLOC_USAGE_SW_WRITE_OFTEN);
403 anw->dequeueBuffer(anw, &anb);
407 CHECK(NO_ERROR == anw
[all...]
H A DNativeWindowRenderer.h76 void queueInternalBuffer(ANativeWindow* anw, MediaBuffer* buffer);
77 void queueExternalBuffer(ANativeWindow* anw, MediaBuffer* buffer,
/frameworks/base/services/camera/libcameraservice/
H A DCameraHardwareInterface.h566 #define anw(n) __to_anw(((struct camera_preview_window *)n)->user) macro
572 ANativeWindow *a = anw(w);
591 ANativeWindow *a = anw(w);
599 ANativeWindow *a = anw(w);
607 ANativeWindow *a = anw(w);
614 ANativeWindow *a = anw(w);
621 ANativeWindow *a = anw(w);
629 ANativeWindow *a = anw(w);
640 ANativeWindow *a = anw(w);
646 ANativeWindow *a = anw(
[all...]
/frameworks/base/opengl/libs/EGL/
H A DeglApi.cpp377 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local
378 anw->setSwapInterval(anw, 1);
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp817 sp<ANativeWindow> anw; local
819 anw = new SurfaceTextureClient(surfaceTexture);
820 status_t err = native_window_api_connect(anw.get(),
843 mConnectedWindow = anw;

Completed in 2779 milliseconds