/frameworks/base/libs/gui/tests/ |
Surface_test.cpp | 58 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->dequeueBuffer(anw.get(), &buf) [all...] |
SurfaceTextureClient_test.cpp | 589 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));
|
SurfaceTexture_test.cpp | 711 ProducerThread(const sp<ANativeWindow>& anw, const TestPixel* testPixels): 712 mANW(anw), [all...] |
/frameworks/media/libvideoeditor/lvpp/ |
PreviewRenderer.cpp | 52 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);
|
NativeWindowRenderer.cpp | 381 void NativeWindowRenderer::queueInternalBuffer(ANativeWindow *anw, 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, 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->lockBuffer(anw, buf->getNativeBuffer())) [all...] |
NativeWindowRenderer.h | 76 void queueInternalBuffer(ANativeWindow* anw, MediaBuffer* buffer); 77 void queueExternalBuffer(ANativeWindow* anw, MediaBuffer* buffer,
|
/frameworks/base/services/camera/libcameraservice/ |
CameraHardwareInterface.h | 566 #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(w) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
GaneshContext.cpp | 163 ANativeWindow* anw = tileQueue->m_ANW.get(); local 165 int result = ANativeWindow_setBuffersGeometry(anw, (int)tileWidth, 170 tileQueue->m_eglSurface = eglCreateWindowSurface(display, m_surfaceConfig, anw, NULL);
|
/frameworks/base/media/libmediaplayerservice/ |
MediaPlayerService.cpp | 821 sp<ANativeWindow> anw; local 823 anw = new SurfaceTextureClient(surfaceTexture); 824 status_t err = native_window_api_connect(anw.get(), 829 // Note that we must do the reset before disconnecting from the ANW. 831 // ANW, which may result in errors. 842 // on the disconnected ANW, which may result in errors. 847 mConnectedWindow = anw; [all...] |