Searched refs:ANativeWindow (Results 1 - 25 of 99) sorted by relevance

1234

/frameworks/native/include/android/
H A Dnative_window.h35 struct ANativeWindow;
36 typedef struct ANativeWindow ANativeWindow; typedef in typeref:struct:ANativeWindow
60 * Acquire a reference on the given ANativeWindow object. This prevents the object
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* windo
[all...]
H A Dnative_window_jni.h29 * Return the ANativeWindow associated with a Java Surface object,
31 * on the ANativeWindow that is returned; be sure to use ANativeWindow_release()
34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
H A 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/wilhelm/tests/sandbox/
H A Dnativewindow.h7 extern ANativeWindow *getNativeWindow();
H A Dnativewindow.cpp43 ANativeWindow *getNativeWindow_()
85 ANativeWindow *getNativeWindow()
/frameworks/base/native/android/
H A Dnative_window.cpp27 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) {
28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface);
35 void ANativeWindow_acquire(ANativeWindow* window) {
39 void ANativeWindow_release(ANativeWindow* window) {
43 static int32_t getWindowProp(ANativeWindow* window, int what) {
49 int32_t ANativeWindow_getWidth(ANativeWindow* window) {
53 int32_t ANativeWindow_getHeight(ANativeWindow* window) {
57 int32_t ANativeWindow_getFormat(ANativeWindow* window) {
61 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width,
77 int32_t ANativeWindow_lock(ANativeWindow* windo
[all...]
/frameworks/native/include/ui/
H A 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/include/gui/
H A DSurface.h35 * An implementation of ANativeWindow that feeds graphics buffers into a
42 * eglSwapBuffers(), which invokes ANativeWindow callbacks defined by
48 : public ANativeObjectBase<ANativeWindow, Surface, RefBase>
112 // ANativeWindow hooks
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* windo
[all...]
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp67 * In fact this is an implementation of ANativeWindow on top of
141 const_cast<uint32_t&>(ANativeWindow::flags) = fbDev->flags;
142 const_cast<float&>(ANativeWindow::xdpi) = fbDev->xdpi;
143 const_cast<float&>(ANativeWindow::ydpi) = fbDev->ydpi;
144 const_cast<int&>(ANativeWindow::minSwapInterval) =
146 const_cast<int&>(ANativeWindow::maxSwapInterval) =
152 ANativeWindow::setSwapInterval = setSwapInterval;
153 ANativeWindow::dequeueBuffer = dequeueBuffer;
154 ANativeWindow::queueBuffer = queueBuffer;
155 ANativeWindow
[all...]
/frameworks/av/include/media/stagefright/
H A DNativeWindowWrapper.h25 // Surface derives from ANativeWindow which derives from multiple
34 sp<ANativeWindow> getNativeWindow() const {
/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h31 explicit SoftwareRenderer(const sp<ANativeWindow> &nativeWindow);
47 sp<ANativeWindow> mNativeWindow;
/frameworks/native/opengl/include/EGL/
H A Deglplatform.h88 struct ANativeWindow;
91 typedef struct ANativeWindow* EGLNativeWindowType;
/frameworks/base/include/android_runtime/
H A Dandroid_graphics_SurfaceTexture.h29 extern sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(JNIEnv* env, jobject thiz);
H A Dandroid_view_Surface.h29 /* Gets the underlying ANativeWindow for a Surface. */
30 extern sp<ANativeWindow> android_view_Surface_getNativeWindow(
/frameworks/native/libs/gui/tests/
H A DFillBuffer.h35 // using the CPU. This assumes that the ANativeWindow is already configured to
39 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw);
H A DSurface_test.cpp68 sp<ANativeWindow> anw(mSurface);
79 sp<ANativeWindow> anw(mSurface);
89 sp<ANativeWindow> anw(mSurface);
132 sp<ANativeWindow> anw(mSurface);
149 sp<ANativeWindow> anw(s);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.h41 Camera3OutputStream(int id, sp<ANativeWindow> consumer,
48 Camera3OutputStream(int id, sp<ANativeWindow> consumer,
81 sp<ANativeWindow> mConsumer;
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.h68 bool initialize(ANativeWindow* window);
69 void updateSurface(ANativeWindow* window);
70 bool pauseSurface(ANativeWindow* window);
112 void setSurface(ANativeWindow* window);
122 sp<ANativeWindow> mNativeWindow;
H A DRenderProxy.h70 ANDROID_API bool initialize(const sp<ANativeWindow>& window);
71 ANDROID_API void updateSurface(const sp<ANativeWindow>& window);
72 ANDROID_API bool pauseSurface(const sp<ANativeWindow>& window);
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp105 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
110 static int32_t native_window_unlockAndPost(ANativeWindow* window) {
118 sp<ANativeWindow> window = new Surface(producer, true);
126 ANativeWindow* nativeWindow = (ANativeWindow*)
130 sp<ANativeWindow> window(nativeWindow);
155 sp<ANativeWindow> window((ANativeWindow*) nativeWindow);
192 sp<ANativeWindow> window((ANativeWindow*) nativeWindo
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.h50 status_t setCallbackWindow(sp<ANativeWindow> callbackWindow);
76 sp<ANativeWindow> mCallbackWindow;
H A DStreamingProcessor.h46 status_t setPreviewWindow(sp<ANativeWindow> window);
109 sp<ANativeWindow> mPreviewWindow;
118 sp<ANativeWindow> mRecordingWindow;
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.h44 ANativeWindow *nativeWindow);
/frameworks/native/libs/gui/
H A DSurface.cpp46 // Initialize the ANativeWindow function pointers.
47 ANativeWindow::setSwapInterval = hook_setSwapInterval;
48 ANativeWindow::dequeueBuffer = hook_dequeueBuffer;
49 ANativeWindow::cancelBuffer = hook_cancelBuffer;
50 ANativeWindow::queueBuffer = hook_queueBuffer;
51 ANativeWindow::query = hook_query;
52 ANativeWindow::perform = hook_perform;
54 ANativeWindow::dequeueBuffer_DEPRECATED = hook_dequeueBuffer_DEPRECATED;
55 ANativeWindow::cancelBuffer_DEPRECATED = hook_cancelBuffer_DEPRECATED;
56 ANativeWindow
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h119 /** Set the ANativeWindow to which preview frames are sent */
120 status_t setPreviewWindow(const sp<ANativeWindow>& buf)
567 static ANativeWindow *__to_anw(void *user)
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 *
[all...]

Completed in 828 milliseconds

1234