/frameworks/native/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local 84 return (EGLNativeWindowType) anw.get();
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 52 sp<ANativeWindow> anw = new Surface(surface); local 53 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(),
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGL_test.cpp | 206 ProducerThread(const sp<ANativeWindow>& anw, argument 208 mANW(anw), 417 ProducerThread(const sp<ANativeWindow>& anw): argument 418 mANW(anw) { 594 ProducerThread(const sp<ANativeWindow>& anw): argument 595 mANW(anw),
|
H A D | CpuConsumer_test.cpp | 456 void configureANW(const sp<ANativeWindow>& anw, argument 460 err = native_window_set_buffers_geometry(anw.get(), 464 err = native_window_set_usage(anw.get(), 469 err = anw.get()->query(anw.get(), 476 err = native_window_set_buffer_count(anw.get(), 484 void produceOneFrame(const sp<ANativeWindow>& anw, argument 489 ALOGVV("Dequeue buffer from %p", anw.get()); 490 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 500 ALOGVV("Lock buffer from %p for write", anw [all...] |
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 213 sp<ANativeWindow> anw = new Surface(producer); local 214 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); 292 sp<ANativeWindow> anw = sc->getSurface(); local 293 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL);
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 176 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get()); local 177 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value); 362 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); local 364 anw->query(anw, NATIVE_WINDOW_WIDTH, &value); 370 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); local 372 anw->query(anw, NATIVE_WINDOW_HEIGHT, &value);
|
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 96 static status_t configureSurface(const sp<ANativeWindow>& anw, argument 102 err = native_window_set_buffers_dimensions(anw.get(), width, height); 109 err = native_window_set_buffers_format(anw.get(), pixelFmt); 116 err = native_window_set_usage(anw.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); 124 err = anw.get()->query(anw.get(), 136 err = native_window_set_buffer_count(anw.get(), maxBufferSlack + 1 + minUndequeuedBuffers); 149 * anw - a surface to produce a frame in. 159 static status_t produceFrame(const sp<ANativeWindow>& anw, argument 169 __FUNCTION__, anw 365 sp<ANativeWindow> anw; local 384 sp<ANativeWindow> anw; local 425 sp<ANativeWindow> anw; local 454 sp<ANativeWindow> anw; local 480 sp<ANativeWindow> anw; local 499 sp<ANativeWindow> anw; local 530 sp<ANativeWindow> anw; local 546 sp<ANativeWindow> anw; local 580 sp<ANativeWindow> anw; local 596 sp<ANativeWindow> anw; local 640 sp<ANativeWindow> anw; local 676 sp<ANativeWindow> anw; local [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 365 sp<ANativeWindow> anw; local 368 anw = new Surface(bufferProducer, useAsync); 373 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) { 378 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) { 383 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &format)) != OK) { 407 res = mDevice->createStream(anw, width, height, format, &streamId);
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 573 #define anw(n) __to_anw(((struct camera_preview_window *)n)->user) macro 579 ANativeWindow *a = anw(w); 598 ANativeWindow *a = anw(w); 606 ANativeWindow *a = anw(w); 614 ANativeWindow *a = anw(w); 621 ANativeWindow *a = anw(w); 629 ANativeWindow *a = anw(w); 641 ANativeWindow *a = anw(w); 652 ANativeWindow *a = anw(w); 658 ANativeWindow *a = anw( [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 506 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local 507 anw->setSwapInterval(anw, 1);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 826 sp<ANativeWindow> anw; local 828 anw = new Surface(bufferProducer, true /* controlledByApp */); 829 status_t err = native_window_api_connect(anw.get(), 852 mConnectedWindow = anw;
|