Home
last modified time | relevance | path

Searched refs:ANativeWindow (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/native/include/android/
Dnative_window.h35 struct ANativeWindow;
36 typedef struct ANativeWindow ANativeWindow; typedef
63 void ANativeWindow_acquire(ANativeWindow* window);
68 void ANativeWindow_release(ANativeWindow* window);
74 int32_t ANativeWindow_getWidth(ANativeWindow* window);
80 int32_t ANativeWindow_getHeight(ANativeWindow* window);
86 int32_t ANativeWindow_getFormat(ANativeWindow* window);
102 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window,
113 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
120 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window);
Dnative_activity.h168 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window);
175 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window);
183 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window);
193 void (*onNativeWindowDestroyed)(ANativeActivity* activity, ANativeWindow* window);
/frameworks/base/native/android/
Dnative_window.cpp27 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { in ANativeWindow_fromSurface()
28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); in ANativeWindow_fromSurface()
35 void ANativeWindow_acquire(ANativeWindow* window) { in ANativeWindow_acquire()
39 void ANativeWindow_release(ANativeWindow* window) { in ANativeWindow_release()
43 static int32_t getWindowProp(ANativeWindow* window, int what) { in getWindowProp()
49 int32_t ANativeWindow_getWidth(ANativeWindow* window) { in ANativeWindow_getWidth()
53 int32_t ANativeWindow_getHeight(ANativeWindow* window) { in ANativeWindow_getHeight()
57 int32_t ANativeWindow_getFormat(ANativeWindow* window) { in ANativeWindow_getFormat()
61 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, in ANativeWindow_setBuffersGeometry()
77 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in ANativeWindow_lock()
[all …]
/frameworks/native/include/ui/
DFramebufferNativeWindow.h49 ANativeWindow,
70 static int setSwapInterval(ANativeWindow* window, int interval);
71 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
72 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
73 static int query(const ANativeWindow* window, int what, int* value);
74 static int perform(ANativeWindow* window, int operation, ...);
76 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer);
77 static int queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
78 static int lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
/frameworks/native/libs/ui/
DFramebufferNativeWindow.cpp141 const_cast<uint32_t&>(ANativeWindow::flags) = fbDev->flags; in FramebufferNativeWindow()
142 const_cast<float&>(ANativeWindow::xdpi) = fbDev->xdpi; in FramebufferNativeWindow()
143 const_cast<float&>(ANativeWindow::ydpi) = fbDev->ydpi; in FramebufferNativeWindow()
144 const_cast<int&>(ANativeWindow::minSwapInterval) = in FramebufferNativeWindow()
146 const_cast<int&>(ANativeWindow::maxSwapInterval) = in FramebufferNativeWindow()
152 ANativeWindow::setSwapInterval = setSwapInterval; in FramebufferNativeWindow()
153 ANativeWindow::dequeueBuffer = dequeueBuffer; in FramebufferNativeWindow()
154 ANativeWindow::queueBuffer = queueBuffer; in FramebufferNativeWindow()
155 ANativeWindow::query = query; in FramebufferNativeWindow()
156 ANativeWindow::perform = perform; in FramebufferNativeWindow()
[all …]
/frameworks/native/include/gui/
DSurface.h48 : public ANativeObjectBase<ANativeWindow, Surface, RefBase>
113 static int hook_cancelBuffer(ANativeWindow* window,
115 static int hook_dequeueBuffer(ANativeWindow* window,
117 static int hook_perform(ANativeWindow* window, int operation, ...);
118 static int hook_query(const ANativeWindow* window, int what, int* value);
119 static int hook_queueBuffer(ANativeWindow* window,
121 static int hook_setSwapInterval(ANativeWindow* window, int interval);
123 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window,
125 static int hook_dequeueBuffer_DEPRECATED(ANativeWindow* window,
127 static int hook_lockBuffer_DEPRECATED(ANativeWindow* window,
[all …]
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp105 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in native_window_lock()
110 static int32_t native_window_unlockAndPost(ANativeWindow* window) { in native_window_unlockAndPost()
118 sp<ANativeWindow> window = new Surface(producer, true); in android_view_TextureView_createNativeWindow()
126 ANativeWindow* nativeWindow = (ANativeWindow*) in android_view_TextureView_destroyNativeWindow()
130 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow()
155 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas()
192 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_unlockCanvasAndPost()
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp95 static status_t configureSurface(const sp<ANativeWindow>& anw, in configureSurface()
158 static status_t produceFrame(const sp<ANativeWindow>& anw, in produceFrame()
361 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow()
362 sp<ANativeWindow> anw; in getNativeWindow()
380 static sp<ANativeWindow> getNativeWindowFromTexture(JNIEnv* env, jobject surfaceTexture) { in getNativeWindowFromTexture()
381 sp<ANativeWindow> anw; in getNativeWindowFromTexture()
422 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceType()
451 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceDimens()
476 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectTextureDimens()
507 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeConfigureSurface()
[all …]
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h60 bool initialize(ANativeWindow* window);
61 void updateSurface(ANativeWindow* window);
62 void pauseSurface(ANativeWindow* window);
102 void setSurface(ANativeWindow* window);
112 sp<ANativeWindow> mNativeWindow;
DRenderProxy.h68 ANDROID_API bool initialize(const sp<ANativeWindow>& window);
69 ANDROID_API void updateSurface(const sp<ANativeWindow>& window);
70 ANDROID_API void pauseSurface(const sp<ANativeWindow>& window);
/frameworks/native/libs/gui/
DSurface.cpp47 ANativeWindow::setSwapInterval = hook_setSwapInterval; in Surface()
48 ANativeWindow::dequeueBuffer = hook_dequeueBuffer; in Surface()
49 ANativeWindow::cancelBuffer = hook_cancelBuffer; in Surface()
50 ANativeWindow::queueBuffer = hook_queueBuffer; in Surface()
51 ANativeWindow::query = hook_query; in Surface()
52 ANativeWindow::perform = hook_perform; in Surface()
54 ANativeWindow::dequeueBuffer_DEPRECATED = hook_dequeueBuffer_DEPRECATED; in Surface()
55 ANativeWindow::cancelBuffer_DEPRECATED = hook_cancelBuffer_DEPRECATED; in Surface()
56 ANativeWindow::lockBuffer_DEPRECATED = hook_lockBuffer_DEPRECATED; in Surface()
57 ANativeWindow::queueBuffer_DEPRECATED = hook_queueBuffer_DEPRECATED; in Surface()
[all …]
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h120 status_t setPreviewWindow(const sp<ANativeWindow>& buf) in setPreviewWindow()
567 static ANativeWindow *__to_anw(void *user) in __to_anw()
579 ANativeWindow *a = anw(w); in __dequeue_buffer()
598 ANativeWindow *a = anw(w); in __lock_buffer()
606 ANativeWindow *a = anw(w); in __enqueue_buffer()
614 ANativeWindow *a = anw(w); in __cancel_buffer()
621 ANativeWindow *a = anw(w); in __set_buffer_count()
629 ANativeWindow *a = anw(w); in __set_buffers_geometry()
641 ANativeWindow *a = anw(w); in __set_crop()
652 ANativeWindow *a = anw(w); in __set_timestamp()
[all …]
/frameworks/native/libs/gui/tests/
DSurface_test.cpp68 sp<ANativeWindow> anw(mSurface); in TEST_F()
79 sp<ANativeWindow> anw(mSurface); in TEST_F()
89 sp<ANativeWindow> anw(mSurface); in TEST_F()
132 sp<ANativeWindow> anw(mSurface); in TEST_F()
149 sp<ANativeWindow> anw(s); in TEST_F()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.h41 Camera3OutputStream(int id, sp<ANativeWindow> consumer,
48 Camera3OutputStream(int id, sp<ANativeWindow> consumer,
81 sp<ANativeWindow> mConsumer;
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.h46 status_t setPreviewWindow(sp<ANativeWindow> window);
109 sp<ANativeWindow> mPreviewWindow;
118 sp<ANativeWindow> mRecordingWindow;
DCallbackProcessor.h50 status_t setCallbackWindow(sp<ANativeWindow> callbackWindow);
76 sp<ANativeWindow> mCallbackWindow;
/frameworks/native/opengl/include/EGL/
Deglplatform.h88 struct ANativeWindow;
91 typedef struct ANativeWindow* EGLNativeWindowType;
/frameworks/av/media/libstagefright/include/
DSoftwareRenderer.h31 explicit SoftwareRenderer(const sp<ANativeWindow> &nativeWindow);
47 sp<ANativeWindow> mNativeWindow;
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.cpp43 ANativeWindow *getNativeWindow_() in getNativeWindow_()
85 ANativeWindow *getNativeWindow() in getNativeWindow()
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.h59 virtual status_t createStream(sp<ANativeWindow> consumer,
207 status_t connectToDevice(sp<ANativeWindow> consumer,
233 sp<ANativeWindow> mConsumerInterface;
254 static ANativeWindow* toANW(const camera2_stream_ops_t *w);
316 sp<ANativeWindow> mConsumerInterface;
/frameworks/base/media/mca/filterfw/jni/
Djni_gl_environment.cpp42 NativeWindowHandle(ANativeWindow* window) : window_(window) { in NativeWindowHandle()
62 ANativeWindow* window_;
142 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); in Java_android_filterfw_core_GLEnvironment_nativeAddSurface()
204 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight()
295 sp<ANativeWindow> window = surfaceTC; in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt37 Android supports a number of different ANativeWindow implementations that
43 supports rendering to an ANativeWindow for which the buffers are passed to
82 config may be used to create an EGLSurface from an ANativeWindow for
DEGL_ANDROID_recordable.txt37 Android supports a number of different ANativeWindow implementations that
43 rendering to an ANativeWindow that records images to a video.
80 be used to create an EGLSurface from an ANativeWindow that is a video
82 the ANativeWindow.
120 eglSwapBuffers call before queuing the rendered image to the ANativeWindow.
/frameworks/rs/driver/
DrsdAllocation.h36 struct ANativeWindow;
57 ANativeWindow *wndSurface;
69 ANativeWindow *wnd;
96 android::renderscript::Allocation *alloc, ANativeWindow *nw);
DrsdGL.h69 ANativeWindow *wndSurface;
70 ANativeWindow *currentWndSurface;

12345