Searched defs:anw (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local
84 return (EGLNativeWindowType) anw.get();
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp52 sp<ANativeWindow> anw = new Surface(surface); local
53 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(),
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp221 ProducerThread(const sp<ANativeWindow>& anw, argument
223 mANW(anw),
440 ProducerThread(const sp<ANativeWindow>& anw): argument
441 mANW(anw) {
623 ProducerThread(const sp<ANativeWindow>& anw): argument
624 mANW(anw),
H A DCpuConsumer_test.cpp448 void configureANW(const sp<ANativeWindow>& anw, argument
452 err = native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU);
455 err = native_window_set_buffers_dimensions(anw.get(),
459 err = native_window_set_buffers_format(anw.get(), params.format);
462 err = native_window_set_usage(anw.get(),
467 err = anw.get()->query(anw.get(),
474 err = native_window_set_buffer_count(anw.get(),
482 void produceOneFrame(const sp<ANativeWindow>& anw, argument
487 ALOGVV("Dequeue buffer from %p", anw
[all...]
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp213 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 Dandroid_view_Surface.cpp272 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get()); local
273 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value);
466 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); local
468 anw->query(anw, NATIVE_WINDOW_WIDTH, &value);
474 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); local
476 anw->query(anw, NATIVE_WINDOW_HEIGHT, &value);
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp138 * anw - a surface to produce a frame in.
148 static status_t produceFrame(const sp<ANativeWindow>& anw, argument
158 __FUNCTION__, anw.get(), bufWidth, bufHeight, pixelFmt, bufSize);
160 if (anw == 0) {
161 ALOGE("%s: anw must not be NULL", __FUNCTION__);
182 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
197 err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &bufFmt);
233 ALOGV("%s: Lock buffer from %p for write", __FUNCTION__, anw.get());
261 ALOGV("%s: Lock buffer from %p for write", __FUNCTION__, anw
354 sp<ANativeWindow> anw; local
372 sp<ANativeWindow> anw; local
413 sp<ANativeWindow> anw; local
430 sp<ANativeWindow> anw; local
459 sp<ANativeWindow> anw; local
485 sp<ANativeWindow> anw; local
524 sp<ANativeWindow> anw; local
570 sp<ANativeWindow> anw; local
604 sp<ANativeWindow> anw; local
620 sp<ANativeWindow> anw; local
664 sp<ANativeWindow> anw; local
700 sp<ANativeWindow> anw; local
720 sp<ANativeWindow> anw; local
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp257 sp<ANativeWindow> anw = producer; local
259 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) {
266 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) {
273 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &format)) != OK) {
283 res = native_window_set_usage(anw.get(), GRALLOC_USAGE_SW_WRITE_OFTEN);
294 res = anw->query(anw
326 sp<ANativeWindow> anw = ctx->getProducer(); local
400 sp<ANativeWindow> anw = ctx->getProducer(); local
429 sp<ANativeWindow> anw = ctx->getProducer(); local
533 sp < ANativeWindow > anw = surface; local
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp287 ANativeWindow* anw = outputTarget.mWindow; local
289 ret = getSurfaceFromANativeWindow(anw, surface);
307 ANativeWindow* anw = static_cast<ANativeWindow*>(req->mSurfaceList[i].get()); local
308 ACameraOutputTarget outputTarget(anw);
473 ANativeWindow* anw,
475 if (anw == nullptr) {
480 int err = (*anw->query)(anw, NATIVE_WINDOW_CONCRETE_TYPE, &value);
485 const sp<Surface> surface(static_cast<Surface*>(anw));
492 ANativeWindow* anw, s
472 getIGBPfromAnw( ANativeWindow* anw, sp<IGraphicBufferProducer>& out) argument
491 getSurfaceFromANativeWindow( ANativeWindow* anw, sp<Surface>& out) argument
522 ANativeWindow* anw = outConfig.mWindow; local
719 ANativeWindow* anw = outputPairIt->second.first; local
1005 ANativeWindow* anw; local
[all...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp2142 ANativeWindow *anw = window.get(); local
2144 if ((res = anw->query(anw, NATIVE_WINDOW_FORMAT, &format)) != OK) {
2149 if ((res = anw->query(anw, NATIVE_WINDOW_DEFAULT_DATASPACE,
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp468 ANativeWindow *anw = surface.get(); local
473 if ((err = anw->query(anw, NATIVE_WINDOW_WIDTH, &width)) != OK) {
479 if ((err = anw->query(anw, NATIVE_WINDOW_HEIGHT, &height)) != OK) {
485 if ((err = anw->query(anw, NATIVE_WINDOW_FORMAT, &format)) != OK) {
491 if ((err = anw->query(anw, NATIVE_WINDOW_DEFAULT_DATASPACE,
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h609 #define anw(n) __to_anw(((struct camera_preview_window *)n)->user) macro
617 ANativeWindow *a = anw(w);
636 ANativeWindow *a = anw(w);
644 ANativeWindow *a = anw(w);
652 ANativeWindow *a = anw(w);
659 ANativeWindow *a = anw(w);
705 ANativeWindow *a = anw(w);
720 ANativeWindow *a = anw(w);
731 ANativeWindow *a = anw(w);
737 ANativeWindow *a = anw(
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp537 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local
538 anw->setSwapInterval(anw, 1);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp856 sp<ANativeWindow> anw; local
858 anw = new Surface(bufferProducer, true /* controlledByApp */);
859 status_t err = native_window_api_connect(anw.get(),
882 mConnectedWindow = anw;

Completed in 415 milliseconds