Searched refs:ANativeWindow (Results 1 - 25 of 81) 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/native/include/ui/
H A DFramebufferNativeWindow.h47 ANativeWindow,
68 static int setSwapInterval(ANativeWindow* window, int interval);
69 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
70 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
71 static int query(const ANativeWindow* window, int what, int* value);
72 static int perform(ANativeWindow* window, int operation, ...);
74 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer);
75 static int queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
76 static int lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
/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/gui/
H A DSurfaceTextureClient.h38 : public ANativeObjectBase<ANativeWindow, SurfaceTextureClient, RefBase>
63 // ANativeWindow hooks
64 static int hook_cancelBuffer(ANativeWindow* window,
66 static int hook_dequeueBuffer(ANativeWindow* window,
68 static int hook_perform(ANativeWindow* window, int operation, ...);
69 static int hook_query(const ANativeWindow* window, int what, int* value);
70 static int hook_queueBuffer(ANativeWindow* window,
72 static int hook_setSwapInterval(ANativeWindow* window, int interval);
74 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window,
76 static int hook_dequeueBuffer_DEPRECATED(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 // SurfaceTextureClient derives from ANativeWindow which derives from multiple
34 sp<ANativeWindow> getNativeWindow() const {
/frameworks/base/include/android_runtime/
H A Dandroid_graphics_SurfaceTexture.h28 extern sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(
H A Dandroid_view_Surface.h29 /* Gets the underlying ANativeWindow for a Surface. */
30 extern sp<ANativeWindow> android_view_Surface_getNativeWindow(
/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h32 const sp<ANativeWindow> &nativeWindow, const sp<MetaData> &meta);
47 sp<ANativeWindow> mNativeWindow;
/frameworks/native/opengl/include/EGL/
H A Deglplatform.h83 struct ANativeWindow;
86 typedef struct ANativeWindow* EGLNativeWindowType;
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.h30 // an ANativeWindow. It can apply "rendering mode" and color effects to
41 // the getTargetWindow() function to get the corresponding ANativeWindow
43 // ANativeWindow to OMXCodec::Create() so the codec can decode directly
54 NativeWindowRenderer(sp<ANativeWindow> nativeWindow, int width, int height);
76 void queueInternalBuffer(ANativeWindow* anw, MediaBuffer* buffer);
77 void queueExternalBuffer(ANativeWindow* anw, MediaBuffer* buffer,
86 sp<ANativeWindow> mNativeWindow;
149 // Returns the ANativeWindow corresponds to the SurfaceTexture.
150 ANativeWindow* getTargetWindow();
H A DPreviewRenderer.cpp52 ANativeWindow* anw = mSurface.get();
133 if ((err = mSurface->ANativeWindow::queueBuffer(mSurface.get(), mBuf, -1)) != 0) {
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp92 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
97 static int32_t native_window_unlockAndPost(ANativeWindow* window) {
105 sp<ANativeWindow> window = new SurfaceTextureClient(surfaceTexture);
113 ANativeWindow* nativeWindow = (ANativeWindow*)
117 sp<ANativeWindow> window(nativeWindow);
142 sp<ANativeWindow> window((ANativeWindow*) nativeWindow);
181 sp<ANativeWindow> window((ANativeWindow*) nativeWindo
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DStreamingProcessor.h44 status_t setPreviewWindow(sp<ANativeWindow> window);
96 sp<ANativeWindow> mPreviewWindow;
103 sp<ANativeWindow> mRecordingWindow;
H A DCallbackProcessor.h67 sp<ANativeWindow> mCallbackWindow;
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp60 sp<ANativeWindow> anw(mSurface);
71 sp<ANativeWindow> anw(mSurface);
81 sp<ANativeWindow> anw(mSurface);
127 sp<ANativeWindow> anw(mSurface);
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.h44 ANativeWindow *nativeWindow);
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp63 // Initialize the ANativeWindow function pointers.
64 ANativeWindow::setSwapInterval = hook_setSwapInterval;
65 ANativeWindow::dequeueBuffer = hook_dequeueBuffer;
66 ANativeWindow::cancelBuffer = hook_cancelBuffer;
67 ANativeWindow::queueBuffer = hook_queueBuffer;
68 ANativeWindow::query = hook_query;
69 ANativeWindow::perform = hook_perform;
71 ANativeWindow::dequeueBuffer_DEPRECATED = hook_dequeueBuffer_DEPRECATED;
72 ANativeWindow::cancelBuffer_DEPRECATED = hook_cancelBuffer_DEPRECATED;
73 ANativeWindow
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h110 /** Set the ANativeWindow to which preview frames are sent */
111 status_t setPreviewWindow(const sp<ANativeWindow>& buf)
558 static ANativeWindow *__to_anw(void *user)
570 ANativeWindow *a = anw(w);
589 ANativeWindow *a = anw(w);
596 ANativeWindow *a = anw(w);
604 ANativeWindow *a = anw(w);
611 ANativeWindow *a = anw(w);
618 ANativeWindow *a = anw(w);
626 ANativeWindow *
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h35 struct ANativeWindow;
73 const sp<ANativeWindow>& nativeWindow,
161 // ANativeWindow this display is rendering into
162 sp<ANativeWindow> mNativeWindow;
/frameworks/rs/driver/
H A DrsdGL.h69 ANativeWindow *wndSurface;
70 ANativeWindow *currentWndSurface;

Completed in 6797 milliseconds

1234