/frameworks/av/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);
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
CanvasTexture.cpp | 130 android::Surface* anw = nativeWindow(); local 131 if (!anw) 140 if (!GLUtils::updateSharedSurfaceTextureWithBitmap(anw, bitmap))
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
GaneshContext.cpp | 133 ANativeWindow* anw = tileQueue->m_ANW.get(); local 135 int result = ANativeWindow_setBuffersGeometry(anw, (int)tileWidth, 140 tileQueue->m_eglSurface = eglCreateWindowSurface(display, m_surfaceConfig, anw, NULL);
|
/frameworks/base/core/jni/ |
android_view_Surface.cpp | 173 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get()); local 174 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value);
|
/frameworks/native/cmds/flatland/ |
GLHelper.cpp | 208 sp<ANativeWindow> anw = new Surface(bq); local 209 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); 287 sp<ANativeWindow> anw = sc->getSurface(); local 288 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL);
|
/frameworks/av/services/camera/libcameraservice/ |
CameraHardwareInterface.h | 559 #define anw(n) __to_anw(((struct camera_preview_window *)n)->user) macro 565 ANativeWindow *a = anw(w); 584 ANativeWindow *a = anw(w); 592 ANativeWindow *a = anw(w); 600 ANativeWindow *a = anw(w); 607 ANativeWindow *a = anw(w); 614 ANativeWindow *a = anw(w); 622 ANativeWindow *a = anw(w); 633 ANativeWindow *a = anw(w); 639 ANativeWindow *a = anw(w) [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.cpp | 743 sp<ANativeWindow> anw; local 745 anw = new Surface(bufferProducer); 746 status_t err = native_window_api_connect(anw.get(), 751 // Note that we must do the reset before disconnecting from the ANW. 753 // ANW, which may result in errors. 764 // on the disconnected ANW, which may result in errors. 769 mConnectedWindow = anw; [all...] |
/frameworks/native/opengl/libs/EGL/ |
eglApi.cpp | 395 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local 396 anw->setSwapInterval(anw, 1); [all...] |