HomeSort by relevance Sort by last modified time
    Searched refs:anw (Results 1 - 23 of 23) sorted by null

  /frameworks/native/libs/gui/tests/
Surface_test.cpp 68 sp<ANativeWindow> anw(mSurface);
70 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER,
79 sp<ANativeWindow> anw(mSurface);
81 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER,
89 sp<ANativeWindow> anw(mSurface);
104 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(),
106 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3));
109 status_t err = native_window_dequeue_buffer_and_wait(anw.get(), &buf)
    [all...]
FillBuffer.h 39 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw);
FillBuffer.cpp 92 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw) {
94 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(),
105 ASSERT_EQ(NO_ERROR, anw->queueBuffer(anw.get(), buf->getNativeBuffer(),
CpuConsumer_test.cpp 456 void configureANW(const sp<ANativeWindow>& anw,
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,
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.get())
    [all...]
SurfaceTextureGL_test.cpp 206 ProducerThread(const sp<ANativeWindow>& anw,
208 mANW(anw),
417 ProducerThread(const sp<ANativeWindow>& anw):
418 mANW(anw) {
594 ProducerThread(const sp<ANativeWindow>& anw):
595 mANW(anw),
SurfaceTextureClient_test.cpp 657 sp<ANativeWindow> anw(mSTC);
671 ASSERT_EQ(OK, native_window_set_buffers_geometry(anw.get(), 0, 0, fmts[i]));
672 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt));
  /frameworks/base/core/jni/
android_hardware_camera2_legacy_LegacyCameraDevice.cpp 96 static status_t configureSurface(const sp<ANativeWindow>& anw,
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,
169 __FUNCTION__, anw.get(), bufWidth, bufHeight, pixelFmt, bufSize)
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...]
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);
  /hardware/intel/common/libva/test/common/
va_display_android.cpp 38 static sp<ANativeWindow> anw = NULL; variable
73 anw = surface_ctr->getSurface();
87 if (anw == NULL)
90 return vaPutSurface(va_dpy, surface, anw,
  /hardware/ti/omap4-aah/test/CameraHal/
surfacetexture_test.cpp 117 sp<ANativeWindow> anw; local
131 anw = stc;
139 native_window_set_usage(anw.get(), usage);
140 native_window_set_buffer_count(anw.get(), N_BUFFERS);
141 native_window_set_buffers_geometry(anw.get(),
149 anw->dequeueBuffer(anw.get(), &anb[i]);
167 anw->cancelBuffer (anw.get(), anb[i]);
  /frameworks/native/opengl/tests/lib/
WindowSurface.cpp 83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local
84 return (EGLNativeWindowType) anw.get();
  /frameworks/av/services/camera/libcameraservice/device1/
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(w)
    [all...]
  /frameworks/av/services/camera/libcameraservice/api2/
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/cmds/screenrecord/
EglWindow.cpp 52 sp<ANativeWindow> anw = new Surface(surface); local
53 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(),
  /external/chromium_org/third_party/hwcplus/include/system/
window.h 191 * 1. Before dequeuing a buffer, the GL driver (or any other ANW client)
192 * queries the ANW for NATIVE_WINDOW_TRANSFORM_HINT.
194 * 2. The GL driver overrides the width and height of the ANW to
833 static inline int native_window_dequeue_buffer_and_wait(ANativeWindow *anw,
835 return anw->dequeueBuffer_DEPRECATED(anw, anb);
  /system/core/include/system/
window.h 198 * 1. Before dequeuing a buffer, the GL driver (or any other ANW client)
199 * queries the ANW for NATIVE_WINDOW_TRANSFORM_HINT.
201 * 2. The GL driver overrides the width and height of the ANW to
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_tv_TvInputHal.cpp 118 sp<ANativeWindow> anw(mSurface);
119 status_t err = native_window_set_usage(anw.get(), mStream.buffer_producer.usage);
124 anw.get(), mStream.buffer_producer.width, mStream.buffer_producer.height);
128 err = native_window_set_buffers_format(anw.get(), mStream.buffer_producer.format);
199 sp<ANativeWindow> anw(mSurface);
207 if (mBufferState == CAPTURED && anw != NULL) {
208 err = anw->queueBuffer(anw.get(), mBuffer.get(), -1);
216 if (mBuffer == NULL && !mShutdown && anw != NULL) {
218 err = native_window_dequeue_buffer_and_wait(anw.get(), &buffer)
    [all...]
  /frameworks/native/cmds/flatland/
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);
  /device/asus/flo/camera/QCamera2/HAL/
QCameraMem.h 152 void setNativeWindow(preview_stream_ops_t *anw);
  /device/lge/hammerhead/camera/QCamera2/HAL/
QCameraMem.h 152 void setNativeWindow(preview_stream_ops_t *anw);
  /device/moto/shamu/camera/QCamera2/HAL/
QCameraMem.h 204 void setNativeWindow(preview_stream_ops_t *anw);
  /frameworks/native/opengl/libs/EGL/
eglApi.cpp 506 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local
507 anw->setSwapInterval(anw, 1);
    [all...]
  /frameworks/av/media/libmediaplayerservice/
MediaPlayerService.cpp 826 sp<ANativeWindow> anw; local
828 anw = new Surface(bufferProducer, true /* controlledByApp */);
829 status_t err = native_window_api_connect(anw.get(),
834 // Note that we must do the reset before disconnecting from the ANW.
836 // ANW, which may result in errors.
847 // on the disconnected ANW, which may result in errors.
852 mConnectedWindow = anw;
    [all...]

Completed in 635 milliseconds